+21622886281
ESP32 KY-026 sensor Project

Fire detection system controlled by ESP32

Objective of this project:

In this project we will realize a fire detection system with the ESP32 card. It mainly uses a KY-026 flame sensor, and a buzzer.

When the flame sensor detects a fire, the ESP32 board instructs the buzzer to sound.

Necessary components

  • ESP32
  • KY-026 sensor
  • Buzzer
  • connecting wires

  • a test plate

Mounting

To perform the assembly, you can connect

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

  • the buzzer terminal (-) to the GND pin of the ESP32 board

  • pin DO of the flame sensor to pin D34 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 fire detection system:

 




0 commentaire


Leave a comment

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

Scroll to Top