Arduino Firmware RFID RC522 CAN bus MCP 2515
Budget: €250 – €750 EUR
Arduino CAN BUS RFID Project
The IDEA
We want to create a new firmware for a fitness club
The gateway works with a CAN bus
RFID reader is integrated
Inputs from bus to the lock
Open lock
Close lock
LED green on
LED red on
Buzzer on OPTIONAL if we have enouth IO
Output from the lock to the bus
RFID UID number
Door open/closed
Door was not closed after 1 second
Error
Details on the new PCB / Prototype with Arduino UNO
Arduino UNO
MCP 2515 CAN BUS
RFID RC522 Reader
Flow
Fitness club – locker:
The user enters and GYM locker area and places a RFID card on a lock with a green light
As soon as there is an RFID card on the reader, the UID number gets sent via bus
The server sends the command “Close lock”
The motor runs until the lock is closed (motor position changed)
The firmware saves the UID number in the whitelist
The LED switches into red
We check the door closed status after 0,5 second just to be sure
If the door is still open,
o alarm on the buzzer
o delete the white list
o green LED on
o red LED off
Output to the bus: DOOR_ FAILURE
After the workout:
The user places the RFID card again
If the UID is equal with the ID number in the whitelist then
o Erase the whitelist
o Run the motor until the motor switch changes (open the lock)
o Send “LOCKER_OPENED”
The IDEA
We want to create a new firmware for a fitness club
The gateway works with a CAN bus
RFID reader is integrated
Inputs from bus to the lock
Open lock
Close lock
LED green on
LED red on
Buzzer on OPTIONAL if we have enouth IO
Output from the lock to the bus
RFID UID number
Door open/closed
Door was not closed after 1 second
Error
Details on the new PCB / Prototype with Arduino UNO
Arduino UNO
MCP 2515 CAN BUS
RFID RC522 Reader
Flow
Fitness club – locker:
The user enters and GYM locker area and places a RFID card on a lock with a green light
As soon as there is an RFID card on the reader, the UID number gets sent via bus
The server sends the command “Close lock”
The motor runs until the lock is closed (motor position changed)
The firmware saves the UID number in the whitelist
The LED switches into red
We check the door closed status after 0,5 second just to be sure
If the door is still open,
o alarm on the buzzer
o delete the white list
o green LED on
o red LED off
Output to the bus: DOOR_ FAILURE
After the workout:
The user places the RFID card again
If the UID is equal with the ID number in the whitelist then
o Erase the whitelist
o Run the motor until the motor switch changes (open the lock)
o Send “LOCKER_OPENED”