IOT2020-RAC is a real-time access control based on IOT2020, Arduino and Firebase Database. It works by reading an RFID card and synchronizing the access information in real-time using Firebase.Why
Because we wanted to learn how to connect IOT2020 to a Firebase Database and read any sensor supported by Arduino in real-time.How
With a node script, we connect the Arduino to IOT2020 by serial port and keep synchronized the realtime database.
Every time a RFID card is read by the sensor, the Arduino send the card ID to the node script and it's check the user and upload the user ID, device ID and timestamp to the database.
To notify the access registering status the Arduino controls a LCD display, a buzzer and RGB led.
We add a demo web UI (React based) to see in realtime the access registers.