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

Arduino UNO-Based Battery-Powered Ultrasonic Sensor and Motor Control System

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Battery-Powered Ultrasonic Sensor and Motor Control System

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller, an HC-SR04 Ultrasonic Sensor, a motor driver (L298N), two hobby motors, a rocker switch, and two 9V batteries. The Arduino UNO is used to control the motors and read data from the ultrasonic sensor. The motor driver is used to control the direction and speed of the motors. The rocker switch is used to control the power supply to the motor driver.

Component List

Arduino UNO

9V Battery

HC-SR04 Ultrasonic Sensor

Motor amarillo motorreductor hobby

L298N DC motor driver

Rocker Switch

Wiring Details

Arduino UNO

9V Battery

HC-SR04 Ultrasonic Sensor

Motor amarillo motorreductor hobby

L298N DC motor driver

Rocker Switch

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:

}

Additional Documentation (documentation.txt)