RFID Reader With Servo

7,947

32

5

Introduction: RFID Reader With Servo

In this instruction I'm just going to tell you about making a simple circuit with 2 LED's, a servo ,an RFID reader and a arduino uno.

You will need:

- 2 LED (2 different collors)
- a servo motor
- an RFID reader and key
- an arduino uno
- a few wires
- 2x 10kohm resistors
-a breadboard

Step 1: Wiring

The wiring is very simple.

RFID reader:

- RX and TX to pin 10 and 11 respectively ( the position of these pins on your RFID reader depends on the type, therefore I'm not giving a diagram)

LED's

- red: pin 8
- blue: pin 7

Servo:

- pin 9

Step 2: Programming

After the wiring is done you can start to program the arduino.

The goal is to have the servo move and the blue LED light up , when the RFID key passes in front of the coil.

The code is very straigt forward.

It uses the Servo and the SoftwareSerial library to control the servo and the RFID reader.

Step 3: Result

The result of your wiring and coding should be that:

- The servo moves and the blue LED lights up when waving the RFID key in front of the coil.

- After a while the red light goes back on and the servo returns to its original position.

If this is the case, then congratulations.

If not, check the code and wiring for errors, and try again.

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    5 Discussions

    0
    TyMeowBlackBelt
    TyMeowBlackBelt

    3 months ago

    I made a servo motor work I just wish I new about this I would have used it for my school project

    0
    KevinB554
    KevinB554

    1 year ago

    how do I configure the RFID tag?

    0
    SarahB400
    SarahB400

    3 years ago

    hi, i'm new with the arduino... i have a rfid rc522... how should i wire it?

    0
    Wrrr 10-G
    Wrrr 10-G

    4 years ago

    Open Sesame!

    0
    DIY Hacks and How Tos

    Cool project. This kind of setup would let you make all sorts of wireless sensors.