Introduction: IOT CA2 - Smart Door
It is a door locking system for a room.
Registered users will be able to use a RFID card to get in, and the lights for the room will turn on. If a wrong RFID card is tapped, the camera will then take a picture, followed by a red led light blinking once. Furthermore, the room has an anti-intrusion feature where an alarm is beeped if motion is detected, when the lights are off. It also has a CCTV function to monitor the room through the web app.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Hardware Setup for RPI
1. I2C LCD 16x2 screen
2. Pi camera
3. MFRC522 RFID reader
4. RFID card
5. 2x Red LED, 1x Green LED
6. HC-SR501 PIR Motion Sensor
8. 14x M/F Jumper Wires
9. 8x M/M Jumper Wires
10. 3x 220 Ω Resistor
Step 2: Python Files
Files to run the program:
Step 3: Run the Programs
Type python RFIDdoor.py to run the door program
For the room type python room.py and python server.py to start up the web app.