Flicky Flicky Light Light (RFID Scanner That Turns on Lights) by Kieran and Anthony
by PHS_Engineering in Circuits > Arduino
227 Views, 0 Favorites, 0 Comments
Flicky Flicky Light Light (RFID Scanner That Turns on Lights) by Kieran and Anthony
We made a RFID scanner that controls the status of an LCD display, while turning on and off lights. When the right RFID card is scanned the LCD display shows, "Authorized" turning on the lights. When any other RFID card is scanned the LCD displays "Access Denied" and turns off the lights.
Supplies
LCD Display
Christmas lights
20 wires
Jumper cables for RFID scanner
RFID scanner
Potentiometer
1k ohm resistor
Arduino Uno
2 Alligator Clips
Relay
RFID Cards
RFID Scanner Setup
Install the RFID scanner, he formatting for this can be found online along with a downloadable library for the code. https://create.arduino.cc/projecthub/Aritro/security-access-using-rfid-reader-f7c746 This being the website we used.
Begin Setting Up the LCD Display
Just like the RFID scanner we used https://docs.arduino.cc/learn/electronics/lcd-displays. They have a great tutorial on how to setup and use the code for the LCD display.
Relay Setup
Following this diagram we setup the relay for the lights
Christmas Lights Installation
Strip your Christmas lights exposing the wire, and use your alligator clips to clip them to the wire and the open wires of the Relay.
Coding
From both websites combine the code you have so after the IF statement, the LCD display reads "authorized" when the right card is scanned, and "denied" when the wrong card is scanned. While doing that define your pin for the relay and turn that pin on like turning on a LED after, to turn on your lights.
Finished
Scan your cards, and trouble shoot making sure everything is correct because even the smallest pin change can mess up the LCD display.