Arduino: How to use the RC522 RFID module.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MFRC522
RFID
README.md

README.md

Arduino: RFID

1 Description

This small script shows you how to use the RC522 module with your Arduino IDE. It works on he famous ATMega328 (Uno, Nano), as well as on the ESP8266-12e.

In this repository you will find the sketch and the used library. The library needs to be places in the standard Arduino-libraries directory. For more info about the lib, please visit: https://github.com/miguelbalboa/rfid

The basic idea behind the sketch is:

  • Recognize a RFID-card
  • Check, if the card is valid
  • If so, turn on a LED
  • Otherwise flash the LED rapid

1.1 Hardware

Required components:

  • Arduino UNO or Nano
  • RC522 RFID module
  • LED
  • 220 Ohm resistor
  • Jumper wires

Wiring for the RC522:

Arduino Pin RC522 Pin
9 RST
10 SDA
11 MOSI
12 MISO
13 SCK
3V3 3V3
GND GND

For a more detailed description, feel free to visit my website:

2 License

This project is licensed under the GNU GPLv3 open source license. Thus anybody is allowed to copy and modify the source code, provided all changes are open source too and the author is in knowledge of all done changes. This can happen either via eMail or directly on GitHub, in other words at this repository.

3 Disclaimer

I am not responsible for anything in conjunction with this project, including bugs, failure, fire, harm of equipment and harm of persons. Reasonably foreseeable misapplication:

  • Bug in the code
  • Failure of used parts due to a bug in the code or a wrong wiring diagram, including a wrong design.
  • Fire due to a wrong wiring diagram, including a wrong design.
  • Harm of equipment, meaning third party parts (cameras, flashes, etc.) due to a bug in the code or a wrong wiring diagram, including a wrong design.
  • Harm of persons due to any failure of the system, a wrong wiring diagram or a wrong behaviour.

It is your own responsibility to use these contents. Be careful, this project includes lethal electrical voltage. Put yourself in knowledge about the risks before you start with this project.