ESP32 Based RFID Reader With Touch Display

by Zihatec in Circuits > Electronics

2987 Views, 12 Favorites, 0 Comments

ESP32 Based RFID Reader With Touch Display

IMG_20200828_165227.jpg
IMG_20191204_075550_012.jpg

On this litte instructable I will show how to create a simple RFID reader with TFT output for wall mounting using an ESP32 DEV KIT C module, RC-522 based reader pcb and an AZ-Touch ESP kit.
You can use this reader for door access or intruder alarm terminals. It's easy to extend this simple design for more complex application and wireless data transmission.

Tools and Materials

ArduiTouch_ESP_Extended_kit.JPG
IMG_20191202_160528.jpg

Materials:

Tools:

  • soldering iron
  • wire stripper & cutter

Wiring

wiring_ESP_1.png
wiring_ESP_2.png
IMG_20200829_094715_939.jpg
IMG_20200828_165818.jpg

After the assembly of the AZ-Touch ESP kit, you have to wire the RFID reader pcb. In the pictures below you will find a wiring diagram and some pictures of my real solution. In any case it is recommend to use a connector between the RFID reader pcb and the AZ-Touch pcb.

Preparation of RFID PCB

IMG_20191202_172010.jpg
IMG_20191203_111115.jpg

For the mounting of the RFID pcb you have to prepare the pcb with self
adhesive tape and glue it to the top shell of the AZ-Touch enclosure

Mounting of AZ-Touch PCB

IMG_20200829_094853_528.jpg
IMG_20191203_111221.jpg

Now we can mount the TFT on the ArduiTouch pcb, connect the RFID pcb and mount the AZ-Touch pcb in the top shell too

Firmware Installation

The example code needs the Arduino IDE and some additional libraries. Please install the following libraries through Arduino Library Manager.

You can download the library also directly as ZIP file and uncompress the folder under yourarduinosketchfolder/libraries/
After installing the Adafruit libraries, please restart the Arduino IDE.

Custom Settings

In the source code you can set the number of a known transponder :

byte blue_uid[] = {0x09, 0x8D, 0x9D, 0xA3};

You should change this to the UID of one of your transponders. (The UID of your transponders will be visible in the "Access denied" screen)

Run the Demo:

IMG_20191203_150333_680.jpg
Arduino MKR RFID reader

Please open this sample in the Arduino IDE. After compilation and upload (please close Jumper JP1 on the AZ-Touch pcb for upload) you can put your transponders in the top of the AZ-Touch enclosure and you will see an "Access denied" screen for unknown transponders and "Access granted" for the known transponder.

Downloads