-
Notifications
You must be signed in to change notification settings - Fork 0
Setup the RFID reader
Alex Simon edited this page Mar 29, 2015
·
2 revisions
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
- 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.
- Download the RFID library from here
- Extract it
- Copy it to your Arduino folder and reopen the IDE
- Now you should see this:
### 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