DIY ESP32 Blinker: Designing and Building a Temperature Alarm Device Using ESP32
by ickey in Circuits > Arduino
124 Views, 1 Favorites, 0 Comments
DIY ESP32 Blinker: Designing and Building a Temperature Alarm Device Using ESP32

DIY ESP32 Blinker: Designing and Building a Temperature Alarm Device Using ESP32



- Hardware Materials:
- 1 * ESP32 development board
- 1 * DHT11 temperature and humidity module
- 1 * MQ-2 smoke module
- 1 * MX1508 motor driver module
- 1 * DC motor
- 1 * OLED display module [white] [0.96 inches]
- 1 * Buzzer module
- 1 * MLX90614 infrared temperature measurement module
- 1 * MICRO data cable [0.5m]
- 1 * Battery [USB-A/microUSB]
- Other potential components required (breadboard, resistors, capacitors, wires/DuPont wires, etc.)
- Possible tools needed (multimeter, soldering iron and solder, pliers/scissors, wire strippers/lighter, regular tape/electrical tape/glue gun, etc.)
- Functionality:
Step1:The ESP32 development board reads temperature and humidity using the DHT11 sensor module, displaying the environmental temperature and humidity on the OLED screen and mobile app. When the temperature exceeds a certain level, the fan will be turned on.
Step2: The ESP32 development board tracks smoke gas concentration using the MQ-2 smoke sensor module. When the concentration surpasses a predetermined level, the buzzer sounds an alarm. Both the current smoke concentration and the alarm status are displayed on the OLED screen and accessible via the mobile app.
Step3: The ESP32 development board measures both object and ambient temperatures using the MLX90614 infrared thermometer module. If the body temperature exceeds a specified threshold, warning messages will be displayed on the OLED screen and the mobile app
Step4: Users can set the smoke concentration threshold via the mobile app.
Step5: Users can configure the environmental temperature threshold through the mobile app.
Step6: Users can set the human body temperature threshold via the mobile app.
For any details not specifically covered, please consult the requirements and concept images/videos for guidance.
- post-update circuit diagram
- Schematic diagram:













- complete Arduino code
Below is the detailed process of the development code.

- Effect Demonstration
- Blinker APP Mobile Interface
