The New (Improved) Arduino RFID Kit with sensors, motors, and motor drivers. Arduino Starter Kit is a great way to get started with Arduino, coding, and electronics! You will have all the components you need to make fun projects planet, but it is also very intriguing and fun to learn about all the different ways in which we utilize electricity.
This is why we are always excited to get unique Arduino Kits and packs like this Arduino RFID Kit, which helps you learn all about the various aspects of electronics, with this RFID kit specifically focusing on Wireless RFID and NFC communications. Including a full complement of sensors, modules, connectors, cables, as well as RFID.
1 x UNO R3 board
1 x BreadBoard shield
1 x RFID Module
1 x Keychain IC
1 x Contactless Type IC Card
1 x 1602 LCD module
1 x 5V Relay
1 x DS1302 Clock Module
1 x Voice Detection Module
1 x Temperature humidity sensor module
1 x Fluid Level detection module
1 x 4*4 keypad module
1 x XY Joystick
1 x Servo
1 x Stepper motor driver Board
5 x Blue LED
5 x Yellow LED
5 x Red LED
5 x 1 K Resistor
5 x 10 K Ohm Resistor
8 x 220 Ohm Resistor
2 x Buzzer
4 x (Hat for momentary buttons)
1 x LM35 sensor module
3 x photoresistor
1 x Infrared receiver
1 x Adjustable potentiometer
1 x a digital control
1 x 4 digital tube
1 x 8 * 8 dot-matrix Memory
1 x 74HC595 N chips
1 x IR remote control
1 x Breadboard Jumper * 30
1 x Male to Female Dupont lines * 30
1 x USB cable
1 x Real-time clock
Now we will give some info about the RFID device and how to connect it to Arduino and how to use it to read a Tag Card:
The RC522 module has total of 8 pins that interface it to the outside world. The connections are as follows:
VCC supplies power for the module. This can be anywhere from 2.5 to 3.3 volts. You can connect it to 3.3V output from your Arduino. Remember connecting it to a 5V pin will likely destroy your module!
RST is an input for Reset and power-down. When this pin goes low, hard power-down is enabled. This turns off all internal current sinks including the oscillator and the input pins are disconnected from the outside world. On the rising edge, the module is reset.
GND is the Ground Pin and needs to be connected to the GND pin on the Arduino.
IRQ is an interrupt pin that can alert the microcontroller when the RFID tag comes into its vicinity.
MISO / SCL / Tx pin acts as Master-In-Slave-Out when the SPI interface is enabled, acts as a serial clock when the I2C interface is enabled, and acts as serial data output when UART interface is enabled.
MOSI (Master Out Slave In) is SPI input to the RC522 module.
SCK (Serial Clock) accepts clock pulses provided by the SPI bus Master i.e. Arduino.
SS / SDA / Rx pin acts as Signal input when the SPI interface is enabled, acts as serial data when the I2C interface is enabled, and acts as serial data input when the UART interface is enabled. This pin is usually marked by encasing the pin in a square so it can be used as a reference for identifying the other pins.
Now that we know everything about the module, we can begin hooking it up to our Arduino!
To start with, connect VCC pin on the module to 3.3V on the Arduino and GND pin to the ground. The pin RST can be connected to any digital pin on the Arduino. In our case, it’s connected to digital pin#5. The IRQ pin is left unconnected as the Arduino library we are going to use doesn’t support it.
Now we are remaining with the pins that are used for SPI communication. As the RC522 module requires a lot of data transfer, they will give the best performance when connected up to the hardware SPI pins on a microcontroller. The hardware SPI pins are much faster than ‘bit-banging’ the interface code using another set of pins.
Note that each Arduino Board has different SPI pins which should be connected accordingly. For Arduino boards such as the UNO/Nano V3.0, those pins are digital 13 (SCK), 12 (MISO), 11 (MOSI), and 10 (SS).
If you have a Mega, the pins are different! You’ll want to use digital 50 (MISO), 51 (MOSI), 52 (SCK), and 53 (SS). Refer below table for quick understanding.
Once you have everything hooked up you are ready to go!
Communicating with the RC522 RFID module is a bunch of work, but luckily for us, there’s a library called MFRC522 library which simplifies reading from and writing to RFID tags. Download the library first, just click this button to download the zip:
This sketch will not write any data to the tag. It just tells you if it managed to read the tag, and displays some information about it. This can be very useful before trying out any new tag!
Go to the beginning of the sketch and make sure that the RST_PIN is correctly initialized, in our case we’re using digital pin #5 so change it to 5!
OK, now upload the sketch and open the Serial Monitor. As soon as you bring the tag closer to the module, you’ll probably get something like the following. Do not move the tag until all the information is displayed.