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

Arduino and ESP32-Based Environmental Monitoring System with Wi-Fi Connectivity

View and Edit Project In Cirkit DesignerImage of Arduino and ESP32-Based Environmental Monitoring System with Wi-Fi Connectivity

Circuit Documentation

Summary

This circuit integrates an Arduino UNO, an ESP32, and various sensors and components to create a comprehensive system. The sensors include an MQ135 gas sensor, a BME/BMP280 environmental sensor, a GP2Y1010AU0F dust sensor, and an ultrasonic sensor. Additionally, a servo motor and a buzzer are included. The circuit is designed to monitor environmental conditions and control actuators based on sensor inputs.

Component List

  1. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  2. MQ135

    • Description: Gas sensor for detecting air quality.
    • Pins: VCC, GND, A0, D0
  3. BME/BMP280

    • Description: Environmental sensor for measuring temperature, humidity, and pressure.
    • Pins: GND, SCL, SDA, VIN
  4. GP2Y1010AU0F

    • Description: Dust sensor for measuring particulate matter in the air.
    • Pins: VCC, Vout, S-GND, LED, LED-GND, V-LED
  5. Resistor

    • Description: A 200 Ohm resistor.
    • Pins: pin1, pin2
    • Properties: Resistance: 200 Ohms
  6. Electrolytic Capacitor

    • Description: A capacitor with a capacitance of 1 µF.
    • Pins: -, +
    • Properties: Capacitance: 1 µF
  7. ESP32 (30 pin)

    • Description: A microcontroller with Wi-Fi and Bluetooth capabilities.
    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
  8. Ultrasonic Sensor

    • Description: Sensor for measuring distance using ultrasonic waves.
    • Pins: +VCC, Trigger, Echo, GND
  9. Servo Motor 9G

    • Description: A small servo motor for precise control of angular position.
    • Pins: VCC 5V, PMW, GND
  10. OV7725

    • Description: Camera module for capturing images.
    • Pins: 3V3, GND, SIOC, SIOD, VSYNC, HREF, PCLK, XCLK, D9, D8, D7, D6, D5, D4, D3, D2, RESET, D1, D0, PWDN
  11. Buzzer

    • Description: An audio signaling device.
    • Pins: POSITIVE, NEGATIVE

Wiring Details

Arduino UNO

ESP32 (30 pin)

MQ135

BME/BMP280

GP2Y1010AU0F

Resistor

Electrolytic Capacitor

Ultrasonic Sensor

Servo Motor 9G

OV7725

Buzzer

Code Documentation

Arduino UNO Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the Arduino UNO. The setup() function is used to initialize any settings or configurations, and the loop() function contains the main code that runs repeatedly.


This documentation provides a comprehensive overview of the circuit, including a detailed component list, wiring details, and the code used in the Arduino UNO.