Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

Electronic Lock using Switches

By Ashutosh Bhatt

Many electronic code lock are available in market some using microcontroller and many more using discrete electronics components. But because of large components it uses, they are bulky and cannot be handy to use. 

So we have described a circuit which uses commonly available switches and a alarm to protect your almirah and other important documents from theft. In this circuit lock will only be open when correct sequence of switches is pressed, otherwise it will on the alarm to alert you that somebody has tried to enter into a restricted area.
Main advantage of this circuit is it is very simple, easy to assemble and small in size so that you can easily carry. You can also increase the number of switches to increase the complicity of the circuit. And in ideal case it does not draw any current, giving you long battery life.

[[wysiwyg_imageupload:11096:]]

Fig. 1: Prortoytpe of Electronic Lock using Switches Circuit on Breadboard


Assemble the circuit properly. The switch we are using is push to make switch means when you press the switch it conducts and when you release the button switch become disconnected. In our circuit correct code is S1, S3, S5, S8 by pressing this

Fig. 2: Protoytpe of Electronic Lock using Switches Circuit on Breadboard

code lock will become open and if any other switch is press in between than we will get an alarm.

As you can see from circuit diagram when you press the switch S1 whose one end is connected with power supply and another end is connected with switch S3 so when you press the switch S1 power supply from switch S1 is provided to switch S3 and then to switch S5 and then to S8 if correct code is pressed.

Assemble the circuit properly. The switch we are using is push to make switch means when you press the switch it conducts and when you release the button switch become disconnected. In our circuit correct code is S1, S3, S5, S8 by pressing this code lock will become open and if any other switch is press in between than we will get an alarm.

As you can see from circuit diagram when you press the switch S1 whose one end is connected with power supply and another end is connected with switch S3 so when you press the switch S1 power supply from switch S1 is provided to switch S3 and then to switch S5 and then to S8 if correct code is pressed. Now through switch S8 we have connected a relay whose one end is ground and another end is getting supply so relay get energies and you can connect your lock through solenoid so that when correct sequence is pressed door will become open for some time.
Now any other switch like S2, S4, S6,S7 is pressed whose one is connected with power supply and buzzer and another is connected to ground so whenever you press any of this switch buzzer will get power supply and start sounding indicates you that wrong code has been pressed. You can change the code according to you.  
Before mounting the switches verify that all are working fine or not. This can be done with the help of multimeter. Just set you multimeter in the continuity test mode and put both the leads of multimeter on both the leads of switch (do not worry about polarity) initially no sound will come. Now press the switch, sound should come if this phenomenon is occurring than your switch is good otherwise it is faulty. You can also use on/off switch in place of push to on switch.

Circuit Diagrams

Electronic-lock-using-switches

Project Components

  • Piezo Buzzer
  • Relay Switch

Project Video


Filed Under: Electronic Projects
Tagged With: electronics, lock, switches
 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • What are the battery-selection criteria for low-power design?
  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver
  • Introduction to Brain Waves & its Types (Part 1/13)

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • Slope compensation ramp calculation for UCC38084
  • Parts storage / inventory best practices and organization
  • Unusual gap shape of ETD59 ferrite core?
  • Vco cadencd
  • WH-LTE-7S1 GSM module and SIM card problem

RSS Electro-Tech-Online.com Discussions

  • HV Diodes
  • intro to PI
  • surge arresters
  • NOR gate oscillator in LTspice not working
  • Very logical explanation on low calue C3
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering