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
- Arduino UNO or Nano
- RC522 RFID module
- 220 Ohm resistor
- Jumper wires
Wiring for the RC522:
|Arduino Pin||RC522 Pin|
For a more detailed description, feel free to visit my website:
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.
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.