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

Arduino Nano Controlled Dual Motor Driver with IR Sensing

View and Edit Project In Cirkit DesignerImage of Arduino Nano Controlled Dual Motor Driver with IR Sensing

Circuit Documentation

Summary

This circuit is designed to control two DC motors using an L298N DC motor driver, which is interfaced with an Arduino Nano microcontroller. The Arduino Nano also reads inputs from a 5 channel IR sensor. Power is supplied by a series connection of two 18650 Li-ion batteries, and a rocker switch is used to control the power flow to the motor driver. The motors are standard yellow hobby gear motors.

Component List

L298N DC Motor Driver

5 Channel IR Sensor

Arduino Nano

Motor Amarillo Motorreductor Hobby (2x)

Rocker Switch

18650 Li-ion Battery x 2

Wiring Details

L298N DC Motor Driver

5 Channel IR Sensor

Arduino Nano

Motor Amarillo Motorreductor Hobby

Rocker Switch

18650 Li-ion Battery x 2

Documented Code

Arduino Nano Code (sketch.ino)

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

}

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

}

Note: The provided code is a template and does not contain any functional code to control the motors or read the IR sensor inputs. This will need to be implemented based on the specific requirements of the project.