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

ESP32-Based Smart IR Sensor System with LCD Display and Servo Motor

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart IR Sensor System with LCD Display and Servo Motor

Circuit Documentation

Summary

This circuit involves an ESP32 microcontroller interfacing with multiple IR sensors, an LCD screen, and an SG90 servo motor. The ESP32 reads data from the IR sensors and displays information on the LCD screen. Additionally, the ESP32 controls the SG90 servo motor based on the sensor inputs.

Component List

  1. 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
  2. LCD screen 16x2 I2C

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

    • Description: Infrared sensor for detecting objects.
    • Pins: out, gnd, vcc
  4. SG90 Servo Motor

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

Wiring Details

ESP32 (30 pin)

LCD screen 16x2 I2C

IR Sensor

SG90 Servo Motor

Documented Code

ESP32 (30 pin)

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

}

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

}

SG90 Servo Motor

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

}

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

}

This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and documented code.