Go Down

Topic: Horizontal Sensor (Read 1 time) previous topic - next topic

Hi: New to the forum and would like help to find a simple sensor to measure horizontal level i.e.
Side to Side and Front to Back.
any suggestions from the learned members. :~

RuggedCircuits

It sounds like you are looking for an accelerometer. When still, the accelerometer gives you X, Y, and Z components of the force of gravity. So when perfectly level, Z will be 1g (well.... -1g since it's pointing down) and X/Y should be 0g. When tilted, the X/Y components will increase.

If this sounds like it would work for your application then Googling for accelerometers to work with Arduino will lead to lots of information.

--
The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons

Thanks for the suggestion. I will do some reading on accelerometers.

liudr

I made a music box on the same principle, The box uses an accelerometer to sense which side is up.

http://liudr.wordpress.com/2011/01/24/music-box/

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy