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

ESP32-Controlled Robotics Platform with Ultrasonic Sensing and Water Level Detection

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled Robotics Platform with Ultrasonic Sensing and Water Level Detection

Circuit Documentation

Summary

This circuit is designed to control multiple DC motors and a mini water pump using two L298N DC motor drivers, which are interfaced with an ESP32 microcontroller. The circuit also includes a 12V battery for power, an HC-SR04 Ultrasonic Sensor for distance measurement, and a Water Level Sensor for detecting the water level. The ESP32 microcontroller is responsible for controlling the operation of the motors and the pump, as well as reading sensor data.

Component List

HC-SR04 Ultrasonic Sensor

DC Motor

Battery 12V

L298N DC Motor Driver

5V Mini Water Pump

Motor Amarillo Motorreductor Hobby

Terminal PCB 2 Pin

Water Level Sensor

ESP32 - Expansion Board

Wiring Details

HC-SR04 Ultrasonic Sensor

DC Motors

Battery 12V

L298N DC Motor Driver (Instance 1)

L298N DC Motor Driver (Instance 2)

5V Mini Water Pump

Motor Amarillo Motorreductor Hobby (All Instances)

Terminal PCB 2 Pin (Instance 1)

Terminal PCB 2 Pin (Instance 2)

Water Level Sensor

ESP32 - Expansion Board

Documented Code

There is no code provided for the microcontroller. The code would typically include initialization of the GPIO pins, setup of the PWM channels for motor speed control, and logic for reading sensor data and controlling the motors and pump based on sensor inputs.