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

Arduino UNO-Based Battery-Powered Robotic Car with Ultrasonic Sensor and Motor Driver

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Battery-Powered Robotic Car with Ultrasonic Sensor and Motor Driver

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, an L298N DC motor driver, an HC-SR04 Ultrasonic Sensor, two motors with reducers, a 18650 Li-Ion battery, and a toggle switch. The circuit is designed to control the motors based on input from the ultrasonic sensor, with power supplied by the Li-Ion battery and controlled via the toggle switch.

Component List

Arduino UNO

L298N DC Motor Driver

HC-SR04 Ultrasonic Sensor

Motor with Reducer

18650 Li-Ion Battery

Toggle Switch

Wiring Details

Arduino UNO

L298N DC Motor Driver

HC-SR04 Ultrasonic Sensor

Motor with Reducer

Motor with Reducer

18650 Li-Ion Battery

Toggle Switch

Code Documentation

Arduino UNO Code

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

}

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

}

This code is a basic template for the Arduino UNO. The setup() function is where you initialize your variables, pin modes, start using libraries, etc. The loop() function runs over and over again, allowing your program to change and respond.

Additional Documentation

This section is reserved for any additional documentation or notes related to the code or circuit.