Pushbutton Flashlight

This circuit is live in Circuit Canvas. Open it to explore every part and wire, or make your own copy to change values, swap parts and build your own version. Free, right in your browser.

Press the button and the LED lights up. Let go, and it turns off. That's a flashlight! The resistor limits the current so the LED doesn't burn out. Built with parts from the Ohmify Starter Kit.

Pushbutton Flashlight Schematic

When you press the button, current flows from the battery’s plus side, through the resistor and the LED, and back to minus. The LED lights up. Let go, and the path is broken, so the light turns off.

The 470 Ω resistor limits the current so the LED doesn’t burn out. Without it, the LED would get too much current from the 9V battery and break.

Pushbutton Flashlight Parts List

BAT1
9V
D1
Red
R1
470 Ω
SW1
Pushbutton

How to Build the Pushbutton Flashlight

The red and black wires connect the battery to the power rails on the left side. The button bridges the gap from the plus rail to the resistor, and the resistor feeds the LED. The LED’s short leg (cathode) goes back to the minus rail.

Make sure the LED points the right way: the long leg connects to the resistor. If it doesn’t light up, try turning it around.

Want to make it into a “real” flashlight? Skip the breadboard and connect the parts directly with wire. Twist or solder the legs together in the same order: battery plus → button → resistor → LED long leg, and LED short leg → battery minus.

Make it your own

Every circuit here is a live project in Circuit Canvas, not just a picture. Copy this one and change a value, swap a part or move it to a stripboard: the schematic and the breadboard layout are linked, so a part added to one appears in the other.

Or start from a blank canvas and draw your own circuit, with thousands of ready-made parts.