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

Arduino-Controlled Line Following Robot with Dual DC Motors and IR Array

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Line Following Robot with Dual DC Motors and IR Array

Circuit Documentation

Summary

This circuit is designed to interface an Arduino UNO with a 5 channel IR array, two DC Mini Metal Gear Motors through an L298N DC motor driver, and is powered by two 3.7V batteries connected in series with a rocker switch for power control. The Arduino UNO reads sensor data from the IR array and controls the motor driver, which in turn drives the motors.

Component List

5 Channel IR Array

Arduino UNO

3.7V Battery

Rocker Switch

L298N DC Motor Driver

DC Mini Metal Gear Motor

Wiring Details

5 Channel IR Array

Arduino UNO

3.7V Batteries

Rocker Switch

L298N DC Motor Driver

DC Mini Metal Gear 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 setup and loop functions to initialize the pins and implement the control logic for reading the IR array and controlling the motors through the L298N driver.