Go Down

Topic: Connecting arduino uno 5v output directly to digital i/o? (Read 1 time) previous topic - next topic


Hey I'm just starting with the arduino uno and electronics in general, so I just have a simple question to ask.

Can I connect the arduino uno 5v output through a button directly to a digital i/o without ruining the board? - Or do I need to have a resistance in between? If so how much resistance is needed?

Thanks in advance



Hi Jesper,

Welcome in Arduino land.

Please take some time to go throught the tutorial section like - http://arduino.cc/en/Tutorial/Button - as there is a lot to learn. IN a few days you will learn a lot, and although the sketches may seem simple there is a lot of know how in them.
(you will find the answer to your question in the above link)

Another site with good tutorials is ladyada - http://www.ladyada.net/learn/arduino/ -

For more know how about electronics - http://openbookproject.net/electricCircuits/ -

Have fun, and if there are questions just let us know.

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)


Okay basically they do the same thing as I have done - except the placement of the pulldown - which I have placed at the same leg as the 5v is connected to and then to ground. But that shouldn't make a difference?


But that shouldn't make a difference?

Yes that makes all the difference with out the pull down it will simply not work. The input will float:-


Hmm okay - makes sense. So just to be sure, I should have a pulldown on both my outputs and inputs, and not only my inputs?



Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131