https://github.com/mhamidjamil/door-monitoring
Project uses servo motor to unlock door lock via Bluetooth/WIFI and if monitoring is active, it will send notification via WIFI if door opens
https://github.com/mhamidjamil/door-monitoring
arduino bluetooth blynk door-lock esp8266 servo-motor
Last synced: 7 months ago
JSON representation
Project uses servo motor to unlock door lock via Bluetooth/WIFI and if monitoring is active, it will send notification via WIFI if door opens
- Host: GitHub
- URL: https://github.com/mhamidjamil/door-monitoring
- Owner: mhamidjamil
- Created: 2023-04-08T18:55:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T18:29:31.000Z (11 months ago)
- Last Synced: 2025-02-28T19:55:46.942Z (7 months ago)
- Topics: arduino, bluetooth, blynk, door-lock, esp8266, servo-motor
- Language: C++
- Homepage:
- Size: 838 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
(! Valid for door security folder only)
# Blynk ESP32/ESP8266 Door Monitoring System
This is a simple door monitoring system using an ESP32/ESP8266 and Blynk app.
## Requirements
- Arduino IDE
- ESP32 or ESP8266 board support for Arduino IDE
- Blynk app installed on your smartphone## Hardware
- ESP32/ESP8266 board
- Magnetic door switch
- Servo motor
- LEDs
- Resistors
- Wires
- Breadboard## Installation
1. Install the ESP32 board support for Arduino IDE. Follow [these instructions](https://github.com/espressif/arduino-esp32#installation-instructions).
2. Install the Blynk library for Arduino IDE. In the Arduino IDE, go to Sketch > Include Library > Manage Libraries, then search for "Blynk" and install it.
3. Download or clone this repository to your computer.
4. Open the `esp32-door-monitoring-system.ino` file in Arduino IDE.
5. Modify the following lines with your Wi-Fi and Blynk credentials in config.h file (and don't forget to create it too in same folder as `config.h`). :your config file will be look like this:
```
#ifndef CONFIG_H
#define CONFIG_H#define MY_ID "INSERT_TEMPLATE_ID_HERE"
#define MY_TEMPLATE_NAME "INSERT_TEMPLATE_NAME_HERE"
#define MY_AUTH_TOKEN "INSERT_AUTH_TOKEN_HERE"
#define MY_SSID "INSERT_WIFI_SSID_HERE"
#define MY_PASSWORD "INSERT_WIFI_PASSWORD_HERE"
#endif // CONFIG_H
```6. Connect the hardware as shown in the diagram below.
7. Upload the code to your ESP32 board.
8. Open the Blynk app on your smartphone and create a new project.
9. Add the following widgets to your project:- Slider widget on V3
- Button widget on V710. Set the properties of the widgets as follows:
- Slider widget on V3:
- Output: Virtual Pin V3
- Min value: 0
- Max value: 180
- Button widget on V7:
- Output: Virtual Pin V7
- Mode: Switch
- OFF value: 0
- ON value: 111. Run the project and enjoy monitoring your door!