Battery-Powered LED Control Circuit with NPN Transistor and Push Button
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is a simple LED control circuit using an NPN transistor, resistors, a push button, and a Li-ion battery. The push button controls the LED, allowing it to turn on and off. The NPN transistor acts as a switch, and the resistors are used to limit the current through the circuit.
Component List
NPN Transistor (CBE)
- Pins: collector, base, emitter
- Description: A transistor used to amplify or switch electronic signals.
Resistor (220 Ohms)
- Pins: pin1, pin2
- Description: A resistor with a resistance of 220 Ohms.
- Properties:
- Resistance: 220 Ohms
Resistor (1000 Ohms)
- Pins: pin1, pin2
- Description: A resistor with a resistance of 1000 Ohms.
- Properties:
- Resistance: 1000 Ohms
LED: Two Pin (green)
- Pins: cathode, anode
- Description: A green LED used as an indicator.
Push Button Round
- Pins: leg0, leg1
- Description: A push button used to control the circuit.
Li-ion 18650 Battery
- Pins: +, -
- Description: A rechargeable Li-ion battery.
Wiring Details
NPN Transistor (CBE)
Collector:
- Connected to pin2 of the 220 Ohm resistor
- Connected to the cathode of the green LED
Base:
- Connected to pin2 of the 1000 Ohm resistor
Emitter:
- Connected to the negative terminal of the Li-ion battery
- Connected to the anode of the green LED
Resistor (220 Ohms)
Pin1:
- Connected to the positive terminal of the Li-ion battery
- Connected to leg0 of the push button
Pin2:
- Connected to the collector of the NPN transistor
- Connected to the cathode of the green LED
Resistor (1000 Ohms)
Pin1:
- Connected to leg1 of the push button
Pin2:
- Connected to the base of the NPN transistor
LED: Two Pin (green)
Cathode:
- Connected to pin2 of the 220 Ohm resistor
- Connected to the collector of the NPN transistor
Anode:
- Connected to the emitter of the NPN transistor
- Connected to the negative terminal of the Li-ion battery
Push Button Round
Leg0:
- Connected to pin1 of the 220 Ohm resistor
- Connected to the positive terminal of the Li-ion battery
Leg1:
- Connected to pin1 of the 1000 Ohm resistor
Li-ion 18650 Battery
Positive (+):
- Connected to pin1 of the 220 Ohm resistor
- Connected to leg0 of the push button
Negative (-):
- Connected to the emitter of the NPN transistor
- Connected to the anode of the green LED
Code
There is no microcontroller code associated with this circuit.