This example uses the RFID technology to make a Micro Servo turn with the help of an Arduino Uno.
- Arduino Uno
- Tower Pro Micro Servo 9g SG90
- RFID-RC522
SDA------------------------Digital 10
SCK------------------------Digital 13
MOSI----------------------Digital 11
MISO----------------------Digital 12
IRQ------------------------ don't connect
GND-----------------------GND
RST------------------------Digital 9
3.3V------------------------3.3V (DO NOT CONNECT TO 5V)
Red wire--------5V Brown wire-------Ground Orange Wire----- Digital 7
Download this library for Arduino IDE and include it https://github.com/AritroMukherjee/RFID
To find your RFID card's UID, go to File -> Examples -> MFRC522 -> DumpInfo, after that open the Serial Monitor, bring the RFID card to the reader and wait until all of the information is displayed. You should see your Card UID, write it down/save it.
Open the Sketch file provided here, and change the UID and upload the code. If all goes smoothly, this should work.