RFID attendance system realized using MFRC522 and ESP32.
When user apply RFID card on the RC522 module, ESP32 will detect presence of card and read the serial number. ESP will send serial number to the NodeJS server (wiattend-srv). Server will save new log in MySQL database, then broadcast JSON
logged tag to the clients (wiattend-client) via permanent WebSocket channels, and at the end return JSON
logged tag, as well, back to the ESP32.
Tip! Make sure to include --recurse-submodules
option in time of cloning
git clone --recurse-submodules "https://github.com/abobija/wiattend.git"
Install dependencies
npm i
Connect ESP32 and run next command to upload files (set correct COM port of your ESP).
npm run upload -- --port=COM7
- NodeJS (HTTP, WebSocket)
- MySQL (DBMS)
- Lua for ESP32 (IoT)
Project depends on the following NodeMCU modules: