Technical requirements
This chapter will require you to have the following hardware and software installed:
- Hardware:
- ESP32
- A key fob
- The RFID RC522 module
- USB cable A male to micro B male
- Software:
- Mosquitto client.
- Arduino IDE.
- Command prompt (you already have this on Windows).
- The
SPI.h
andMFRC522.h
libraries for Arduino. You can find these libraries at https://www.arduino.cc/en/reference/SPI and https://github.com/miguelbalboa/rfid, respectively. - A diagramming software such as Draw.io, as described in previous chapters
- Fritzing.
You can access the GitHub folder that contains the code for this chapter at https://github.com/PacktPublishing/IoT-Made-Easy-for-Beginners/tree/main/Chapter04/.