Keypad Combination Lock Relay

Not rated 12,327

Circuit Image

Only one out of 9,999 possible codes has the power to unlock this simple, yet effective, electronic lock. A combination lock is not just a perfect system to protect your belongings, it is also a valid system to let everyone know that you are vigilant: an electronic system with a silicon heart is controlling the area, day and night without interruption, so everyone is warned! You can use this combination lock circuit as a replacement or in addition to normal locks. It is very handy when a group is entitled to enter a common area, such as parking lots or sport resort facilities, for example. It is often the case where traditional keys are expensive, not appropriate, or just not convenient: not to mention when the keys need to be replaced very often (e.g. in the case of parking lots, the cars can change). Compare the convenience of distributing a new access code to the requirement of making a new run of keys. This electronic lock is excellent also for locking devices powered by electricity. A phone line, a photocopier, children's TV, a fax, or a water pump: these are just a little selection of devices that can be locked with a combination lock. And did we mention the option for adding a remote control? The basic blocks of this electronic combination lock are the keyboard, the Nutchip, and the relay. The keyboard counts 10 keys, labelled with numbers 0 to 9. Four keys (actually simple normally-open pushbuttons) connect directly to Nutchip inputs IN1...IN4. If you follow precisely the schematic provided, you get the combination 6-7-8-9. Any other key sequence will lock the device until the correct sequence is entered again. The correct sequence is determined by the truth table. In order to detect whether a wrong key has been touched or not, the remaining keys (those not included in the combination) are connected in parallel and drive input ST0. This special pin causes the Nutchip to reset and restart it from state zero (st00), regardless of current state and other pin's situation. Therefore, touching the wrong key will cause the Nutchip to restart from state zero.

The electronic combination lock described operates on a straightforward yet effective principle for securing access to various devices and areas. The system is built around a microcontroller known as the Nutchip, which interprets input signals from a keypad and controls a relay to engage or disengage the locking mechanism.

The keypad consists of ten buttons, numbered 0 through 9, with only four designated buttons—specifically 6, 7, 8, and 9—used to form the unlock sequence. These buttons are connected directly to the microcontroller’s input pins (IN1 to IN4). The design ensures that only the correct sequence will unlock the system; any incorrect input will trigger a reset of the microcontroller to its initial state, effectively locking the device again. This is accomplished by the additional keys being wired in parallel to the ST0 input pin, which serves as a reset trigger.

The Nutchip processes the inputs based on a truth table that defines valid versus invalid sequences. When a valid sequence is entered, the microcontroller activates a relay, which can control a locking mechanism or power to a specific device, thereby allowing access. The relay acts as an electronic switch, enabling or disabling the flow of electricity to the locked device.

The versatility of this electronic lock system allows it to be employed in various applications beyond traditional locks. It can be used for securing electronic devices, making it suitable for environments such as offices, schools, and public facilities where access control is necessary. Furthermore, the potential for integrating a remote control feature enhances user convenience, allowing for wireless operation of the locking mechanism.

Overall, this electronic combination lock provides a modern solution to access control, combining security with ease of use, and is adaptable for multiple scenarios where traditional locking mechanisms may fall short.Only one out of 9,999 possible codes has the power to unlock this simple, yet effective, electronic lock. A combination lock is not just a perfect system to protect your belongings, it is also a valid system to let everyone to know that you are vigilant: an electronic system with a silicon heart is controlling the area, day and night without interruption, so everyone is warned!

You can use this combination lock circuit as a replacement or in addition to normal locks. It is very handy when a group is entitled to enter a common area, as parking lots or sport resort facilities for example. It is often the case where traditional keys are expensive, not appropriate or just not convenient: not to mention when the keys need to be replaced very often (e.g.

in the case of parking lots the cars can change). Compare the convenience of distributing a new access code to the requirement of making a new run of keys... This electronic lock is excellent also for locking devices powered by the electricity. A phone line, a photocopier, children's TV, a fax or a water pump: these are just a little selection of devices that can be locked with a combination lock.

And did we mention the option for adding a remote control? The basic blocks of this electronic combination lock are the keyboard, the Nutchip and the relay. The keyboard counts 10 keys, labelled with numbers 0 to 9. Four keys (actually simple normalli-open pushbuttons) connect directly to Nutchip inputs IN1...IN4. If you follow precisely the schematic we give, you get the combination 6-7-8-9. Any other key sequence will lock the device until the correct sequence is entered again. The correct sequence is determined by the truth table. In order to detect wheter a wrong key has been touched or not, the remaining keys (those not included in the combination) are connected in parallel and drive input ST0. This special pin causes the Nutchip to reset and restart it from state zero (st00), regardless of current state and other pin's situation.

Therefore, touching the wrong key will cause the Nutchip to restart from state zero. 🔗 External reference




Warning: include(partials/cookie-banner.php): Failed to open stream: Permission denied in /var/www/html/nextgr/view-circuit.php on line 713

Warning: include(): Failed opening 'partials/cookie-banner.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/nextgr/view-circuit.php on line 713