Digital Inclinometer
Hi,
I am trying to build a digital inclinometer. My idea is to connect a linear potentiometer to ADC0831 then connect to SLED4C (or three 7segment LCD). When the voltage from the potentiometer is zero then it will display 0 (Zero) again the potentiometer will rotate, it will supply 1.5V to ADC the SLED4C will display 210.
·This is my first project with ADC0831. Would you please tell me, what are the things I should buy? Would you please tell me about the connections and the program? I know the BASIC program.
·Thanks
Shamsul
shamsul@shaw.ca
Vancouver
I am trying to build a digital inclinometer. My idea is to connect a linear potentiometer to ADC0831 then connect to SLED4C (or three 7segment LCD). When the voltage from the potentiometer is zero then it will display 0 (Zero) again the potentiometer will rotate, it will supply 1.5V to ADC the SLED4C will display 210.
·This is my first project with ADC0831. Would you please tell me, what are the things I should buy? Would you please tell me about the connections and the program? I know the BASIC program.
·Thanks
Shamsul
shamsul@shaw.ca
Vancouver
Comments
and 3 lines of code you can read inclination fast and easy. In my solar tank
project I mounted a weight on the axle of a 10k pot so it can follow gravitys
direction. Then just measure the time it takes to discharge the 0.01uF cap in
various angles and there you go you can have as many detail in angle
detection as you need. In Tank I used only two angles, those that was dangerous
to flip over trying climb a obstacle or when backing up towards a wall...
·
Post Edited (Tronic (Greece)) : 10/27/2005 1:29:32 PM GMT
that the video shows.
Click below to watch the video with the inclinometer sensor in action.
http://media.putfile.com/inclinometerdemo
Post Edited (Tronic (Greece)) : 10/27/2005 1:51:20 PM GMT
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
Product web site: www.sxvm.com
Available now... SX-Video OSD module $59.95 www.sxvm.com
Life is NOT a box of chocolates.
Life is a trip, and 99% of the time you get where your headed.
·