This project integrates an ESP8266 microcontroller, an RFID reader, and a Node.js backend to build a real-time access or attendance management system. The ESP8266 can read/write RFID tags based on commands sent from the backend server over Wi-Fi.
- Sakil Aziz
- Sanju Kumari Gupta
- 📶 Wi-Fi Enabled: ESP8266 communicates with backend over HTTP/WebSocket.
- 🗃️ Database Logging: Tag data is stored in a backend database (e.g., MySQL).
- 👁️ Live Dashboard: Admin can view scanned tag details in real time.
- 🔐 Access Control: Only registered tags are allowed (optional feature).
| Component | Technology |
|---|---|
| Microcontroller | ESP8266 (NodeMCU) |
| Reader Module | RC522 RFID Reader |
| Backend Server | Node.js with Express |
| Database | MySQL |
| Communication | HTTP / WebSocket |
- ESP8266 (NodeMCU)
- RFID Reader (RC522)
- RFID Tags or Cards
- Jumper wires
- Breadboard or soldered PCB
| RC522 Pin | ESP8266 Pin |
|---|---|
| SDA | D2 (GPIO4) |
| SCK | D5 (GPIO14) |
| MOSI | D7 (GPIO13) |
| MISO | D6 (GPIO12) |
| IRQ | Not used |
| GND | GND |
| RST | D1 (GPIO5) |
| 3.3V | 3.3V |
cd backend/
npm install
npm start- Open firmware in Arduino IDE
- Select NodeMCU board & COM port
- Update Wi-Fi and server IP
- Upload to ESP8266
- WhatsApp Notifications
- Mobile app integration







