Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32-Based Carbon Monoxide Detector with OLED Display and Alert System

View and Edit Project In Cirkit DesignerImage of ESP32-Based Carbon Monoxide Detector with OLED Display and Alert System

Circuit Documentation

Summary

This circuit integrates various components to perform a set of functions centered around the ESP32 microcontroller. The ESP32 serves as the central processing unit, interfacing with an OLED display, a carbon monoxide gas sensor (MQ-7), a buzzer, and two LEDs (red and green). The circuit is designed to monitor the environment for carbon monoxide levels, provide visual feedback through the LEDs, audible alerts through the buzzer, and display data on the OLED screen.

Component List

ESP32 (30 pin)

LED: Two Pin (red)

LED: Two Pin (green)

128x64 OLED Display (I2C IIC SPI Serial)

MQ-7 SENSOR CARBON MONOXIDE GAS

Buzzer

Wiring Details

ESP32 (30 pin)

LED: Two Pin (red)

LED: Two Pin (green)

128x64 OLED Display (I2C IIC SPI Serial)

MQ-7 SENSOR CARBON MONOXIDE GAS

Buzzer

Documented Code

No code was provided for the microcontroller. The expected functionality based on the wiring would include reading the digital output from the MQ-7 sensor, controlling the state of the LEDs and buzzer, and updating the OLED display with relevant information. The code would likely involve initializing the I2C communication for the OLED display, setting up GPIO pins for the LEDs and buzzer, and implementing logic to handle sensor readings and trigger alerts.