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

ESP32-Controlled Smart Robot with Obstacle Avoidance and Smoke Detection

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled Smart Robot with Obstacle Avoidance and Smoke Detection

Circuit Documentation

Summary

This circuit integrates various components controlled by an ESP32 microcontroller to perform a range of functions including motion detection, distance measurement, audio playback, and motor control. The ESP32's GPIO pins are utilized to interface with sensors, a motor driver, and an I2C LCD display. A smoke sensor and a buzzer provide safety features, while a PIR motion sensor and an ultrasonic distance sensor enable environmental interaction. The L298N motor driver controls two sets of DC gearmotors for movement, and an ISD1820 voice module with a loudspeaker allows for audio output. The entire system is powered by a Lithium-ion battery.

Component List

Wiring Details

ESP32 (30 pin)

L298N DC Motor Driver

LCD I2C Display

ISD1820

Loudspeaker

Servomotor SG92R

HC-SR505 Mini PIR Motion Sensing Module

Gearmotor DC Wheels (Right and Left)

Lithium-ion Battery 10000mAh

Buzzer

Sensor HC-SR04

Smoke Sensor

Documented Code

ESP32 Microcontroller Code (sketch.ino)

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

}

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

}

Buzzer Microcontroller Code (sketch.ino)

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

}

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

}

Note: The code provided for the ESP32 and the buzzer is a template and does not contain any functional code. It needs to be populated with the logic required to control the circuit as per the design requirements.