Instructables

3 Axis Arduino Accelerometer / Inclinometer (Tilt / Roll / Yaw)

Picture of 3 Axis Arduino Accelerometer / Inclinometer (Tilt / Roll / Yaw)
bma180.jpg
From the minds at http://arduinotronics.blogspot.com/

Years ago I saw a neat dash gadget for a Jeep that had two pictures of a Jeep on the unit. As you drove, the two pictures would move, showing tilt and roll angles, with the idea it would help prevent you from tipping over when driving off road.

I received a BMA180 Accelerometer, and decided to build an Arduino version, maybe eventually displaying graphics on a LCD screen. For now I want to get the unit talking to the Arduino, displaying G forces in 3 dimensions:

Tilt (front to back, or X)
Roll (side to side, or Y)
Yaw (pivoting as in a skid, or Z)


 
Remove these adsRemove these ads by Signing Up

Step 1: Connecting the Breakout Board

Picture of Connecting the Breakout Board
Connect the breakout board as diagrammed. Although the BMA180 requires a 3.3v input, the TWI interface (SCK/SDI) is 5v logic tolerant.
madhavdivya3 months ago

Isn't the parameters measured by an accelerometer different from an inclinometer ? Acceleration is m/s2 while inclination is deg ? Am I missing something?

sspence (author)  madhavdivya3 months ago
There is a simple conversion, which I did not document yet, as I got sidetracked on other projects. See http://wizmoz.blogspot.com/2013/01/simple-accelerometer-data-conversion-to.html
PaleoDan10 months ago
I love this idea but this goes way outside my DIY comfort zone... If you ever need someone to test a prototype, my Jeep and I would like to volunteer! Great idea!
sspence (author)  PaleoDan10 months ago
we will see if we can do this ...
PaleoDan sspence10 months ago

Please keep me posted on the progress

sspence (author)  PaleoDan10 months ago
I'll try to get back to this project. So many projects, so little time / money.
Phil B1 year ago
Could this be used to make a pedometer? I am just curious. At present I have a smart phone and downloaded a free pedometer application that seems to work pretty well. Perhaps another application for this would be for the person who needs to haul things that could spill, like water in an open top tank. Perhaps he knows the water will not spill over the side of the tank if he accelerates at 1.5 feet per second per second or less. Having a visual scale of his acceleration would eliminate the guesswork.
sspence (author)  Phil B1 year ago
It's a 3 axis accelerometer, displaying varying g-forces, so you could use those numbers anyway you can think of.