logo elektroda
logo elektroda
X
logo elektroda

Intelligent access control based on ESP32 and TFT LCD

Fisher2 
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



Code: Python
Log in, to see the code


video demo




About Author
Fisher2 wrote 39 posts with rating 5 . Been with us since 2020 year.

Comments

Add a comment
zgierzman 01 Sep 2021 20:48

This 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]

JohnKaldachar 02 Sep 2021 01:58

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]

Slawek K. 02 Sep 2021 05:52

What's smart here? Greetings [Read more]

zgierzman 02 Sep 2021 09:25

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]

JohnKaldachar 04 Sep 2021 12:49

Yes, great fun. Control of the on / off microwave oven. It makes sense" :-) . [Read more]

Fisher2 06 Sep 2021 10:15

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]

gulson 07 Sep 2021 20:58

Don't worry, thanks for presentation! [Read more]

zgierzman 07 Sep 2021 23:27

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]

Fisher2 08 Sep 2021 11:11

I will pay attention to it. [Read more]