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

Arduino-Controlled Ultrasonic Sensor and Dual Motor Driver System

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Ultrasonic Sensor and Dual Motor Driver System

Circuit Documentation

Summary

This circuit integrates an Arduino UNO microcontroller with two HC-SR04 Ultrasonic Sensors and two yellow hobby gear motors. The motors are driven by an L298N DC motor driver, which is powered by a 12V battery. The ultrasonic sensors are used for distance measurement and are powered by the 5V output from the Arduino UNO. The ground connections are shared among the Arduino, sensors, motor driver, and battery to complete the circuit.

Component List

HC-SR04 Ultrasonic Sensor

Motor Amarillo Motorreductor Hobby

Arduino UNO

L298N DC Motor Driver

Battery 12V

Wiring Details

HC-SR04 Ultrasonic Sensor

Motor Amarillo Motorreductor Hobby

Arduino UNO

L298N DC Motor Driver

Battery 12V

Documented Code

Arduino UNO 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 provided code is a template and does not contain any functional code to operate the circuit. The user must implement the setup and loop functions to control the motors and read the sensors.