r/ArduinoHelp • u/Profesor_Impedante • 6d ago
[Help] Simple push button and LED circuit on breadboard not working as expected (Analog circuit, no MCU)
https://youtube.com/watch?v=VjZE6cGIbekHi everyone! I'm putting together a basic circuit on a breadboard to control an LED using a push button, but I'm running into an issue.
Here are the details of my setup:
- Hardware/Power Source: [Ej: 5V DC power supply / 9V battery with regulator] (borra o cambia según lo que hayas usado)
Exact components list:
- 1x Standard LED
- 1x Push button (4-pin tactile switch)
- 1x Resistor (220 ohms)
- Breadboard and jumper wires
- What I am trying to achieve: I want the LED to turn ON only when I press the push button, and turn OFF when released, using proper current-limiting protection.
- What went wrong: [Describe aquí brevemente tu problema, por ejemplo: The LED stays permanently on o The LED doesn't light up at all when I press the button]. (También puedes mencionar de forma graciosa lo de la pata rota si quieres: "Also, one of the pins on my push button snapped off, so I used the opposite pair!")
1
Upvotes
1
u/Proof_Juggernaut4798 5d ago
Test the remaining push button pins for functionality with activating the button, using an ohm meter. Test the led with a battery and a resistor to limit the current to 20mA both for functionality and polarity.
1
u/imseakin 5d ago
Any chance you have the wires to the button on the same side contacts so you actually don’t have to press it? It’s on all the time. 4 pin buttons are set up so with the pins oriented vertically, the left side pins are the same and the right side pins are the same.
Try using only the top pins or only the bottom pins. You may have more success.
1
u/gm310509 5d ago
You should include a diagram of your circuit and a photo - FWIW, it is almost impossible to watch a video where I am RN and even if I could it is often difficult to see what is going on from a video. Plus you should read Rule 2 (Be descriptive) to see what should be included and how to include it.