I am trying to convert the signal from digital pin 2 on my Uno to 3.3V. I set up a voltage divider with 3 x 1000 ohm resistors. When connected to ground and 5V the divider circuit generates 3.3V correctly, with a calculated input current of 1.7mA. However I connect it to a digital pin, the digital pin voltage drops from 4.8V to .37V. I thought the digital pins were to support 40mA, I was assuming 40mA at the 5V supply voltage. Is my Uno malfunctioning?
Thanks
-
Sure you got the pin set up as an output and have written a high/1 to it? (have to ask). What's on the output of the voltage divider - i.e. between the resistors? Something with a high/low resistance/impedance?jDo– jDo2016年04月11日 00:23:44 +00:00Commented Apr 11, 2016 at 0:23
-
Just figured out I didn't have the pin mode set, it works fine now, thanks.perigalacticon– perigalacticon2016年04月11日 00:41:56 +00:00Commented Apr 11, 2016 at 0:41
1 Answer 1
Just figured out I didn't have the pin mode set, it works fine now, thanks.