
hi
Dependencies: 4DGL-uLCD-SE Servo HC_SR04_Ultrasonic_Library mbed-rtos mbed
You are viewing an older revision! See the latest version
Homepage
Smart Door Lock¶
Overview¶
A smart door lock system was designed with the purpose of adding some sort of security to any door. A servo was connected to a door lock which locks and unlocks it. The door can be locked and unlocked using a an app on a phone, pushbuttons and timers which lock the door after a certain time. Sonar was used to determine if the door is closed or open. A speaker and an amplifier are included which are used as an alarm that goes off when the door is opened without being authorized. An LCD was used to display the current settings.
Wiring¶
MBED | Adafruit BLE | Amplifier | Servo | Speaker | Sonar | uLCD cable | ||||
---|---|---|---|---|---|---|---|---|---|---|
Vout | table | vvf | ||||||||
Ground | gnd,CTS | table | - | Gnd | Gnd | |||||
Vu | Vin | table | Vcc | 5V | ||||||
P6 | table | trig | ||||||||
P7 | table | echo | ||||||||
P8 | table | |||||||||
P9 | RXI | table | ||||||||
P10 | TXO | table | ||||||||
P13 | table | TX | ||||||||
P14 | table | RX | ||||||||
P15 | table | RESET | ||||||||
P20 | table | |||||||||
P21 | le | signal | ||||||||
Vin | + |