Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP32-Based Environmental Monitoring System with OLED Display

Image of ESP32-Based Environmental Monitoring System with OLED Display

Circuit Documentation

Summary of the Circuit

The circuit in question appears to be a sensor data collection and display system utilizing an ESP32 microcontroller as the central processing unit. The ESP32 is interfaced with a DHT11 temperature and humidity sensor, an MPU-6050 accelerometer and gyroscope, a generic temperature sensor, and an OLED display for output. The ESP32 manages data communication with the sensors and the display, likely to monitor environmental conditions and motion, and to present this data to a user.

Component List

ESP32 (30 pin)

  • Description: A microcontroller with Wi-Fi and Bluetooth capabilities, featuring a wide range of GPIO pins for interfacing with various peripherals.
  • 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

DHT11

  • Description: A basic, low-cost digital temperature and humidity sensor.
  • Pins: DATA, GND, VCC

OLED 1.3"

  • Description: A small OLED display for visual output, typically used for displaying text, graphics, or small images.
  • Pins: GND, VCC, SCL, SDA

MPU-6050

  • Description: A motion processing module that contains a MEMS accelerometer and a MEMS gyro in a single chip.
  • Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT

Temperature Sensor

  • Description: A digital temperature sensor for measuring ambient temperature.
  • Pins: Temp GND Black, Temp VDD Red, Temp DQ Data Yellow

Wiring Details

ESP32 (30 pin)

  • GND connected to common ground net.
  • Vin connected to common VCC net.
  • D22 (SCL) connected to MPU-6050 SCL.
  • D21 (SDA) connected to MPU-6050 SDA.
  • D18 connected to DHT11 DATA.
  • D5 connected to Temperature Sensor Temp DQ Data Yellow.
  • D4 (SDA) connected to OLED SDA.
  • D15 (SCL) connected to OLED SCL.

DHT11

  • DATA connected to ESP32 D18.
  • GND connected to common ground net.
  • VCC connected to common VCC net.

OLED 1.3"

  • SDA connected to ESP32 D4.
  • SCL connected to ESP32 D15.
  • GND connected to common ground net.
  • VCC connected to common VCC net.

MPU-6050

  • SCL connected to ESP32 D22.
  • SDA connected to ESP32 D21.
  • GND connected to common ground net.
  • VCC connected to common VCC net.

Temperature Sensor

  • Temp DQ Data Yellow connected to ESP32 D5.
  • Temp GND Black connected to common ground net.
  • Temp VDD Red connected to common VCC net.

Documented Code

No code has been provided for the microcontrollers in the circuit. Typically, the code would be responsible for initializing the peripherals, reading data from the sensors, processing that data, and displaying relevant information on the OLED screen. It would also handle any communication protocols such as I2C for the OLED and MPU-6050, and one-wire or similar for the temperature sensor. Without the code, we cannot document the specific functionalities implemented in the firmware.