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

Arduino UNO and L298N Motor Driver-Based Battery-Powered Robotic Car with IR Sensors

View and Edit Project In Cirkit DesignerImage of Arduino UNO and L298N Motor Driver-Based Battery-Powered Robotic Car with IR Sensors

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller, an L298N DC motor driver, two IR sensors, four DC motors, a toggle switch, and a 2x 18650 battery pack. The Arduino UNO controls the motor driver, which in turn drives the DC motors. The IR sensors provide input to the Arduino, and the toggle switch controls the power from the battery pack.

Component List

Arduino UNO

L298N DC Motor Driver

2x 18650 Battery Pack

IR Sensor

DC Motor

Toggle Switch

Wiring Details

Arduino UNO

L298N DC Motor Driver

2x 18650 Battery Pack

IR Sensor (First)

IR Sensor (Second)

DC Motor (First)

DC Motor (Second)

DC Motor (Third)

DC Motor (Fourth)

Toggle 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:

}

Arduino UNO Documentation (documentation.txt)