This guide will teach you how to connect and use the RobotGeek RFIDuino Shield to read 125 KHz EM4102 RFID tags. It will also give you an overview of using the onboard LEDs and buzzer, XBee wireless modules, and external Input/Output with the RFIDuino shield.
RFID stands for Radio Frequency IDentification. The RFID system consists of two components, an RFID reader and an RFID tag. The reader interacts wirelessly with a tag to retrieve a unique identification number. The system can be used for many things from opening doors to tracking inventory.
The RFIDuino Shield for Arduino adds RFID capabilities to your Geekduino/Arduino. The shield fits on top of your arduino, making solid connections to the RFIDuino's circuitry. The built in buzzer and LEDs allow you to get stared right away by making visual and audio cues depending on the data that is on a given tag. The shield also allows you to add components to expand your system. You can use this to make your own door locks, inventory systems and more!
This guide will refer to the RobotGeek Geekduino, the Arduino Compatible microcontroller recommended for use with RobotGeek products. However this kit will also work with the Arduino Uno, or other Arduino variants like the Seeeduino.
This guide is designed for the RFIDUino v1.2. However this hardware guide and RFIDuino Library are still compatible with the v1.1 hardware. More information on hardware differences can be found here.
- 1 x Piezo Buzzer - Digital Pin 5
- 1 x Red LED - Digital Pin 8
- 1 x Green LED - Digital Pin 4
- 1 x XBee socket - Digital Pins 0/1 RX/TX
- 4 x 3-pin RobotGeek Digital I/O Ports - Digital Pins 9, 10, 11, 12
- 4 x 3-pin RobotGeek Analog Output Ports - Analog Pins 0,1,2,3
- 1 x 4-pin I2C port - Analog Pins 4/5
- 1 x 4-pin antenna port
- 1 x Power Port
- Analog 6/7 pin header (Geekduino Only)
- 1 x EM4905 Chip - Uses Digital Pins 2, 3, 6 and 7
Range and Tag Information
- The average read range of our reader is 70-100mm. This may vary depending on how much power your giving the system and the type of tag you are using. Learn more here
- Our tags are read only. Each tag comes with a predetermined unique 40-bit (5-byte) ID number.
- Our tags and reader use the EM4102 Standard.
- Tags that are not in the EM4100 family may not work with the RFIDuino
If you have not already set up your Geekduino/ Arduino compatible board, please see the Geekduino Getting Started Guide. This guide will assist you in getting set up with the Arduino software as well as install libraries and test sketches for the RFIDuino, which will be installed as part of the
If you would prefer to just install the RFIDuino library, you can find a copy here. Once unzipped, move the 'RFIDuino' folder into your 'libraries' folder and restart the Arduino IDE.
Installing the Shield
To Install the RFIduino Shield, line the pins up with the bottom of the shield and the top of the Geekduino/Arduino. The male pins on the Shield should slide into the female pins on the Geekduino/Arduino. Once the Shield is installed, you can use the included 2-pin cable to connect the Shield to the Antenna.
You can program the Geekduino/Arduino with the shield plugged in. However, you cannot program the shield if you have an XBee module plugged in. You will have to remove the module or the shield to program the Arduino.
Demo Code Guides
Additional Documentation and Information
- RFIDuino Library Documentation - Information on Functions and properties of the RFIDuino Library
- Read Ranges - Read ranges for different tags and substrates
- Advanced ID Number Reference - Different ways to display and interpret RFID numbers
- V1.1 vs V1.2 Hardware - hardware guide
The following code will go more in-depth into working with the RFIDuino library at a lower level. These tutorials are great if your curious about how the RFIDuino Library works.