Great video, but there is one thing I don't understand. If I got it right, you connected the negative sides of the Push-Buttons to the Ground and connected the positive side to the Arduino digital pins, and then set it to high. If I didn't miss something when you push the button you actually short the digital pin that was set to high voltage to the ground, Why it's not burning up the pin? What did I miss? Thanks for your attention.
Hi there. Per the arduino documentation, setting the value of an input pin to high will not actually set the pin to high (as it is an input, not an output). Instead, it will enable the microcontroller's integrated pull-up resistor on that pin. For example: If you have a button wired to one side to ground and on the other to arduino pin 10, you set the pin 10 to INPUT, and you set it to HIGH (thus enabling the pullup resistor), this means that the Arduino will read the pressed button as being LOW, and the unpressed button will read as HIGH (because the pullup resistor pulls the input to HIGH).
One thing I dont understand, did you connect the negative sides of the LEDs to the arduino and then used this connection as an output? how can the LEDs work if you send signals to the negative side? What did I miss? The video and the project are great, I cant wait to try it out!
So, basically, when the LED is in the off position, the Arduino is sending 5v to the negative on the LED. Since both sides have power, electricity doesn't flow through the LED. When I drop the Arduino pin low, it becomes a ground for the LED, and power flows from the 5v line, through the LED, and into the pin on the Arduino. Basically, if a pin is set high, it's + . If a pin is set low, it's -.
It's definitely in the plans. Debating if I want to switch the components up for the final version so I can save my breadboard compatible parts for prototyping, though!
I can try! You're the second person to say the code isn't working anymore in the past couple of weeks, it's possible something has changed . Whats happening?
Cool project.
It'll be interesting to see what expansion ideas people come up with.
thanks, nice project and well explained for beginners!
Haha that was so nostalgic!
excellent project, your explanation of the code was greatly appreciated
Thanks for code :) need wiring now because not so familiar with board :)
What happens if you power leds up on 10 ohms resistor
Is it safe to plug it into a wall with the plug in this kit to power it
Awesome PnP! Your sign out was awesome!!! "Button-til next time..."
Great video, but there is one thing I don't understand.
If I got it right, you connected the negative sides of the Push-Buttons to the Ground and connected the positive side to the Arduino digital pins, and then set it to high.
If I didn't miss something when you push the button you actually short the digital pin that was set to high voltage to the ground, Why it's not burning up the pin? What did I miss?
Thanks for your attention.
Hi there.
Per the arduino documentation, setting the value of an input pin to high will not actually set the pin to high (as it is an input, not an output). Instead, it will enable the microcontroller's integrated pull-up resistor on that pin.
For example:
If you have a button wired to one side to ground and on the other to arduino pin 10, you set the pin 10 to INPUT, and you set it to HIGH (thus enabling the pullup resistor), this means that the Arduino will read the pressed button as being LOW, and the unpressed button will read as HIGH (because the pullup resistor pulls the input to HIGH).
What kind of speaker did you use?
Button till next time, thanks for the video.
Power the leds without resistor
That destroys the leds
One thing I dont understand,
did you connect the negative sides of the LEDs to the arduino and then used this connection as an output? how can the LEDs work if you send signals to the negative side? What did I miss?
The video and the project are great, I cant wait to try it out!
So, basically, when the LED is in the off position, the Arduino is sending 5v to the negative on the LED. Since both sides have power, electricity doesn't flow through the LED. When I drop the Arduino pin low, it becomes a ground for the LED, and power flows from the 5v line, through the LED, and into the pin on the Arduino.
Basically, if a pin is set high, it's + . If a pin is set low, it's -.
@@PrintNPlay I get it, thank you for the explanation!
Crank the speaker, turn it up to 11! Oh wait sorry connect it to pin 11
Are are going to create a 3d printed case for it?
It's definitely in the plans. Debating if I want to switch the components up for the final version so I can save my breadboard compatible parts for prototyping, though!
Thank you so much.
Its not working? The code that is. Do you think you could help me?
I can try! You're the second person to say the code isn't working anymore in the past couple of weeks, it's possible something has changed .
Whats happening?
@@PrintNPlay its not working for me either. the code is uploaded but nothing is happening
only two light and two buttons will work but the others two lights and others two buttons wont work plz help
same
Very peculiar. Are you able to send me a picture of your setup to printnplayjay@gmail.com ?
Ok
What about 10 ohms
no link to the source code?
It's in the video description
🟦🔹️🔷️🔵💙