TURN ON LIGHTS WITH RFID CARD

7,912

42

6

About: BIG THINKS, BIG THINGS! FOLLOW US ON YOUTUBE: https://www.youtube.com/channel/UCODcdPwhBerlNMSHB_ATEow

Hi guys! Today we are going make Rfid Card controlled light switch.

When we show first card to reader lights will turn on. When we show second card lights will turn off.

Also you will learn what is the EEPROM.

Let's start..

Watch the video. If you have a problem, you can add a comment..:)
If you like my project please subscribe my YouTube Channel SUBSCRIBE NOW!

Please follow me on Instructables for more useful projects!.:)

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: What Will We Use?

  • Arduino
  • RFID Module
  • Relay Module
  • Breadboard

Step 2: Connections;

RC522 to Arduino;

3.3v to 3.3v

RST to D9

GND TO GND

IRQ TO (NONE)

MISO TO D12

MOSI TO D11

SCK TO D13

SDA TO D10

Relay To Arduino;

Gnd to Gnd

Vcc to 5v

Signal to D7

Step 3: EEPROM Using;

You will see 2 different code in data. What should you do?

  1. Firstly you should upload the ''rfid_setup'' code,
  2. Open the serial monitor
  3. You have to show 2 different idcards in 2 different times
  4. If you done this work, you can upload the second code to your Arduino
  5. Finally you can use your device.

Step 4: Code Download Link:

You can download the arduino code from this link;

>>> Download Now! <<<

If you didn't read the last step please read!

Step 5: Test;

Please watch the video.

If you like my project please subscribe my YouTube ChannelSUBSCRIBE NOW!

Please follow me on Instructables for more useful projects!.:)

Invention Challenge 2017

Participated in the
Invention Challenge 2017

Power Supply Contest

Participated in the
Power Supply Contest

Share

    Recommendations

    • Indoor Lighting Contest

      Indoor Lighting Contest
    • Make It Fly Challenge

      Make It Fly Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    6 Discussions

    0
    None
    Jupipupi123Jupipupi123

    Answer 7 months ago

    Please my relay is not turning on when i put the card on the receiver

    1
    None
    AvishK3

    Question 1 year ago

    it is not working with my relay please help

    1
    None
    AvishK3

    1 year ago

    i tried everything but it is not working with my relay i have an

    5v Relay Module for Arduino ARM PIC AVR MCU 5V Indicator Light LED 1 Channel Relay Module please help
    0
    None
    AlexR393

    Question 1 year ago on Step 2

    Hello, I am Trying to use this code for my dissertation. I get the first code to notice my card and fob and I receive 2 ID numbers for these. But when it tells me to upload the working code it say's exit status 1

    'kart1' was not declared in this scope

    and shows an error

    Please could you help

    Screen Shot 2018-03-02 at 21.26.34.png
    1 answer
    0
    None
    PageworkAlexR393

    Answer 1 year ago

    Where you find It has (kart1) and (kart2) just change the code .

    Change ...

    Serial.println(kart1);

    Serial.println(kart2);

    To ...

    Serial.println(card1);

    Serial.println(card2);