Battery-Powered LED Control Circuit with Pushbutton and Transistor
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit consists of a power source, pushbuttons, resistors, a capacitor, a transistor, and an LED. The circuit is designed to control the LED using the pushbuttons and the transistor, with various resistors and a capacitor to manage current and voltage levels.
Component List
2x 18650 Battery Pack
- Pins: VCC, GND
- Description: Provides power to the circuit.
Pushbutton (1)
- Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
- Description: Used to control the circuit.
Pushbutton (2)
- Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
- Description: Used to control the circuit.
Resistor (10 Ohms) (1)
- Pins: pin1, pin2
- Description: Limits current in the circuit.
Resistor (10 Ohms) (2)
- Pins: pin1, pin2
- Description: Limits current in the circuit.
Resistor (220 Ohms)
- Pins: pin1, pin2
- Description: Limits current in the circuit.
Resistor (10k Ohms)
- Pins: pin1, pin2
- Description: Limits current in the circuit.
Electrolytic Capacitor (0.00047 Farads)
- Pins: +, -
- Description: Stabilizes voltage in the circuit.
NPN Transistor (EBC)
- Pins: emitter, base, collector
- Description: Acts as a switch or amplifier in the circuit.
LED: Two Pin (red)
- Pins: anode, cathode
- Description: Emits light when current flows through it.
Wiring Details
2x 18650 Battery Pack
VCC is connected to:
- Pin 2 (in) of Pushbutton (2)
- Anode of LED
GND is connected to:
-
- of Electrolytic Capacitor
- Pin 4 (out) of Pushbutton (1)
- Emitter of NPN Transistor
-
Pushbutton (1)
Pin 1 (in) is connected to:
-
- of Electrolytic Capacitor
- pin2 of Resistor (10k Ohms)
- pin1 of Resistor (10 Ohms) (1)
-
Pin 2 (in) is connected to:
- VCC of 2x 18650 Battery Pack
Pin 3 (out) is connected to:
- pin1 of Resistor (10k Ohms)
Pin 4 (out) is connected to:
- GND of 2x 18650 Battery Pack
Pushbutton (2)
Pin 1 (in) is connected to:
-
- of Electrolytic Capacitor
- pin2 of Resistor (10k Ohms)
- pin1 of Resistor (10 Ohms) (1)
-
Pin 2 (in) is connected to:
- VCC of 2x 18650 Battery Pack
Pin 3 (out) is connected to:
- pin1 of Resistor (10k Ohms)
Pin 4 (out) is connected to:
- GND of 2x 18650 Battery Pack
Resistor (10 Ohms) (1)
pin1 is connected to:
- Pin 1 (in) of Pushbutton (1)
-
- of Electrolytic Capacitor
- pin2 of Resistor (10k Ohms)
pin2 is connected to:
- Base of NPN Transistor
Resistor (10 Ohms) (2)
pin1 is connected to:
- pin2 of Resistor (220 Ohms)
pin2 is connected to:
- Cathode of LED
Resistor (220 Ohms)
pin1 is connected to:
- Collector of NPN Transistor
pin2 is connected to:
- pin1 of Resistor (10 Ohms) (2)
Resistor (10k Ohms)
pin1 is connected to:
- Pin 3 (out) of Pushbutton (2)
pin2 is connected to:
-
- of Electrolytic Capacitor
- Pin 1 (in) of Pushbutton (1)
- pin1 of Resistor (10 Ohms) (1)
-
Electrolytic Capacitor (0.00047 Farads)
+ is connected to:
- pin2 of Resistor (10k Ohms)
- Pin 1 (in) of Pushbutton (1)
- pin1 of Resistor (10 Ohms) (1)
- is connected to:
- GND of 2x 18650 Battery Pack
NPN Transistor (EBC)
Emitter is connected to:
- GND of 2x 18650 Battery Pack
Base is connected to:
- pin2 of Resistor (10 Ohms) (1)
Collector is connected to:
- pin1 of Resistor (220 Ohms)
LED: Two Pin (red)
Anode is connected to:
- VCC of 2x 18650 Battery Pack
Cathode is connected to:
- pin2 of Resistor (10 Ohms) (2)
Code
No microcontroller code is provided for this circuit.