Transistor Toggle Switch Single-Button Latch Circuit with 2N2222 or BC547
Автор: Electricum
Загружено: 2026-03-14
Просмотров: 22
Описание:
The Components
Breadboard (Half-size is perfect).
NPN Transistor (The classic 2N2222 or BC547 are perfect for this).
LED (Any color, but a bright white or blue one makes the effect more obvious).
Resistor 1 (R1 - Base Resistor): 10k Ohm (Brown, Black, Orange).
Resistor 2 (R2 - LED Resistor): 220 Ohm or 330 Ohm (Red, Red, Brown or Orange, Orange, Brown).
Push Button (Momentary switch).
Jumper Wires (Solid core 22 AWG wire is best).
Power Source: 3x AA Batteries in a holder (4.5V) or a 5V power source. Do not use a 9V battery for this simple circuit unless you recalculate the resistor values.
________________________________________
2. Understanding the Pins
Hold the transistor with the flat side facing you. The pins are:
Left: Emitter
Middle: Base
Right: Collector
(For a BC547, the pinout is Emitter, Base, Collector - if the flat side is facing you.)
3. The Schematic
Here is the circuit you are building. Think of it as two separate loops:
The Control Loop (Base): Battery (+) → Button → Base Resistor → Base → Emitter → Battery (-).
The Powered Loop (Collector): Battery (+) → LED → LED Resistor → Collector → Emitter → Battery (-).
4. Step-by-Step Build Instructions
Step 1: Place the Transistor
Place the transistor across the middle gap of the breadboard. If the flat side is facing you, the pins should be in three separate rows (e.g., E in row 15, B in row 16, C in row 17). Note which row is which.
Step 2: Connect the Emitter to Ground
Run a jumper wire from the Emitter pin row to the Blue (-) rail on the breadboard.
Step 3: The LED Circuit (Collector Side)
Place the LED on the board. The long leg (Anode) goes into a free row. The short leg (Cathode) goes into another free row.
Connect the Cathode (short leg) of the LED to the Collector pin of the transistor using a wire.
Place the 220 Ohm Resistor (R2) . Connect one end to the Anode (long leg) of the LED.
Connect the other end of that resistor to the Red (+) rail on the breadboard.
Step 4: The Control Circuit (Base Side)
Place the Push Button on the board (it usually straddles the middle gap).
Connect one leg of the button to the Red (+) rail.
Connect the other leg of the button (on the other side of the gap) to a free row.
Place the 10k Ohm Resistor (R1) . Connect one end to that same row (connected to the button).
Connect the other end of the 10k resistor to the Base pin of the transistor.
Step 5: Power
Connect the Red (+) rail to the positive terminal of your battery (e.g., 4.5V from 3 AAs).
Connect the Blue (-) rail to the negative terminal of your battery.
5. How It Works & The "Aha!" Moment
Initial State: When you first connect the power, the LED is OFF. Even though the battery is connected to the LED and the transistor's Collector, the path to ground is "blocked" by the transistor (like an open switch).
Press the Button:
When you press the button, a tiny amount of current (limited by the 10k resistor) flows from the battery, through the button, through the resistor, and into the Base of the transistor.
This "Base current" activates the transistor. It closes the switch between the Collector and the Emitter.
Now, current can flow from the battery (+), through the LED, through the resistor, down through the transistor (Collector → Emitter), and to ground.
The LED lights up brightly!
Release the Button:
The Base current stops.
The transistor "switch" opens again.
The path to ground is blocked.
The LED turns off.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: