Inclinometer on Arduino

    Newer Older

    Quick implementation of an inclinometer with a 3 axis accelerometer on Arduino. It's a 3g model, which is a bit of overkill for this application.

    I'll combine this with the electronic compass to compensate for inclination AND get an absolute heading measurement. I don't think I'll need the gyros.

    I've since combined this with my Arduino-to-RC-Transmitter hack to control two servos remotely based on the inclination of the Arduino. Aim? Head motion tracking to pan a camera remotely.

    dam, philwarner, klevo!, and 7 other people added this photo to their favorites.

    1. kd1s 91 months ago | reply

      Overkill doesn't matter. AS long as it performs admirably you're golden. Besides, this is a prototype right? You can always port it to something a little less robust. That reminds me, I have to order an Arduino.

    2. syvwlch 91 months ago | reply

      I agree. I was worried that I wouldn't have enough resolution with one g to measure, but it seems to work fine.

      With one of those tiny Arduinos, this could be made really small.

    3. primaldivine 52 months ago | reply

      hi syvich.. I am teaching myself arduino hacks. I need to attach an accelerometer on my duino. What I really need to measure is the incline angle.... (but I would use the accelerometer data to do that right?)... my question is what accelerometer brand might you recommend?
      ta! fascinating :)

    keyboard shortcuts: previous photo next photo L view in light box F favorite < scroll film strip left > scroll film strip right ? show all shortcuts