hi forum.
This coming winter i need to build a controller for opening and closing of windows on my greenhouse (industrial type) the gearmotors driving the mechanism has a potentiometer attached to the output shaft, i would like to monitor how much the windows are open. My question is what value should the potentiometer have to make it as simple as possible to convert the analog read to degrees, the analog read signal is being converted to a value between 0 and 1023 whould it then be the best to choose a pot ranging from 0-1000 Ohm or????
One more question, does it matter whether i choose arduino MEGA or DUE I am thinking of the 5 vs 3.3 volt?
Best regards Lillelund
Any standard pot will divide the supplied voltage proportional to it's rotation. 10K is a good choice. Lower value pots will consume more current. If the resistance is too high it will be prone to noise pickup.
Take a look at the [u]Analog Read Serial Example[/u].
Make sure you get a standard linear pot (not an "audio" or logarithmic pot).
DVDdoug:
Any standard pot will divide the supplied voltage proportional to it's rotation. 10K is a good choice. Lower value pots will consume more current. If the resistance is too high it will be prone to noise pickup.
Take a look at the [u]Analog Read Serial Example[/u].
Make sure you get a standard linear pot (not an "audio" or logarithmic pot).
thanks a lot DVDdoug, i just ordered 2 pcs ORIGINAL BOURNS 3590S-2-103L 10K OHM Potentiometer.
I will wire it with ethernet CAT6 using 3 twisted pairs individually shielded. That should keep out any noise