Arduino RFID – 7 Segment LED Display

 

Getting started

RFID

Arduino UNO, RFID and 7 segment display

I have built an RFID reader that displays some info on a 7 segment LED display. With the Arduino this is quite simple and a lot of fun. RFIDs are electronic pieces that use radio frequency electromagnetic fields to transfer data. RFIDs can also be called RFID Tags, most of them will create have an ID. This can be used to identify them individually and perform specific tasks for each one of them. In this case the different tags will produce a different result on the display. Nevertheless, you can make an RFID engage with a computer or electronic in any way that you want.

You will need

  • RC522 RFID reader
  • 7 Segment LED Display
  • 7 X 240Ω resistors
  • Jump wires
  • Breadboard
  • Arduino Uno

Assemble

To assemble everything together, I have provided an image to connect the wires and devices. You can also download the Fritzing file. Alternatively, here is an image of how everything has been connected.

Click to enlarge

Click to enlarge

Download the Fritz file here.

Download Fritz

What it does

The LED display can be able to display the information that is typed in the console. The RFID will just read what are the values of the ID and store the data in rfid.serNum[4] which in this case, I am using 102 and 46 ;. To find out the IDs’ of your tags, unhighlight the commented lines (line:372) to print the rfid.serNum[4]; on the console. You can add rfid.serNum[4],DEC; to find its decimal value or rfid.serNum[4],HEX to convert that on to hexadecimal and then use it to activate the if/else statements.

Arduino

Once you have everything connected, run the Arduino code.

Thanks!

Hope you find this helpful!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s