SlideShare a Scribd company logo
1 of 22
ELECTRONIC CODE LOCK DEVICE
CIRCUIT DESIGN OF ELECTRONIC CODE LOCK
INTRODUCTION



o Access control system that allows only authorized persons to access a
   restricted area


o Allows the user to unlock the device with a password.


o The major components include a keypad, LCD and the controller P89V51
   which belongs to the 8051 series of microcontrollers.


o User can also set his password to ensure better protection.
   Can be adapted to any electronic gadget which needs to be protected
    from unauthorised persons/access.



   Responds only to the right sequence of four digits that are keyed in
    remotely.



   If a wrong key is touched, it resets the lock.
Block Diagram
COMPONENTS USED IN THE DEVICE


   LCD 16*2
   Resistors 10k*12, 1k*10, 1.5k
   Crystal 11.0592Hz
   Capacitors 33pF*2, 10µF, 0.1µF*3
   IC7805
   Battery power 9V
   Switches
   LED‟s
   Connecting wires
   Microcontroller P89V51
MICROCONTROLLER P89V51


   16/32/64 kB flash and 1024 B of data RAM



   A key feature of the P89V51 is its X2 mode option.



   The flash program memory supports both parallel programming and
    in serial ISP



   Supports 12-clock (default) or 6-clock mode selection via software
    or ISP
Features


   80C51 CPU

   5 V operating voltage from 0 MHz to 40 MHz

   16/32/64 kB of on-chip flash user code memory

   PCA (programmable counter array) with capture/compare functions

   Four 8-bit I/O ports with three high-current port 1 pins

   Three 16-bit timers/counters
BLOCK DIAGRAM OF MICROCONTROLLER


PIN DIAGRAM


   Vcc-Pin 40 provides supply voltage to the chip. The voltage source
    is +5 V.

   GND- Pin 20 is the ground.

   RST-Pin 9 is the reset pin. It is an input and is active high (normally
    low).

   EA pin is connected to the Vcc and connected to pin no. 31.

   PSEN is “program store enable.” It is the read strobe to external
    program memory.

   ALE is output pin and is active high. When connecting a
    microcontroller to external memory, port 0 provides both address
    and data.
I/O PORT PINS AND THEIR FUNCTIONS


PORT 0:an 8-bit open drain bidirectional I/O port. It is the multiplexed
  low-order address and data bus



PORT 1:an 8-bit bidirectional I/O port. P1.5, P1.6, P1.7 have high
  current drive of 16mA



PORT 2:8-bit bidirectional I/O port, it receives control signals and a
  partial of high-order address bits during the programming
LIQUID CRYSTAL DISPLAY


o   Flat panel display, electronic visual display, video display that uses
    the light modulating properties of liquid crystals .
APPLICATIONS

   Used in computer monitors, television, instrument panels, aircraft
    cockpit displays, signage, etc

   an electronically modulated optical device made up of any number
    of segments filled with liquid crystals and arrayed in front of a light
    source or reflector to produce images in monochrome

   Also used in video players, gaming devices, clocks, watches,
    calculators, and telephones and have wide range of screen sizes
LCD Pin Description




16
     16         Gnd
15
     15         Vcc
14
     14         D7
13
     13         D6
12
     12         D5
11
     11         D4
10
     10         D3
 9
     9          D2
 8
     8          D1
     7          D0




                                    3
 7
 6
     6          E
 5
     5          R/W
 4
     4          RS
 3
     3          Contrast        2
 2
     2          Vcc
 1
     1          Gnd


                                    1
POWER SUPPLY


COMPONENTS USED
   The transformer steps down the 220 V a/c. into 12 V a/c


   A rectifier transforms ac into dc by limiting. The output
    resulting from a rectifier is a pulsating D.C. voltage

   The ripple of the D.C. voltage is smoothened using a filter
    capacitor

    The voltage regulator regulates the supply if the supply if the
    line voltage increases or decreases
WORKING OF PROJECT
   As the program starts, string „Enter Password‟ is displayed on LCD
   After the four digits are entered, the user is prompted to „Confirm
    Password‟
   If the passwords do not match, a message is displayed to indicate
    „Wrong Password‟
   Again the keypad is scanned for pressed keys and corresponding
    digits are identified
   If all the four digits match with set password, the lock output pin
    goes high
   The system gets locked if more than three attempts are made with
    wrong password to open the electronic lock
   The high output of the logic circuit enables the AND gate
APPLICATIONS:


   used to automate the door locking process, so the user need not to
    carry the door lock keys

   used in Mobile phones for security purposes

   Used in Banks lockers

   used in applications like Lift, Telephone Locking, Refrigerators etc
RESULT AND CONCLUSION


   Result:-all electronics devices plays very important role in
    Programming and in Electronics Department



   Conclusion:-All electronics devices can perform many functions
    using interfacing and programming with Embedded C language



   Future scope:-In future, the improved version of Microcontrollers
    will be more useful.In serial communication and Robotics,
    everywhere we need Microcontrollers to store program in it
REFERENCES


   www.electronicsforyou.com

   www.encyclopedia.com

   www.wikipedia.com
Electronic code lock device

More Related Content

What's hot

water level indicator alarm
water level indicator alarmwater level indicator alarm
water level indicator alarm
Anish Anand
 
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENTSTREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
m sivareddy
 

What's hot (20)

Water Level Indicator Project Presentation
Water Level Indicator Project PresentationWater Level Indicator Project Presentation
Water Level Indicator Project Presentation
 
Optical satellite communication
Optical satellite communicationOptical satellite communication
Optical satellite communication
 
Automatic street light
Automatic street lightAutomatic street light
Automatic street light
 
water level indicator alarm
water level indicator alarmwater level indicator alarm
water level indicator alarm
 
Iot based smart helmet used in mining industry
Iot based smart helmet used in mining industryIot based smart helmet used in mining industry
Iot based smart helmet used in mining industry
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
Waterlevelindicator
WaterlevelindicatorWaterlevelindicator
Waterlevelindicator
 
Password based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final reportPassword based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final report
 
Water Level Indicator with Alarm
Water Level Indicator with AlarmWater Level Indicator with Alarm
Water Level Indicator with Alarm
 
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENTSTREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
 
Water level indicator
Water level indicator Water level indicator
Water level indicator
 
Smart Blind Stick using Arduino
Smart Blind Stick using ArduinoSmart Blind Stick using Arduino
Smart Blind Stick using Arduino
 
Rain Alarm Using 555 Timer IC with Report
Rain Alarm Using 555 Timer IC with ReportRain Alarm Using 555 Timer IC with Report
Rain Alarm Using 555 Timer IC with Report
 
Automatic Room Lights Controller Using Arduino & PIR Sensor
Automatic Room Lights Controller Using Arduino & PIR SensorAutomatic Room Lights Controller Using Arduino & PIR Sensor
Automatic Room Lights Controller Using Arduino & PIR Sensor
 
Object counter
Object counterObject counter
Object counter
 
Arduino based health monitoring system
Arduino based health monitoring systemArduino based health monitoring system
Arduino based health monitoring system
 
Touchless touch screen
Touchless touch screenTouchless touch screen
Touchless touch screen
 
Automatic control of street light using LDR
Automatic control of street light using LDRAutomatic control of street light using LDR
Automatic control of street light using LDR
 
Smart Blind stick by using arduino uno and sensor
 Smart Blind stick  by using arduino  uno  and sensor Smart Blind stick  by using arduino  uno  and sensor
Smart Blind stick by using arduino uno and sensor
 
Automatic street light
Automatic street lightAutomatic street light
Automatic street light
 

Similar to Electronic code lock device

Micro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeMicro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL Code
Sunil Kumar R
 
microcontroller and embedded system
microcontroller and embedded systemmicrocontroller and embedded system
microcontroller and embedded system
pradeep rana
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfid
Saurabh Uniyal
 
Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Box
ncct
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)
Chintan Patel
 
MPC of TWT based Transmitter
MPC of TWT based TransmitterMPC of TWT based Transmitter
MPC of TWT based Transmitter
Abhishek Sutrave
 

Similar to Electronic code lock device (20)

Micro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeMicro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL Code
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
 
microcontroller and embedded system
microcontroller and embedded systemmicrocontroller and embedded system
microcontroller and embedded system
 
TV Remote Operated Domestic Appliances Control
TV Remote Operated Domestic Appliances ControlTV Remote Operated Domestic Appliances Control
TV Remote Operated Domestic Appliances Control
 
P89v51rd2
P89v51rd2P89v51rd2
P89v51rd2
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfid
 
Bluetooth based home appliances control
Bluetooth based home appliances controlBluetooth based home appliances control
Bluetooth based home appliances control
 
embedded system
embedded systemembedded system
embedded system
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
89 v51rd2bn
89 v51rd2bn89 v51rd2bn
89 v51rd2bn
 
Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Box
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROL
 
Continuous Liquid Level Controller
Continuous Liquid Level ControllerContinuous Liquid Level Controller
Continuous Liquid Level Controller
 
Digital voltmeter using 89c51 microcontroller
Digital voltmeter using 89c51 microcontrollerDigital voltmeter using 89c51 microcontroller
Digital voltmeter using 89c51 microcontroller
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project report
 
Report on Embedded Based Home security system
Report on Embedded Based Home security systemReport on Embedded Based Home security system
Report on Embedded Based Home security system
 
MPC of TWT based Transmitter
MPC of TWT based TransmitterMPC of TWT based Transmitter
MPC of TWT based Transmitter
 
1-AB Tech 2011 for printing.pdf
1-AB Tech 2011 for printing.pdf1-AB Tech 2011 for printing.pdf
1-AB Tech 2011 for printing.pdf
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 

Electronic code lock device

  • 2. CIRCUIT DESIGN OF ELECTRONIC CODE LOCK
  • 3. INTRODUCTION o Access control system that allows only authorized persons to access a restricted area o Allows the user to unlock the device with a password. o The major components include a keypad, LCD and the controller P89V51 which belongs to the 8051 series of microcontrollers. o User can also set his password to ensure better protection.
  • 4. Can be adapted to any electronic gadget which needs to be protected from unauthorised persons/access.  Responds only to the right sequence of four digits that are keyed in remotely.  If a wrong key is touched, it resets the lock.
  • 6. COMPONENTS USED IN THE DEVICE  LCD 16*2  Resistors 10k*12, 1k*10, 1.5k  Crystal 11.0592Hz  Capacitors 33pF*2, 10µF, 0.1µF*3  IC7805  Battery power 9V  Switches  LED‟s  Connecting wires  Microcontroller P89V51
  • 7. MICROCONTROLLER P89V51  16/32/64 kB flash and 1024 B of data RAM  A key feature of the P89V51 is its X2 mode option.  The flash program memory supports both parallel programming and in serial ISP  Supports 12-clock (default) or 6-clock mode selection via software or ISP
  • 8. Features  80C51 CPU  5 V operating voltage from 0 MHz to 40 MHz  16/32/64 kB of on-chip flash user code memory  PCA (programmable counter array) with capture/compare functions  Four 8-bit I/O ports with three high-current port 1 pins  Three 16-bit timers/counters
  • 9. BLOCK DIAGRAM OF MICROCONTROLLER 
  • 11. Vcc-Pin 40 provides supply voltage to the chip. The voltage source is +5 V.  GND- Pin 20 is the ground.  RST-Pin 9 is the reset pin. It is an input and is active high (normally low).  EA pin is connected to the Vcc and connected to pin no. 31.  PSEN is “program store enable.” It is the read strobe to external program memory.  ALE is output pin and is active high. When connecting a microcontroller to external memory, port 0 provides both address and data.
  • 12. I/O PORT PINS AND THEIR FUNCTIONS PORT 0:an 8-bit open drain bidirectional I/O port. It is the multiplexed low-order address and data bus PORT 1:an 8-bit bidirectional I/O port. P1.5, P1.6, P1.7 have high current drive of 16mA PORT 2:8-bit bidirectional I/O port, it receives control signals and a partial of high-order address bits during the programming
  • 13. LIQUID CRYSTAL DISPLAY o Flat panel display, electronic visual display, video display that uses the light modulating properties of liquid crystals .
  • 14. APPLICATIONS  Used in computer monitors, television, instrument panels, aircraft cockpit displays, signage, etc  an electronically modulated optical device made up of any number of segments filled with liquid crystals and arrayed in front of a light source or reflector to produce images in monochrome  Also used in video players, gaming devices, clocks, watches, calculators, and telephones and have wide range of screen sizes
  • 15. LCD Pin Description 16 16 Gnd 15 15 Vcc 14 14 D7 13 13 D6 12 12 D5 11 11 D4 10 10 D3 9 9 D2 8 8 D1 7 D0 3 7 6 6 E 5 5 R/W 4 4 RS 3 3 Contrast 2 2 2 Vcc 1 1 Gnd 1
  • 17. COMPONENTS USED  The transformer steps down the 220 V a/c. into 12 V a/c  A rectifier transforms ac into dc by limiting. The output resulting from a rectifier is a pulsating D.C. voltage  The ripple of the D.C. voltage is smoothened using a filter capacitor  The voltage regulator regulates the supply if the supply if the line voltage increases or decreases
  • 18. WORKING OF PROJECT  As the program starts, string „Enter Password‟ is displayed on LCD  After the four digits are entered, the user is prompted to „Confirm Password‟  If the passwords do not match, a message is displayed to indicate „Wrong Password‟  Again the keypad is scanned for pressed keys and corresponding digits are identified  If all the four digits match with set password, the lock output pin goes high  The system gets locked if more than three attempts are made with wrong password to open the electronic lock  The high output of the logic circuit enables the AND gate
  • 19. APPLICATIONS:  used to automate the door locking process, so the user need not to carry the door lock keys  used in Mobile phones for security purposes  Used in Banks lockers  used in applications like Lift, Telephone Locking, Refrigerators etc
  • 20. RESULT AND CONCLUSION  Result:-all electronics devices plays very important role in Programming and in Electronics Department  Conclusion:-All electronics devices can perform many functions using interfacing and programming with Embedded C language  Future scope:-In future, the improved version of Microcontrollers will be more useful.In serial communication and Robotics, everywhere we need Microcontrollers to store program in it
  • 21. REFERENCES  www.electronicsforyou.com  www.encyclopedia.com  www.wikipedia.com