Intelligent access control based on ESP32 and TFT LCD

Published Aug 30, 2021
 72 hours to build
 Intermediate

The smart home is becoming more and more common with the development of technology, this article will focus on the security aspects of the intelligent access control project. This article uses STONE's touch screen to send commands to the MCU to control the relay and MFRC522 module.

display image

Components Used

MFRC522 RFID
MFRC522 RFID
1
Relay Module Single Channel
Relay Module Single Channel
1
ESP32 WROOM
WiFi Development Tools - 802.11 ESP32 General Development Kit, embeds ESP32-WROOM-32E, 4MB flash.
1
Solenoid Lock
SparkFun Accessories Solenoid - 12V (Latch / Lock)
1
STONE STWI070WT-01 display module
A Smart Touch Screen
1
Description

 

 

The principle of card reading: by driving the RFID-RC522 module, identify the ID card ID close to the ID card and then determine whether the ID exists in the database of the word typical, ID is the typical value of the word, if the existence of the verification through, and then print out the corresponding name, and then drive the electromagnetic lock in the same way.

 

Realized function

 

1. card registration.

2. username and password registration.

3. card swipe to unlock the electronic lock.

4. User name and password to unlock the electronic lock.

 

The main hardware Description

 

RFID Module

This module can be directly loaded into various reader modules. It utilizes a voltage of 3.3V, through the SPI interface with simply a few wires. Directly connected with a CPU motherboard, the module can work in a stable and reliable manner as a distance card reader. 

 

STONE STWI070WT-01 display

The STWI070WT-01 has been conceived as a TFT monitor & Touch controller. It includes a processor, control program, driver, flash memory, RS232/RS422/RS485/TTL/LAN port, Wi-Fi/Bluetooth, touch screen, power supply, etc., so it is a whole display system based on the powerful & easy operating system, which can be controlled by Any MCU.

 

Connection diagram

 

GUI design

 

Video demo

 

Official Technical Support: forum.stoneitech.com

Codes

Downloads

connection Download
Datasheet STONE STWI070WT-01 Download
Comments
Ad