Triple Axis Accelerometer ADXL335 with ARDUINO
G-Force, lets measure it in all three axis. Adhira Technologies is proud to bring out our very own avatar of Triple Axis Accelerometer break-out board. Our leap into MAKE IN INDIA campaign. A very simple to use plug and play breakout, small foot print and low power. This triple axis accelerometer is based on ADXL335 MEMS accelerometer.
Accelerometer is a device to measure G-Force in a direction, triple axis will give freedom to measure in all three axis X, Y and Z. when you place a accelerometer in an axis it will measure 9.81 m/s2 constantly and when its moved in an axis against G, values vary. When there is a free fall and orbiting, the device measures 0. So now you got the logic of how to interpret the values of accelerometer.
Accelerometer is used in many stabilizing application, like flight stabilization, robotic applications, drone stabilization, Mobile application for games and orientation based. So now you got how this would help in stability implementation, imagine a drone maintaining its flight and speed in the air, for this you have to control Z axis and X axis of the drone and actuate rotor speed accordingly to oppose the G force.
Please click here to download the code ADXL CODE .
Parts Required for the Demo
- Arduino Board (Uno used here)
- ADXL3xx break out board
- Connecting wires
- USB cable for programming
- Arduino IDE
- Processing IDE
Compile and upload the Arduino sketch to the Arduino UNO board, make the connections as shown below.
Now open the processing sketch that is attached with the blog and run it, you can see the graph of X,Y and Z axis data that are plotted as below
Detailed step by step procedure can also be followed here.