Intelligent access control based on ESP32 and TFT LCD
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
Comments
Add a commentThis is an automatic translation of google translate from Swahili? Because it is certainly not in Polish ... How is it with the security of such a solution? As far as I know, cloning UNIQUE or MIFARE... [Read more]
Has anyone already figured out why who needs this "intelligent" house? ? What are the real benefits and savings (where)? And the most important question. After what time the user of this house turns off... [Read more]
What's smart here? Greetings [Read more]
I live in a normal house, where to turn on the light in the toilet I have to press the button on the wall next to the door, and I can't do it through the app on my phone from the other side of the... [Read more]
Yes, great fun. Control of the on / off microwave oven. It makes sense" :-) . [Read more]
I'm learning all kinds of things, I'm not a professional I won't do that well, it's just because I'm interested in it. It certainly has many flaws, and if you can do better I would be very willing to... [Read more]
Don't worry, thanks for presentation! [Read more]
I think, in very first post should be information about nationality and language of the member. For now, it's impossible to know, that @Fisher2 is chinese. It is shown it his second post, not at beginning. ... [Read more]
I will pay attention to it. [Read more]