App Inventor ESP32 Internet of things Project

Intelligent flame detection system with ESP32

The flame detection systems are specially designed to react quickly to any appearance of flame. When it comes to protecting areas where flammable products are present, the speed of reaction is crucial to protect the installations in a concept of total safety.

Objective of this project:

In this project we will realize an intelligent fire detection system with the ESP32 card connected to the Internet network.

It mainly uses KY-026 flame sensor and buzzer.

When the flame sensor detects a flame, the ESP32 card gives the order for the buzzer to sound and sends an alert email via WIFI.

Necessary components

  • ESP32
  • KY-026 flame detector

  • Buzzer
  • Connecting wires

  • Test plate

  • Wifi network


To perform the assembly, you can connect

  • the buzzer terminal (+) to pin D4 of the ESP32 board

  • le borne (-) de buzzer à la broche GND de la carte ESP32
  • the buzzer terminal (-) to the GND pin of the ESP32 board

  • the VCC pin of the flame sensor to the 3.3V pin of the ESP32 board

  • the GND pin of the flame sensor to the GND pin of the ESP32 board

Micropython program

Here is the program of the intelligent fire detection system connected to the Internet:

Note: you must import the two libraries: ConnectWifi.py and umail.py.

0 commentaire

Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top