Finished code for Door+ module. It's develop branch from private project repository.
Copyright (C) 2021 Door+ d1n22@onet.pl
This file is part of the Door+ project.
The Door+ project can not be copied and/or distributed without the express
permission of author Dominik Nuszkiewicz d1n22@onet.pl.
Door+ is automatic, contactless door module with IoT elements based on ESP32. It was made for engineering project on Warsaw University of Technology. It was built with MQTT server - https://hivemq.com Physical module has a few functions. Main of these are:
- Contactless opening and closing doors with ultrasonic motion sensor.
- Counting people in the room - based on motion sensor too.
- Remote communication provided by MQTT server and connected application of smartphone.
I used:
- https://hivemq.com as MQTT server
- MQTT Dash - app to send messages to MQTT
- PlatformIO IDE Ver 2.2.1
- Visual Studio Code Ver 1.52.1
- Tinkercad to create 3D printings
- PubSubClient
- ESPAsyncWiFiManager
- ESPASyncWebServer
- Adafruit GFX Library
- AsyncTCP
- PubSubClient
Project was created with:
- Wemos D1 UNO R32 ESP32 WIFI Bluetooth
- Motion sensor HC-SR04 x2
- OLED monitor( SSD1306, 128x64px)
- Electric actuator LA10 500N 13mm/s, 12V, length max = 15 cm
- Power supply 12V for actuator
- Relays module with 2 canals 5V 10A/250VAC
- Power supply 9V for Wemos
- 3D Printings
- some typical cables and mini breadboard






