Smart home is becoming more and more common as technology advances, this article will focus on the security aspects of intelligent access control design.
This article uses the STONE touch screen to send commands to the MCU to control the relay and MFRC522 module.
Card reading principle: by running the RFID-RC522 module, identify the ID card ID near the ID card, then determine whether the ID exists in the database of common words, ID is the typical word value, if the existence of verification by, then print the corresponding name, then drive the lock electromagnetic in the same way.
Required materials
ESP32
KOB electronic lock
Relay
STONE STWI070WT-01 touch panel
MFRC522 module
Functions performed
1.card registration.
2. registration of username and password.
3. swiping the card to unlock the electronic lock.
4. Registering a username and password to unlock the electronic lock.
Main equipment Description
RFID module
This module can be directly loaded into various reader modules. It uses a voltage of 3.3V, through the SPI interface with just a few wires. Directly connected to the CPU motherboard, the module can work stably and reliably as a proximity card reader.

Wiring diagram

GUI design

video demo
This article uses the STONE touch screen to send commands to the MCU to control the relay and MFRC522 module.
Card reading principle: by running the RFID-RC522 module, identify the ID card ID near the ID card, then determine whether the ID exists in the database of common words, ID is the typical word value, if the existence of verification by, then print the corresponding name, then drive the lock electromagnetic in the same way.
Required materials
ESP32
KOB electronic lock
Relay
STONE STWI070WT-01 touch panel
MFRC522 module
Functions performed
1.card registration.
2. registration of username and password.
3. swiping the card to unlock the electronic lock.
4. Registering a username and password to unlock the electronic lock.
Main equipment Description
RFID module
This module can be directly loaded into various reader modules. It uses a voltage of 3.3V, through the SPI interface with just a few wires. Directly connected to the CPU motherboard, the module can work stably and reliably as a proximity card reader.

Wiring diagram

GUI design

Code: python
video demo
Cool? Ranking DIY