Programmable number lock system
by Ranjith | 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:
- Keyboard unit.
- Display unit.
- 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
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.




















January 24th, 2010 at 8:52 pm
sir
kindly can you send the circuit diagram and pcb layout of the the project
agugrg@gmail.com
January 24th, 2010 at 8:53 pm
I’m very much interested in doin this as my project
January 28th, 2010 at 6:09 pm
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,
January 29th, 2010 at 9:05 pm
gimme more details abu this project………waitin
February 4th, 2010 at 12:34 am
sir please give the source code for programmable number lock system….
February 16th, 2010 at 7:48 pm
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?
February 16th, 2010 at 8:18 pm
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…
February 24th, 2010 at 11:43 pm
plz tell me the procidure..
March 5th, 2010 at 4:35 pm
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.
March 10th, 2010 at 5:07 pm
many thanks !! fairly practical write-up
March 15th, 2010 at 7:56 pm
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
May 3rd, 2010 at 3:40 pm
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
June 22nd, 2010 at 6:37 pm
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?
July 2nd, 2010 at 7:46 pm
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?
July 5th, 2010 at 10:50 pm
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.
July 17th, 2010 at 12:34 pm
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
July 19th, 2010 at 11:22 am
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.
July 22nd, 2010 at 10:31 am
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.
July 26th, 2010 at 12:10 pm
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…
August 2nd, 2010 at 6:30 pm
Thank you for this project. I want to know what kind of device can I control with this project, please help me
August 20th, 2010 at 7:29 pm
Please give me the circuit diagram..on my id : Rj.vee04@gmail.com ..
please send ,its urgent.
September 2nd, 2010 at 10:17 pm
Sir,
i deliberately like this project ….
will u pls fwd me its circuit diagram and source code