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

ESP32-Based Smart Obstacle Detection System with LCD Display and Servo Control

Image of ESP32-Based Smart Obstacle Detection System with LCD Display and Servo Control

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, a 16x2 I2C LCD, a Micro Servo 9G, and multiple IR sensors. The circuit is designed to interface various sensors and actuators with the ESP32, which serves as the central control unit. The document includes a component list, wiring details, and code documentation.

Component List

16x2 I2C LCD

  • Description: A 16x2 character LCD display with I2C interface.
  • Pins: GND, VCC, SDA, SCL

Micro Servo 9G

  • Description: A small servo motor used for precise control of angular position.
  • Pins: GND, +5V, PWM

IR Sensor

  • Description: Infrared sensor used for object detection.
  • Pins: out, gnd, vcc

ESP32

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

Wiring Details

16x2 I2C LCD

  • GND: Connected to ESP32 GND
  • VCC: Connected to ESP32 3V3
  • SDA: Connected to ESP32 D21
  • SCL: Connected to ESP32 D22

Micro Servo 9G

  • GND: Connected to ESP32 GND
  • +5V: Connected to ESP32 3V3
  • PWM: Connected to ESP32 D15

IR Sensor 1

  • out: Connected to ESP32 D4
  • gnd: Connected to ESP32 GND
  • vcc: Connected to ESP32 3V3

IR Sensor 2

  • out: Connected to ESP32 D2
  • gnd: Connected to ESP32 GND
  • vcc: Connected to ESP32 3V3

IR Sensor 3

  • out: Connected to ESP32 D5
  • gnd: Connected to ESP32 GND
  • vcc: Connected to ESP32 3V3

IR Sensor 4

  • out: Connected to ESP32 D18
  • gnd: Connected to ESP32 GND
  • vcc: Connected to ESP32 3V3

IR Sensor 5

  • out: Connected to ESP32 D23
  • gnd: Connected to ESP32 GND
  • vcc: Connected to ESP32 3V3

IR Sensor 6

  • out: Connected to ESP32 D35
  • gnd: Connected to ESP32 GND
  • vcc: Connected to ESP32 3V3

IR Sensor 7

  • out: Connected to ESP32 D34
  • gnd: Connected to ESP32 GND
  • vcc: Connected to ESP32 3V3

IR Sensor 8

  • out: Connected to ESP32 D32
  • gnd: Connected to ESP32 GND
  • vcc: Connected to ESP32 3V3

Code Documentation

No code is provided for this circuit. If code is added in the future, it should be documented here with detailed explanations of its functionality and how it interacts with the hardware components.


This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and a placeholder for code documentation. This should serve as a useful reference for understanding and replicating the circuit.