Magnetic Door System
A IoT door lock mechanism
Author: PicΔ Sebastian
GitHub Project Link: https://github.com/UPB-PMRust-Students/project-SebiP21
Descriptionβ
The Smart Magnetic Door Lock System is a security device that lets you open a door using a keypad and checks if the door was opened. If the correct password is entered on the keypad, a servo motor unlocks the door. A magnetic sensor on the door checks if it has actually been opened. When the door opens, an LED turns on and the system sends a message over Wi-Fi. The Raspberry Pi Pico W handles everything and stores the passwords on an SD card.
Motivationβ
The reason why I chose this project is because it combines several interesting and useful features: a password-protected door lock, door status detection, and Wi-Fi notifications. I believe that this project is a great way to learn how to use components like a keypad, servo motor, SD card, and magnetic sensor with a Raspberry Pi Pico W.
Architectureβ
This is the description of the system components and their interactions:
-
Keypad
- The keypad is the user input interface.
- Users input a numeric password which is read by the microcontroller.
-
Raspberry Pi Pico W
- Acts as the brain of the system.
- Reads the keypad input and compares it against a list of valid passwords stored on an SD card.
- If the password is correct, it sends a signal to open the servo motor.
- Monitors the magnetic sensor for door state changes.
- Sends a Wi-Fi message if the door is opened.
-
SD Card Module
- Stores one or more valid passwords in a text file.
- Connected to the Pico via SPI.
-
Servo Motor
- Mechanically unlocks the door when the correct password is entered.
-
Magnetic Sensor (Hall Effect)
- Detects whether the door is physically opened.
- Triggers the LED and Wi-Fi alert if the door is open.
-
LED
- Lights up when the door has been opened.
-
Wi-Fi Messaging
- The Pico W sends a message over Wi-Fi when the door is opened.
Logβ
Week 28 - 4 Mayβ
I have started the project following the steps to set-up the gitlab page and I have sketched the documentations