Monday, March 3, 2014
Accelerometer Test
We will use a Triple Axis Accelerometer Breakout - ADXL335 to detect the acceleration of the payload during its flight. The ADXL335 provides three analog voltages corresponding to acceleration in each axis, and must be powered by a voltage between 1.8V and 3.6V.
We used the setup below to test the accelerometer. We created code that would read voltages in from pins A1, A2, and A3, and ran the code on the setup. By aligning each axis in turn with g, we could find the base voltage out as well as the voltage given at 1g.
We found that the voltage regulation on the Arduino is unreliable, giving different voltages at its 5V and 3.3V out pins depending on whether USB powers it or a 9V battery. These voltages affect the voltages in from the accelerometer, and the conversion to real units , so in order to get accurate acceleration data, it will be necessary to configure the code with the final payload setup.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment