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

ESP32-Based Smart Air Quality and Vibration Monitoring System with Web Control

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Air Quality and Vibration Monitoring System with Web Control

Circuit Documentation

Summary of the Circuit

The circuit is designed to monitor and control various devices based on environmental inputs. It includes a vibration sensor (SW-420), a smoke sensor (MQ-2), a DC motor speed controller (CCMHC 10A), a power supply (12V 5A), two DC motors, an exhaust fan, three LEDs (red, yellow, green), a resistor, an LM2596 step-down module, an ESP32 microcontroller, four solid-state relays (SSR-40A and SSR-25A), two limit switches, two fuses, a circuit breaker, and an AC supply. The ESP32 microcontroller is programmed to detect vibrations and smoke, control an exhaust fan and a DC motor, and provide visual alerts using LEDs. It also hosts a web server for remote monitoring and control.

Component List

CCMHC 10A DC Motor Speed Controller (PWM)

MQ-2 SENSOR

POWER SUPPLY 12V 5AMP

DC Motor

Exhaust Fan 12"

LED: Two Pin (red, green, yellow)

Resistor

LM2596 Step Down Module

ESP32 (30 pin)

SSR-40A

SSR-25A

Limit Switch

Fuse

Circuit Breaker

Ac Supply

SW-420 Vibration Sensor

Wiring Details

CCMHC 10A DC Motor Speed Controller (PWM)

MQ-2 SENSOR

POWER SUPPLY 12V 5AMP

DC Motor

Exhaust Fan 12"

LED: Two Pin (red, green, yellow)

Resistor

LM2596 Step Down Module

ESP32 (30 pin)

SSR-40A

SSR-25A

Limit Switch

Fuse

Circuit Breaker

Ac Supply

SW-420 Vibration Sensor

Documented Code

/*
 * This Arduino Sketch controls a vibration detector and a smoke detector.
 * If vibration is detected, it alerts the user via serial print and web.
 * If smoke is detected, it activates an exhaust fan through a solid-state relay.
 * The exhaust fan can also be controlled via web, and the DC motor can only
 * be controlled via web. It also sets up a web server to monitor the status
 * and control the fan and motor. Additionally, it uses LEDs to indicate the
 * status: green for