Using the ADXL202 board
This project includes code to test and stream from the 2-axis accelerometer
board. The board can stream data at up to 250Hz, +-2G.
These are inexpensive ($150USD as of 05/2003) devices with a
serial interface. The software will work with most Unix variants, and is
tested under Debian Linux, and Redhat Linux, v7.3 and 8.0.
Documentation
Here is the main code and hardware documentation This is is Doxygen-generated documentation from the source code; if you download the code you always have the docs. This is
a snapshot from 5/03/03.
Get the code
Snapshot from 5/3/03) is at this link.
Current code is available from the CVS archive, package name nees-adxl.
The lv-programs module in CVS has LabVIEW code for reading and streaming data;
see the 'daq-examples.llb' code library.
Usage Notes
The environment variable 'ADXL_PORT' determines where the code will look for
the device. If not set, the code defaults to /dev/ttyS1.
NEESgrid streaming program
Built on top of the DI-194 and fake_daq code, this streams data out into the NEESgrid via
the standard driver. Note that this introduces dependencies - you also need
to download the 'flog' messaging library, as well as the 'dataq-194' code.
If you want to see the streaming data, there are a few options. Simplest is the
'NSDS Simulate and Plot' Labview program in the 'lv-programs' archive. For this, you have to
- Run nees-di
- Run the driver, pointing it to the LV machine with --nsds_machine
- Run NSDS Simulate and plot
Alternately, you can run the real NSDS and view data via the Chef interface.
Related links
Doxygen-generated source code docs
The CVS archive instructions
Navigation links
Back to main NEESgrid page
Back to home page
Support
This work was supported primarily by the George E. Brown,
Jr. Network for Earthquake Engineering Simulation (NEES) Program of
the National Science Foundation under Award Number CMS-0117853.