Electronic Lockers

Not rated 11,912

Circuit Image

This circuit is an electronic locker that operates using a combination of switches, functioning based on a specific code. The switch matrix is located on the locker door and consists of 16 switches arranged in a 4x4 grid, totaling eight terminals. When a switch is pressed, it establishes a connection between its corresponding column and row. To unlock the locker, four unique switches must be pressed in the correct sequence. For instance, if the code is 0, 1, 2, 3, pressing the sequence 0, 1, 2, 2, 3 will not unlock the locker. The desired code can be set during the construction of the circuit. The designated row, referred to as "stage" in the schematic, connects to ground and to one pin of a 3.3k resistor, while the other pin connects to an input of the 7408 IC. All code numbers are located on the same row. The order of the code numbers is determined by connecting the input node of the 7414 to the corresponding node of a capacitor. For example, with the first row (y1) and the code 0, 1, 2, 3, the first number (0) connects to the top left contact (x1), corresponding to x1/y1. These contact points are highlighted in orange on the schematic. When the locker is locked, a red LED lights up, and when it is unlocked, a green LED illuminates. The locker can be locked by pressing any switch from the matrix. It operates on a 6V power source, preferably a rechargeable 6V battery for longevity (at least three days), although four 1.5V batteries in series can be used, lasting approximately five hours. To conserve energy, the red LED can be omitted. When powered on, the locker is in a locked state. An electric motor or inductors control the locking mechanism. If an electric motor is used, it rotates counterclockwise for a set time to lower a toothed bar, then stops to keep the locker closed. To unlock, the motor rotates clockwise for a set time to raise the bar. If inductors are used, one inductor moves a magnetic bar to keep the locker closed, while the other moves it to unlock. The motor or inductor control buffer (L293D) has two Vcc inputs that connect to +6V and four ground connections that must connect to the circuit ground. All components are housed in a rack, except for the LEDs and switch matrix, which are mounted on the door.

The electronic locker circuit is designed to provide secure access through a coded switch matrix, making it a practical solution for various applications requiring controlled access. The switch matrix comprises 16 tactile switches arranged in a grid, allowing for easy user interaction. The design leverages a 7408 quad two-input AND gate, which processes the inputs from the switch matrix to validate the entered code against the preset combination.

The choice of using a 3.3k resistor in the circuit is important for limiting current and protecting the inputs of the 7408. The design also includes a feedback mechanism through the LEDs, providing visual confirmation of the lock status. The red LED indicates that the locker is secure, while the green LED signals successful unlocking.

For the locking mechanism, the use of a motor or inductors is a critical design decision. The motor-driven mechanism offers a robust solution for moving the locking bar, while the inductor-based system provides a potentially more compact and efficient alternative. The L293D motor driver allows for bidirectional control of the motor, facilitating both locking and unlocking functions.

The power supply design emphasizes the use of a rechargeable 6V battery, promoting sustainability and cost-effectiveness. This choice is vital for applications where the locker may be used frequently, as it ensures that the system remains operational over extended periods without the need for constant battery replacement.

Overall, this electronic locker circuit exemplifies an efficient integration of components to achieve a reliable access control system, suitable for various environments such as homes, offices, or secure storage facilities.This circuit is an Electronic Locker. It is controlled by a switches combination (by a code). There is a switch matrix on the door of the locker. This one is a unit of switches connected into 4 arranged of 4 columns for a total of eight terminals. When we press on a switch, this one establishes the contact between its column and its line. This swi tch matrix is also used in the telephones, for example. But it is numbered from 0 to 9 and from A to F for a total of 16 switches. To open the locker, we have to press 4 specific and different switches in the good order. If for example the code is 0, 1, 2, 3 and we press two times to the same switches: 0, 1, 2, 2, 3 the locker won`t open. In this circuit, the code is 0, 1, 2, 3 but we can set the desired code when we built de circuit. The desired line (called "stage" in the schematic) is connected to the ground and to a pin of the 3. 3k resistor and the other line is connected to an input of the 7408 and to the other pin of the resistor.

All the desired numbers of the code are in the same line. To set the order of the number of the code, we have to set the good connection between the node of the 7414 input and the appropriate node of the capacitor. For example, if we select the first line (y1) and the code is 0, 1, 2, 3 the first number (#1) is connected to the top left contact (x1).

The switch 0 is corresponding to x1/y1. These points of contact are colored in orange in the schematic. When the locker is locked, the red LED is turned on and the green LED is turned off. When the locker is opened, the red LED is turned off and the green LED is turned on. To lock the locker, we can push any of the 16 switches of the matrix. The locker is powered by a 6V source. I recommend using a 6V rechargeable battery because this one lasts a long time (at least 3 full days) and can be re-used. Otherwise, we can use four 1. 5V battery connected in serial. These least only 5 hours but are less expensive. To save energy, we can remove the red LED. When the locker is powered on, it is locked. The electric motor or the inductors close the door while a bit of time and after, stop working. When we open the locker, the electric motor or the inductors open the door while a bit of time and after, stop working.

To control the state of the door (open or lock) we can use an electric motor or a pair of inductors. If we use a electric motor, when the locker is closed, the motor turns in the anti-clockwise direction during a certain time and moves down a toothed bar. After this time, the motor stops turning and the locker remains closed. When the locker is opened, the motor turns in the clockwise direction during a certain time and moves up the toothed bar.

After this time, the motor stops turning and the locker remains opened. If we use two inductors, when the locker is closed, the second inductor works during a certain time and moves left a magnetic bar by attraction. After this time, the inductor stops working and the locker remains closed. When the locker is opened, the first inductor works during a certain time and moves right the magnetic bar.

After this time, the inductor stops turning and the locker remains opened. The buffer (L293D) who controls the motor or the inductors has two Vcc inputs and four ground connections. The both Vcc inputs must be connected to the +6V and all ground connections must be connected to the ground of the circuit.

All the parts of the circuits are placed in the rack except the DELs and the switch matrix which them, are placed on the door. 🔗 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