0

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

asked Apr 11, 2016 at 0:09
2
  • 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? Commented Apr 11, 2016 at 0:23
  • Just figured out I didn't have the pin mode set, it works fine now, thanks. Commented Apr 11, 2016 at 0:41

1 Answer 1

1

Just figured out I didn't have the pin mode set, it works fine now, thanks.

answered Apr 11, 2016 at 0:42

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.