Practical – Creating a secure smart lock system
In this practical, we will create a secure smart lock system using an Arduino board, an Radio-Frequency Identification (RFID) reader, and an electronic lock. The focus will be on implementing security best practices and risk management principles to ensure the privacy and safety of the system.
Materials
We can start off by taking a look at the following hardware and software required for this practical:
- Keyestudio Arduino Super Starter Kit
- MFRC522 RFID reader module
- Electronic lock or solenoid
- Jumper wires
- AWS account
Part 1 – Setting up the Arduino board and RFID reader
We can now look at setting up our hardware to be then loaded with the software.
- Connect the Arduino board to your computer using a USB cable.
- Connect the MFRC522 RFID reader module to the Arduino board using the following wiring:
- SDA to pin 10
- SCK to pin 13
- MOSI to pin 11
- MISO to pin 12
- IRQ to unconnected
- GND...