RFID Control LED

Introduction

125KHz RFID Reader can read data from RFID tag. It’s can use for some IoT or Intelligent Control System.

This demo will show you how to Read data from RFID tag, and control a LED.

Hardware Required:

  • Arduino

  • 125KHz RFID Reader

  • RFID tag

Circuit:

RFID Reader connect to D2, D3.

Code:

RFID Reader module has internal control IC which make it easy to control. When there’s a RFID tag close to the Reader, then it’ll output the ID of the tag via UART.

You can do some processing in the code for different ID.

The folowing code didn’t judge the ID, whatever tag close to Reader, it can change the state of the led.

Open Arduino IDE, click File -> Sketchbook -> RFID Reader.

Help us make it better

Welcome to the new documentation system of Seeed Studio. We have made a lot of progress comparing to the old wiki system and will continue to improve it to make it more user friendly and helpful. The improvement can't be done without your kindly feedback. If you have any suggestions or findings, you are most welcome to submit the amended version as our contributor via Github or give us suggestions in the survey below, it would be more appreciated if you could leave your email so that we can reply to you. Happy Hacking!