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

Arduino-Controlled Dual DC Motor Driver with IR Sensors

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Dual DC Motor Driver with IR Sensors

Circuit Documentation

Summary

This circuit is designed to control two DC motors using an Arduino UNO microcontroller and an L298N DC motor driver. It includes two IR sensors for input and a rocker switch (SPST) to control the power supply from a 2 x AA battery mount. The Arduino UNO is responsible for processing the signals from the IR sensors and sending control signals to the L298N driver, which in turn drives the motors.

Component List

Wiring Details

Rocker Switch (SPST)

2 x AA Battery Mount

L298N DC Motor Driver

IR Sensors

Arduino UNO

DC Motors

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:

}

This code is a template and does not contain any functional code. It needs to be populated with the logic for reading the IR sensor inputs and controlling the DC motors via the L298N motor driver.