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

ESP32-Based Smart Display with Camera and Audio Alert System

Image of ESP32-Based Smart Display with Camera and Audio Alert System

Circuit Documentation

Summary

The circuit in question is composed of an ESP32 (30-pin variant), an ESP32-CAM module, an I2C LCD 16x2 Screen, and a buzzer. The ESP32 serves as the main microcontroller, interfacing with the LCD screen via I2C and controlling the buzzer. Additionally, it communicates with the ESP32-CAM module through serial communication. The ground and power supply nets are shared among the components, ensuring a common reference point and power distribution.

Component List

ESP32 (30 pin)

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

ESP32 - CAM

  • Description: A camera module that works with the ESP32, featuring Wi-Fi capabilities.
  • Pins: 5V, GND, IO12, IO13, IO15, IO14, IO2, IO4, VOT, VOR, VCC, IO0, IO16, 3V3

I2C LCD 16x2 Screen

  • Description: A 16x2 character LCD display that uses the I2C bus for communication.
  • Pins: SCL, SDA, VCC (5V), GND, VDD, VO, RS, RW, E, D0, D1, D2, D3, D4, D5, D6, D7, BLA, BLK

Buzzer

  • Description: An electronic buzzer for audible alerts.
  • Pins: PIN, GND

Wiring Details

ESP32 (30 pin)

  • GND connected to:
    • I2C LCD 16x2 Screen GND
    • ESP32 - CAM GND
    • Buzzer GND
  • Vin connected to:
    • I2C LCD 16x2 Screen VCC (5V)
    • ESP32 - CAM 5V
  • D23 connected to Buzzer PIN
  • D22 (SCL) connected to I2C LCD 16x2 Screen SCL
  • D21 (SDA) connected to I2C LCD 16x2 Screen SDA
  • TX2 connected to ESP32 - CAM VOR
  • RX2 connected to ESP32 - CAM VOT

ESP32 - CAM

  • GND connected to ESP32 (30 pin) GND
  • 5V connected to ESP32 (30 pin) Vin
  • VOR connected to ESP32 (30 pin) TX2
  • VOT connected to ESP32 (30 pin) RX2

I2C LCD 16x2 Screen

  • GND connected to ESP32 (30 pin) GND
  • VCC (5V) connected to ESP32 (30 pin) Vin
  • SCL connected to ESP32 (30 pin) D22
  • SDA connected to ESP32 (30 pin) D21

Buzzer

  • PIN connected to ESP32 (30 pin) D23
  • GND connected to ESP32 (30 pin) GND

Documented Code

ESP32 (30 pin) - sketch.ino

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

}

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

}

ESP32 (30 pin) - documentation.txt

(No additional documentation provided)

This concludes the documentation for the provided circuit. The wiring details and code snippets should assist in understanding the connections and basic structure of the firmware for the ESP32 microcontroller.