Site icon Circuit Ideas for You

Simple Electronic Code Lock Circuit

To begin with, this is easy and Simple Electronic Code Lock Circuit; to open door or box no need of key we can use special code instead.

Also, this circuit uses buttons and code to the open lock, so only correct code can open and wrong code will not work.

Circuit Working:

Simple Electronic Code Lock Circuit Diagram

Parts List:

ComponentsQuantity
Resistors
1/4 watt 1k2
Semiconductors
Transistor BC5471
Diode 1N40071
Relays1
Mini switches (ON/OFF)8

This code lock circuit is famous because design is very simple, as it uses smart code with only one main part and 8 push buttons.

How this lock circuit work?

To turn ON the relay we must press all 4 buttons S1, S2, S3, S4 together and if we press any wrong button like S5 to S8 relay will not work and lock will stay closed.

Very important: power supply voltage must be same like relay voltage, because small transistor like BC547 can take current up to 50mA.

Also, if relay needs more power then use transistor like 2N2222 it can take 0.2A.

Formulas:

Here, relay Coil Current is tool for finding how much resistor (R) needed for BJT transistor to turn ON relay coil; so lets see what is inside the formula:

R = (Us – 0.6) × hFE / Relay Coil Current

Relay coil current refers to the amount of current, measured in amperes (A), required to turn the relay ON.

How to use this formula:

Voltage Drop:

(Us – 0.6) means voltage drop at base emitter of BJT and most BJT have drop of 0.6V so we subtract it from power supply; also this give us voltage for base resistor.

Base Current Gain:

hFE show how much transistor multiply base current, like bigger hFE = less base current needed to turn ON relay.

Ohms Law:

Use formula R = V / I.

Furthermore, this will help find correct resistor R so enough current goes in base of BJT which is not too much.

In simple words:

Also, this formula help choose good resistor so transistor work correct and switches ON relay coil with right amount of current.

How to Build:

To build a Simple Electronic Code Lock Circuit follow the below steps for connections:

Identify Parts:

Make Circuit:

Button Connection (S1 to S8):

Use Resistors:

LED (Optional):

Soldering Work:

Test Circuit:

Be Safe:

Conclusion:

Overall, Simple Electronic Code Lock Circuits offer more advantages than traditional key locks because users can change the code easily, monitor who enters and connect them with other security systems.

Finally, people use these circuits in homes, offices, factories and many other places.

Exit mobile version