• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

New Projects | Privacy Policy | About us | Contact | Disclaimer | Copyright | Videos 

You are here: Home / Mini Projects / Simplest Combination Lock Circuit Explained

Simplest Combination Lock Circuit Explained

Last Updated on February 3, 2023 by Swagatam 14 Comments

A electronic combination lock is a device which is designed to activate an electrical solenoid locking system whenever the correct combination of numbers are entered into an attached keypad.

To build this type of electronic combination lock, normally an electronic circuit with a keypad is used.

In the design explained in this article, however, no complex electronic circuits or ICs or keypads are used, rather the system uses a few mechanical rotary switches, and a cheap solenoid, and that's all is needed to build this cheap yet very effective simplest combination lock circuit.

Simple Combination Lock

The basic structure exhibited in most combination locks is based on the simple design as shown in the following figure.

caution electricity can be dangerous

This requires just three ten-way rotary switches arranged in such a manner that if the right combination is entered on them, they will connect electricity to the relay or solenoid (the code being 6-4-5 in this case).

This simple circuit is rarely used in reality since adjusting the switches through all 1,000 potential combinations (0-0-0 to 9-9-9 inclusive) in a rational manner takes just a few seconds.

Combination Lock with Delay

One of the simplest and most effective solutions is to incorporate a delay circuit into the device as shown in the following figure, which prevents power from being delivered to the solenoid or relay until the proper combination has been engaged for a few seconds.

Working through all of the available combinations hastily becomes ineffective at "cracking" the system because the delay circuit prevents the device from reacting even when the proper combination is held for a short instant.

Whoever attempting to "hack" the device is unlikely to succeed unless they are aware of the delay circuit and are willing to spend a significant amount of time figuring out the proper combination.

A time delay circuit dependent on FET semiconductor Q1 is included in the following circuit. C1 will be discharged when the right combination of SW1 to SW3 is adjusted and power is applied to the circuit, providing Q1 zero gate bias. As a result, Q1 is turned off, and no considerable current is sent to the relay or solenoid that serves as its drain load.

C1 charges gradually through R1, after around 4 seconds, the charge voltage on C1 is high enough to bias Q1 into conduction and turn on the relay or solenoid.

When the circuit is reset, R2 discharges C1, allowing it to immediately resume normal operation. The highest gate voltage of Q1 is limited by R2 to around half the supply voltage, however this is more than enough to bias the device hard into conduction and is of no practical significance.

D1 prevents probable harm to Q1 by suppressing the strong back EMF produced across the relay or solenoid when it goes off.

Solenoid

The solenoid can be any spring loaded type, with a shaft that would stretch outward in the absence of power supply, and pull inside as soon as power is supplied to it.

One popular type with matching specifications is shown in the following image.

Rotary Switches

The 3 rotary switches shown in the above diagrams can be any ordinary 11 position rotary switch, such as the one shown in the image below:

Applications

The simple combination lock explained can be effectively used as a fail-proof security lock in various applications such as, table drawers, jewelry box, home doors, safe doors etc.

The code can be changed anytime simply by changing the wire positions across the 3 rotary switch contacts.

Simple Two Button Electronic Solenoid Lock Circuit

In this simple electronic solenoid lock circuit, the solenoid lock will unlock only when the S1 and S2 switches are pressed simultaneously.

Initially when power is switched ON, the situation will be like this:

Input of U1a being connected to ground, its output will be high. This will cause the U1b output to be low.

With U1b output low, U1c output will be high, which will cause U1d output to be low.

With U1d output low, the MOSFET will be turned OFF.

As long as the MOSFET is OFF the solenoid lock shaft will be projected outward, which will enable its locking feature. Thus anything which needs to be locked will remain locked in this situation.

Now, if S1 and S2 are pressed simultaneously, U1a inputs will go high together, causing its output to go low.

This will cause U1b output to go high, causing U1c output to go low. When U1c output goes low, it will cause U1d output to go high.

When U1d output goes high, it will activate the MOSFET and the solenoid latch. The solenoid latch shaft will withdraw inward causing the lock to open.

In this way the solenoid can be opened by simultaneously pressing S1 and S2 together.

C3 and R7 decides for how long the solenoid will remain in the open condition, until it restores to its original locking condition.

You'll also like:

  • 1.  Remote Control Infrared Tester Circuit
  • 2.  SCR Applications Circuits
  • 3.  Car Tank Water Sensor Circuit
  • 4.  IC 555 Based Simple Digital Stopwatch Circuit
  • 5.  Designing Simple Power Supply Circuits
  • 6.  Simple FM Radio Circuit Using a Single Transistor

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

Have Questions? Please Comment below to Solve your Queries! Comments must be Related to the above Topic!!

Subscribe
Notify of
14 Comments
Newest
Oldest
Inline Feedbacks
View all comments

Primary Sidebar

Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (52)
  • 4060 IC Circuits (26)
  • 555 IC Circuits (99)
  • 741 IC Circuits (20)
  • Arduino Engineering Projects (83)
  • Audio and Amplifier Projects (115)
  • Battery Chargers (83)
  • Car and Motorcycle (94)
  • Datasheets (73)
  • Decorative Lighting (Diwali, Christmas) (33)
  • Electronic Components (101)
  • Electronic Devices and Circuit Theory (36)
  • Electronics Tutorial (120)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Fun Projects (13)
  • GSM Projects (9)
  • Health Related (20)
  • Heater Controllers (29)
  • Home Electrical Circuits (103)
  • How to Articles (20)
  • Incubator Related (6)
  • Industrial Electronics (28)
  • Infrared (IR) (40)
  • Inverter Circuits (98)
  • Laser Projects (12)
  • LED and Light Effect (93)
  • LM317/LM338 (21)
  • LM3915 IC (25)
  • Meters and Testers (66)
  • Mini Projects (149)
  • Motor Controller (67)
  • MPPT (7)
  • Oscillator Circuits (26)
  • PIR (Passive Infrared) (8)
  • Power Electronics (34)
  • Power Supply Circuits (79)
  • Radio Circuits (10)
  • Remote Control (48)
  • Security and Alarm (62)
  • Sensors and Detectors (121)
  • SG3525 IC (5)
  • Simple Circuits (75)
  • SMPS (29)
  • Solar Controllers (61)
  • Timer and Delay Relay (53)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (41)
  • Ultrasonic Projects (16)
  • Water Level Controller (45)

Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator

© 2023 · Swagatam Innovations

wpDiscuz