Programmable number lock system

Programmable number lock system is a high security number lock system that can be used to lock electronic devices. The present system is very user friendly. This system is a combination of software and hardware at its best. We have used a 8051 microcontroller kit for interfacing our system.
In the present design we can activate or deactivate 9 devices. Each device is locked using a 4 digit code (password). The code can be set as per the user’s desire, hence the name ‘ PROGRAMMABLE ‘. For the device to be activated (unlocked), the user should enter the code that had been entered when the device was locked. In case the user enters the wrong code a silent alarm will be activated.

Introduction to Programmable number lock system:

The system has three units, namely:

  1. Keyboard unit.
  2. Display unit.
  3. Control unit.

The keyboard unit consists of 9 number keys, 1 unlock key and 1 lock key. These are all push button switches. This unit is used to select the desired device and to enter the codes into the system. It is also used to request the system to lock/unlock the selected device.

The display section contains 5 seven segment display. This unit displays the device number and the code entered. This section is detachable. If detached it does not affect the working of the whole system. This unit also contains password reset button and an LED to indicate the error when the device is   already locked and user wants to lock the device again. The error indicator also indicates an error when the system is already unlocked and the user tries to unlock the same.

The control unit  is the heart of our system. It contains the necessary circuitry for the control of the device .This unit controls 9 devices, which is lock/unlock  by selecting it using the keyboard and entering the password. If the code entered to unlock the device is wrong, then a silent alarm is triggered .The keyboard unit and the display unit are connected to this unit.

All these three units are merged together to form the whole system.

Model of Programmable number lock system
Model of Programmable number lock system

Block diagram of Programmable number lock system:

 Block diagram of Programmable number lock system:
Block diagram of Programmable number lock system:

Working of the system:

When the system  is initially installed the reset button is pressed. This key is present in the control unit. This unlocks all the devices. This is to avoid undesired functioning of the system.

To lock a particular device the device number is selected using the keyboard. Once the device is selected the user has to press the lock key present in the keyboard. Now the device waits for the user to enter the the code. The user can enter a 4 digit number using the keyboard as per his desire. Once all the 4 digits are entered the system electronically locks the selected device.

In the same manner to unlock a particular device, the device number is entered using the keyboard. Once the device number is selected the code for the selected device is entered. If the entered code matches the code that had been entered while that particular device was locked then the selected device will be activated (unlocked). If the codes do not match each other a silent alarm will be triggered (a LED placed in the control section. Shown in figure 3).An error indicator (placed in the display section) is provided if any user tries to lock a device which has already been locked or vice versa.

If the user is half way entering the code or has done an error while entering the code and wants to start over all again then a reset button is provided in the display section. By pressing this button the user can start from entering the device number and so on.

The number of devices which the system can control can be increased by addition of a few components in the control unit. More security can be achieved by increasing the number of digits in the code. This can be done by minor changes in the program. The system uses the internal RAM of the 8051 to store the code and hence puts a lower limit to the number of digits in the code and also the number of devices the system can control. Once the system is installed only the display unit and keyboard unit will be accessible to the user. Access to the control unit should be provided only to an official personal since it contains the system  reset button.

Editorial Team
Editorial Team

We are a group of young techies trying to provide the best study material for all Electronic and Computer science students. We are publishing Microcontroller projects, Basic Electronics, Digital Electronics, Computer projects and also c/c++, java programs.

141 thoughts on “Programmable number lock system

  1. hello sir
    i have choosed this as my project
    and i have a problem with control unit sir.
    so kindly i requested you to send the complete cicuit diagrama and i want to know the algorithm of microcontroller programming. so send the algorithm also
    thankink you sir,

  2. Application of programmable lock is to secure electronic device i.e to On & OFF by perticular user,but how to secure any electronic device?What should be connected between lock & device that we are supposed to secure?

  3. Hello Sir,
    Firstly i would like to thank you for publishing your work this way. It is helping us in every way. I have a small doubt about this project, I will be highly obiliged if you can help. Sir i have understood the working and all but the problem is that i could not understand the interfacing part. How do we connect the circuit to the electronic device? What is that physical part with the help of which we will be connecting the circuit to the electronic device? Another problem is that to lock the device means what exactly will it do?For example if we take a power supply & we lock it then how will it get locked? What we will observe there & to which part of power supply we will connect the circuit & how? Sir please help me as soon as possible. i will be waiting for your reply. Thank you very much sir. Thank you…

  4. I am final year student of Mechatronics engineering.
    so kindly i requested you to send the complete circuit diagrama
    How do we connect the circuit to the electronic device?What is that physical part with the help of which we will be connecting the circuit to the electronic device? Another problem is that to lock the device means what exactly will it do?For example if we take a power supply & we lock it then how will it get locked? What we will observe there & to which part of power supply we will connect the circuit & how?
    would you please send me all these answer thank you.

  5. hello sir i’m 6th sem E&E student we r doing project on electronic number lock system we r not getting full discription &circuit diagram on this project would you plese send me these thing as soon as possible i was waiting for ur reply

  6. sir, am working on a Pic operated digital keypad controlled 6-digit combination lock with access for owner to change the combination program but my program is not working and am ask to use PIC16F648A,please give the source code for programmable number lock for this pic because i cant find infomation about this pic from no where. there is no much from the datasheet

  7. in control unit where to connect the “to the 8051 microcontroller unit”?
    can i have a full circuit diagram of this, all componenets attached
    together?

  8. Kindly i requested you to send the complete circuit diagrama
    How do we connect the circuit to the electronic device?What is that physical part with the help of which we will be connecting the circuit to the electronic device?

  9. sir,
    i have choosen this as my project, sir will u help me?i have a problem with control unit sir.
    kindly send to me the complete cicuit diagram and i want to know the algorithm of microcontroller programming, pls send also.

    thank you.

  10. helloz sir i m gaurav electronice studnt..i m intested in doing this project so culd u plz send me the ckt digarm and compnent required for this project plzz..sir

  11. sir, this project s very interesting .I want to take this as one of my projects.
    could you please suggest me how should i start working for this project.
    how should i deal with the circuit and programming to develope a system of similar type.

  12. hello sir,
    can you please send me the circuit diagram of this project and guide me
    as to how to work on this as soon as possible.

  13. hello sir
    i want to take this as my TE project.
    plz can u send me more details of the project.
    how to do it, the component list
    the ckt diag,prgm codes,which software to use
    how all the physical parts can be connectedHow do we connect the circuit to the electronic device?What is that physical part with the help of which we will be connecting the circuit to the electronic device? Another problem is that to lock the device means what exactly will it do?
    can u explain by giving a example of any device……
    eagerly waiting for ur reply……….
    plz rply as soon as possible……
    thanking you…

  14. Thank you for this project. I want to know what kind of device can I control with this project, please help me

  15. sir kindly send me full report on programmable number lock system such as block diagram, circuit diagram,working,pcb layout,introduction etc. as early as possible.
    please send the above information on my email id

  16. hi….
    i want the full details about this project …\
    specially for implement it in real life……

  17. hello sir!! i am interested in doing this project….pls send me full details..circuit dia,working,prog codes,etc as soon as possible..waiting for your rply..its urgent

  18. sir i want the complete circuit diagram of all units micro contro programs.pls sent iit
    it to my email id..i am interested in doing this project….

  19. i am interesting in this ,can you send source code and circuite of electronics code lock
    sir i want the complete circuit diagram of all units micro contro programs.pls sent iit
    it to my email id. plz give me all detail as soon as possible on my id…..

  20. i am interesting in this ,can you send source code and circuite of electronics code lock

    sir i want the complete circuit diagr give me all detail as soon as possible on my id…..am of all units micro contro programs.pls sent iit

  21. i am interesting in this ,can you send source code and circuite of electronics code lock
    sir i want the complete circuit diagram of all units micro contro programs.pls sent iit
    it to my email id. plz give me all detail as soon as possible on my id…..

  22. sir,
    we select ‘programmable number lock system’ as our project.
    can you give connection of microcontroller kit with control unit.
    is there any idea about the price? pls reply as soon as possible.

  23. Hello Sir,
    I am very much inspired by your work, I am a beginner in Embedded Systems
    , Can u please send me the source code. Hope to hear from you soon.

    Thanks and regards
    Chandrashekar

  24. Hello sir,
    what type of devices we can use in this project to lock/unlock?
    I have selected this as my project.So can you send me full details and
    components used like IC models etc.plz sir
    raghu.494@gmail.com

  25. hi sir,
    i am very much inspired with ur project and i selected this as my projectand can u please send me the circuit diagram and pcb lay out of ur project.awaiting for ur response.

  26. sir am a prefinalier student.and am trying to do this as my mini project sir so plz send me the program using 8051 micro controller

  27. Dear sir,
    I have selected this project as my final year project. The code has also been provided. Would you please provide me the working procedure of control unit and interfacing with micro controller. Please provide us the complete circuit diagram of this project.

  28. sir,i am interested in doing this project please can u send me the complete details along with the circuit diagrams and programs..

  29. sir,i sir,i am interested in doing this project please can u send me the complete details along with the circuit diagrams and programs..

  30. hello Sir,

    I am doing my diploma project so please suggest me in control unit there are three connectors so which pin should be connect with microcontroller port.

    give me program suugestion also.

    Please sir reply asap i am eagerly waiting for your reply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in