ESP32 + RFID + 512k eeprom + 2.4'' TFT + logging door lock
Door lock with 2.4 TFT and 512k eeprom and log send to server.
In our company have door lock, but this door lock can store only 100 card ID. But this is not enough. I made more usefull door lock system, with ESP32.
To programming: any Key Card (you can select and programming to the source code)
To image converter: UTFT Image converter
Key Card : 125kHz EM4000 compatible card
Log store with NetCat program with this command: nc -l -p 10000 >>log.csv (you make batch to looping)
Log viewing: mTail
Instruction:
1. Swipe programming card to store new card (programming card not opening the door)
2. Swipe new card to store
3. Swipe already stored card to open the door
If card ID is not in database, then door is still lock, when ID is in the data base, then door is open.
If in programming mode swipe already stored card, then not store this ID in database.
Database structure: The first 2 byte (16bit 64kb addressing) is the index/FAT (how many card stored in the database Big Endian LSB/MSB). This 2 byte clearing when use magnet to activate reed relay.
The log file (CSV) you can open in Microsoft Excel.
All events are logged: restart, eeprom erasing, new card, denied card and granted card.
In TFT driver uncomment this line #define ILI9341_DRIVER, and comment any chip driver, and uncomment this line #define SPI_FREQUENCY 20000000 (very ipmortant, if you leave 27000000, then eeprom not working properly)