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

Arduino-Based IR Sensor Controlled Dual Motor Driver System

View and Edit Project In Cirkit DesignerImage of Arduino-Based IR Sensor Controlled Dual Motor Driver System

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to control two DC motors using an L298N motor driver and a Vietduino Uno microcontroller. The circuit also includes two IR sensors for obstacle detection. The Vietduino Uno is programmed to control the motor driver and read inputs from the IR sensors.

Component List

  1. L298N DC Motor Driver

    • Description: A dual H-Bridge motor driver that allows control of the speed and direction of two DC motors.
    • Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
  2. Motor amarillo motorreductor hobby

    • Description: A small DC motor with a gearbox, commonly used in hobby projects.
    • Pins: vcc, GND
  3. IR Sensor

    • Description: An infrared sensor used for obstacle detection.
    • Pins: out, gnd, vcc
  4. Vietduino Uno USB-B

    • Description: A microcontroller board based on the ATmega328P, compatible with Arduino Uno.
    • Pins: AREF, GND, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 3V3, 5V, RESET, VIN, A0, A1, A2, A3, A4, A5

Wiring Details

L298N DC Motor Driver

Motor amarillo motorreductor hobby

IR Sensor

Vietduino Uno USB-B

Code Documentation

sketch.ino

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

}

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

}

documentation.txt