PDA

View Full Version : Arduino and rotary encoder and resistors.



Qwseyvnd
05-11-2014, 08:27 AM
Hi to everyone!! Here is a excellent weather.

I have been tried in Arduino Forum without big success, so I trying here.

I have an Arduino MEGA2560, 4 rotary encoder for experiment use; in final edition, I will have 20 pieces to use. I want to have 19 resistors to connect them chains from #1 to #20 to just ONE analog pin which is on MEGA2560.
I know that this card operates at 5 Volt and each analog pin can tacle up to 40 mA; thus, that is 125 Ohms. Is that correct, 6,2 Ohms multiply with 19 to getting 117,8 Ohms?
How much power do I need?
In Digikey, I see that I find just, JUST, one resistor with 2 watts and the tolerance is +-1%; so, I need 38 watts ?

Perik
05-11-2014, 02:15 PM
Hi Qwseyvnd

As a proposal – instead of spam all the forums with more or less the same
questions – why not use your own building thread:
http://www.mycockpit.org/forums/showthread.php?t=27309
We all will see your new posts anyway and you’ll get your answer if
anyone are able to decode what you are up to ;).
I will at least try to help even if I don’t understand….