Automotive G-Meter for MyDAQ
Congratulations! Your vehicle is about to join the ranks of automotive heavyweights, such as the Chevrolet Corvette ZR1 and the Lamborghini Reventon, as one of the only cars capable of measuring and displaying the g-forces it experiences while driving.
In order to build your automotive g-meter, you will need a few parts:
The accelerometer can be obtained online for around $25. We purchased ours from SparkFun.com. For the full specifications of the accelerometer, please reference the accompanying datasheet (adxl335.pdf, also available from SparkFun here).
Refer to Table 1 for the pin connections between the MyDAQ and the ADXL335.
Table 1 - Signal Connections
MyDAQ | ADXL335 |
AO0 | VCC |
AIGND | GND |
AI0+ | X |
AI1+ | Y |
Additionally, you will need to connect both AI0- and AI1- to AIGND on the MyDAQ.
To view the signal output on your computer, you will need to complete these easy steps.
Now mount the accelerometer and the MyDAQ on a level surface in your car, enlist a navigator to manage the laptop computer, and enjoy the drive!
ATTACHED: CODE, DATA SHEET
Hi!
This looks exactly what I'm lloking for, but I've Labview 8.6 and can't open the files... could anyone upload the code for older versions?
Thank you!
J.R