Programmable number lock system

Wednesday, November 19th, 2008

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.

Pages: 1 2 3

Author Name :
Ranjith

Total : 138 Comments


138 Responses to “Programmable number lock system”

  1. gaurav says:

    can i get any idea regarding the source code of the project.

  2. harish says:

    sir
    please give kiel c code rather than mnemonics

  3. moin shaikh says:

    i want a circuit diagram of this project .so plzzz send me

  4. gerald says:

    good day to you, please send me the full report of this project “Programmable number lock system”, and the c-program

  5. richie says:

    circuit diagram plzzz

  6. suhel says:

    i am a student of instrumentation and control engineering in gujarat and we had studied your project and choosed it as our final year project and we dont know how to interface the ckt with the microcontroller kit can you help……and where is microcontroller kit in this project?????

  7. PRANJAL NAYAK says:

    i am a student of MECHANICAL engg in gujarat and we had studied your project and choosed it as our final year project and we dont know how to interface the ckt with the microcontroller kit can you help……and where is microcontroller kit in this project?????

  8. lekan says:

    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. Kindly send the illustration of the 8051 to me on the control unit. Its because I couldn’t able to identify the 8051 on the control unit.

  9. kunjan says:

    Respected sir,
    May i get the full circuit diagram of this project…… ???

  10. deepali ,satara says:

    can u help me ,this project in c++ language is possible or not that i want to chose . i think this is the one of the best project for me

  11. kakani sagar says:

    we are three student of gtu univercity, can u give us full ckt diagram and which ICs are use in this project.and also give us codding of this project

  12. thachi says:

    hi,m interested in doing this project …do post me the circuit ideas..,algorithm

  13. mathu says:

    would u please send me the algorithm idea so that i cud try getting my own codes.
    and regarding the interfacing in the circuit.asap.pls…

  14. pradnya says:

    hey i would like to implement this project.can u please give the component details asap..
    thankyou

  15. rajanita says:

    plz send me the ckt diagram & pcb layout ,with approximate project cost as soon as possible.

  16. gagan says:

    hi sir dis project is very good nd i have taken it as my semester project can u plz give me an idea of its cost…..

  17. Amrut Pawar says:

    sir please send me report on microcontroller based code lock system………

  18. Naziya says:

    hi,i’am a student of electrical & electronics engg, i hav gone through this article and wanted to implement it as ma semester level project so can you plz provide me with the source code, complete circuit digram and other relevant details of the project as soon as possible,I urgently need to start with it!!

  19. Reetu Khatri says:

    sir i would like to do this as my project so kindly send me details n programming algo ..

  20. rahul says:

    sir can u plz give me the source code for this project………….

  21. sir i want to do this project so send me whole circuit diagram and also send component list to my id dadwal57@gmail.com

  22. vinoth says:

    Sir how to implement this project in micro controller..Pls give us an idea about this sir…….

  23. can anybody please send me detail of this project so that ican start my final year project…
    girish.21patil@gmail.com

  24. Kabil says:

    Please send me the whole project details and c codes

  25. Joker says:

    I want to do this project..Please send me the whole project details and c codes

  26. Joker says:

    I want to do this project and could u pls send me t whole project details and c codes

  27. Manoz says:

    HOw to down whole project

  28. abhinav says:

    please mail me the detailed circuit as i want to implement the project…

  29. sid says:

    respected sir, please send me the complete design of the project as soon as possible

  30. pushkar sharma says:

    plz send me the ckt diagram & pcb layout ,with approximate project cost as soon as possible.my id > pushkar.sharma13@gmail.com

  31. dg says:

    can anyone please send me the complete project details? please and thank you! :)

  32. mahesh j says:

    Can u please send me the circuit of 8051 microcontroller kit.

  33. mahesh j says:

    It is a great site for beginners.

  34. kush says:

    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.

  35. Furqan says:

    i am a student of electronics engineering in mumbai and i have studied your project and choosed it as our final year project and we dont know how to interface the ckt with the microcontroller kit can you help……and where is microcontroller kit in this project? can u send me the ckt diag of microcontroller kit

  36. Deep says:

    Dear sir
    Sir can u plz mail me the c code of the above project.
    Thank u in advance.

Leave a Reply

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup

Email: