Radio-frequency identification (RFID) based card scanner device using NodeMCU and MFRC522 module. This device uses MFRC522 module to scan the tag id of RFID based card and NodeMCU to communicate with the HTTP Server. This device also uses LCD 16x2 with I2C Module to shows information related to the device's current status.
We created this project as part of the Smart Tourism project that consists of several parts like REST server, card scanner device, administrator website, and location's direction app. Smart Tourism project is a system for smart tourism that improves the impression of tourism sites using an electronic card to enter and exit locations, a website that monitors and show statistic for each location, and AR app for visitors to show location's direction. This project is undertaken to fulfill the Telematics Projects course in the Computer Engineering department of Sepuluh Nopember Institute of Technology.
-
Install Arduino IDE as in their official guide.
-
Open
gate.ino
in Arduino IDE. -
Add
http://arduino.esp8266.com/stable/package_esp8266com_index.json
to the Additional Boards Manager URLs in the Preferences. -
Install esp8266 boards using the Boards Manager, then set the Boards to NodeMCU 1.0 (ESP-12E Module).
-
Set the
wifi_ssid
andwifi_pass
according to the WiFi SSID and password. -
Run the REST server and set the
server_address
string according to the server address. -
Set the
gate_id
according to the gate id for this device. -
Prepare the NodeMCU, MFRC522 module, and LCD 16x2 with I2C Module, then assemble them as the following diagram:
-
Connect the NodeMCU to your computer, then upload the program using the Arduino IDE.