Afternoon
Very simple question I hope. If I set an out put pin to low using digitalWrite, what would happen if that output is connected directly to a 5v bus?
Dan
Afternoon
Very simple question I hope. If I set an out put pin to low using digitalWrite, what would happen if that output is connected directly to a 5v bus?
Dan
Wave bye-bye to pin
Thanks for the reply. I though that would be the case. Now if I wire in something like a 1N4007 diode to protect the pin, that would work a treat, right?
Dan
danbarnard:
Thanks for the reply. I though that would be the case. Now if I wire in something like a 1N4007 diode to protect the pin, that would work a treat, right?Dan
arduino pin will damaged
why you give 5v to output pin
I have a bread board with a momentary push button. It's connected to 0v via a 10k resistor as a pull down. Then the button sends 5v to my Arduino Uno
I also have another Arduino, a nano, that is daisy chained to the board. If the Arduino nano out put is sent high, it will go through on the breadboard to the Uno. But if the button is pressed on the breadboard it sends 5v to the Uno and the nano. I think a simple diode between the nano and the breadboard will fix the issue.
Am I correct?
Dan