ESP32-Based Smart IR Sensor System with Servo and LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, multiple IR sensors, a servo motor, and a 20x4 I2C LCD panel. The ESP32 serves as the central controller, interfacing with the IR sensors to detect objects, controlling the servo motor, and displaying information on the LCD panel.
Component List
ESP32 (30 pin)
- 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, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
IR Sensor
- Description: Infrared sensor used for object detection.
- Pins: out, gnd, vcc
Servo
- Description: A servo motor used for precise control of angular position.
- Pins: GND, VCC, PWM
20x4 I2C LCD Panel
- Description: A 20x4 character LCD display with I2C interface.
- Pins: GND, VCC, SDA, SCL
Wiring Details
ESP32 (30 pin)
- D33: Connected to
outpin of IR Sensor - D25: Connected to
outpin of IR Sensor - D26: Connected to
outpin of IR Sensor - D27: Connected to
outpin of IR Sensor - D14: Connected to
outpin of IR Sensor - D12: Connected to
outpin of IR Sensor - D13: Connected to
PWMpin of Servo - D22: Connected to
SCLpin of 20x4 I2C LCD Panel - D21: Connected to
SDApin of 20x4 I2C LCD Panel - GND: Connected to
gndpins of all IR Sensors, Servo, and 20x4 I2C LCD Panel - 3V3: Connected to
vccpins of all IR Sensors, Servo, and 20x4 I2C LCD Panel
IR Sensor
- out: Connected to
D33pin of ESP32 - out: Connected to
D25pin of ESP32 - out: Connected to
D26pin of ESP32 - out: Connected to
D27pin of ESP32 - out: Connected to
D14pin of ESP32 - out: Connected to
D12pin of ESP32 - gnd: Connected to
GNDpin of ESP32 - vcc: Connected to
3V3pin of ESP32
Servo
- GND: Connected to
GNDpin of ESP32 - VCC: Connected to
3V3pin of ESP32 - PWM: Connected to
D13pin of ESP32
20x4 I2C LCD Panel
- GND: Connected to
GNDpin of ESP32 - VCC: Connected to
3V3pin of ESP32 - SDA: Connected to
D21pin of ESP32 - SCL: Connected to
D22pin of ESP32
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation. The ESP32 microcontroller interfaces with multiple IR sensors, a servo motor, and a 20x4 I2C LCD panel to create a functional and interactive system.