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

Arduino Mega 2560 Battery-Powered Dual DC Motor Control with IR Sensors

View and Edit Project In Cirkit DesignerImage of Arduino Mega 2560 Battery-Powered Dual DC Motor Control with IR Sensors

Circuit Documentation

Summary

This circuit involves an Arduino Mega 2560 microcontroller, an L298N DC motor driver, two DC motors, two IR sensors, and a pair of 18650 Li-ion batteries. The Arduino Mega 2560 controls the DC motors through the L298N motor driver and receives input from the IR sensors. The power for the motor driver is supplied by the 18650 Li-ion batteries.

Component List

Arduino Mega 2560

L298N DC Motor Driver

DC Motor

18650 Li-ion Battery x 2

IR Sensor

Wiring Details

Arduino Mega 2560

L298N DC Motor Driver

DC Motor (Instance 1)

DC Motor (Instance 2)

18650 Li-ion Battery x 2

IR Sensor (Instance 1)

IR Sensor (Instance 2)

Code Documentation

Arduino Mega 2560 Code

sketch.ino

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

}

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

}

documentation.txt