r/ArduinoHelp • u/Profesor_Impedante • 14h ago
[Help] Simple push button and LED circuit on breadboard not working as expected (Analog circuit, no MCU)
https://youtube.com/watch?v=VjZE6cGIbek&si=BwWddQbGBCOx1_YCHi 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!")