All About 2n2222 Transistor and Its Circuit Diagrams
All About 2n2222 Transistor and Its Circuit Diagrams
All About 2n2222 Transistor and Its Circuit Diagrams
Circuit diagrams
FEBRUARY 6, 2017 ELECTRONICS ELECTRONIC KEYS &
LOCKS, NANOTECHNOLOGY
Description:
One 2N2222 transistor code lock system is a simplest electronic code lock system. It
consists of a relay, a transistor and some passive devices like resistors, capacitors and
switches. The circuit is simple but really efficient and works the best.
Circuit Diagram:
The circuit has only one transistor with a relay as load at its collector. A current limiting
resistor R2 is connected across the positive supply rail and base of the transistor along
with five switches (S0 to S4) in series. Other five parallel arranged switches (S5 to S9)
are connected between transistor’s base and ground. The only case when the transistor
Q1 becomes ON and the relay is activated when all the first five switches S0 to S4 are
ON and the last five i.e. S5 to S9 are OFF. The switches are arranged on the panel in a
shuffle manner and so the relay works only when the switches are ON or OFF in the
pre-described manner.
Here power supply section consists of transformer T1, capacitor C1, and bridge D1. D2
is freewheeling diode. The resistor R1 confirms to keep the transistor OFF when positive
supply rail and base are not in contact with eachother. S1 is the power switch for the
lock.
2N2907 is also a complementary general purpose PNP transistor with equal popularity.
A schematic circuit diagram is shown below in which the circles represent LEDs while
the rectangular boxes represent resistors.
Here the 6V battery is corresponding to four double batteries each of 1.5V. However to
mount the supply upto 7.5V, five such batteries are recommended.