Skip to content

Setup the RFID reader

Alex Simon edited this page Mar 29, 2015 · 2 revisions

Setup the hardware

You will need to connect 6 pins from the reader to the ICSP pins in the Arduino Uno and another pin to Digital pin 9

Arduino RFID Pins

  • MISO (Master In Slave Out) - The Slave line for sending data to the master
  • MOSI (Master Out Slave In) - The Master line for sending data to the peripherals
  • SCK (Serial Clock) - The clock pulses which synchronise data transmission generated by the master and one line specific for every device
  • SDA (SS) (Slave Select) - the pin on each device that the master can use to enable and disable specific devices

NOTE: It is better to solder the pins to reader in order to ensure it doesn't lose connectivity. If this happens the reader will need to be reset.

Setup the library

  1. Download the RFID library from here
  2. Extract it
  3. Copy it to your Arduino folder and reopen the IDE
  4. Now you should see this:
    Library

### Load a sketch

  • Print UID: this sample demonstrate a very simple way of reading the UID of a card. Open Tools > Serial Monitor to see the output
Clone this wiki locally