Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Latest commit

 

History

History
50 lines (34 loc) · 1.62 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.62 KB

wiattend

RFID attendance system realized using MFRC522 and ESP32.

Overview

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.

Demo

RFID Attendance System - ESP32 - NodeJS + MySQL

Usage

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

Used Technologies

Dependencies

Project depends on the following NodeMCU modules:

  • gpio
  • file
  • node
  • net
  • http
  • wifi
  • sjson
  • tmr
  • Modules required by rfid32, piezo32 libraries