Document Type


Lead Author Type

ACS Masters Student


Dr. Vijay Bhuse,

Embargo Period



IoT, Arduino, MQTT, Keycard Reader, Raspberry Pi


The idea of this project was to create a system that would limit access to equipment based on keycard access. I created a keycard power relay system, comprised of a keycard reader, a power relay, and a raspberry pi. The reader and relay were turned into IoT devices using arduino powered NodeMCU boards. Using a database and an MQTT broker on a Raspberry Pi, the system can check who has access to use a device and can send messages to turn that device on and off. The reader sends out a message to the Pi to get access, and then the Pi sends a message to the relay to turn on the attached device. This will allow for greater security and device management within our work area.