Hi. I am controlling different LEDs with different buttons but I know that each button needs a source of 5 V but there is only one 5V pin on my arduino uno board. How do I make it so the 5V will go to each button. Thx!!!
Ethan
Hi. I am controlling different LEDs with different buttons but I know that each button needs a source of 5 V but there is only one 5V pin on my arduino uno board. How do I make it so the 5V will go to each button. Thx!!!
Ethan
You need more pins. You can use a small breadboard to do that.
Or if you want it more permanent, you can solder several wires to one.
See image:
But it's easier to connect the buttons to GND and use the internal pull up of the Arduino. It saves you all the extra pull downs you need now.
Huh?? Thx,
Ethan
EQOxx123:
Huh?? Thx,
Ethan
You get to Read about "INPUT_PULLUP"
https://www.arduino.cc/en/Reference/Constants
Ok. Thx @Runaway Pancake !!
Ethan
this is a really good tut on switches
Ill check it out. Thx @Hutkikz !!!
Ethan