I made this because I wanted to try an RFID tag and thought this might be a simple project to start with.
First of all, connect the RFID module using the picture below.
Then, the LED should go to digital pin 6 and GND. This will be activated when the RFID tag is over the module.
Time to code! Download GETUID.ino. This will get the UID or the tag. The only thing I changed in this code was move the printHex function to before setup() and loop(). Upload this code and in the Serial Monitor, the UID should be displayed.
Next, download RFIDLED.ino. I added the led part in this code. Upload this and hover the RFID tag close to the module. The green LED should come on!
Comments
Please log in or sign up to comment.