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

Arduino UNO-Based Line Following Robot with IR Sensors and Motor Control

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Line Following Robot with IR Sensors and Motor Control

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, an H-bridge motor driver, two hobby gear motors, two IR sensors, and a 12V battery. The circuit is designed to control the motors based on the input from the IR sensors.

Component List

  1. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  2. H-Bridge Motor Driver (ponte h)

    • Description: A motor driver module used to control the direction and speed of motors.
    • Pins: OUT4-Motor2, OUT3-Motor2, OUT2-Motor1, OUT1-Motor1, 5V, GND, 12V, IN3, IN1, IN2, IN4
  3. Hobby Gear Motor (Motor amarillo motorreductor hobby)

    • Description: A small DC motor with a gearbox for increased torque.
    • Pins: vcc, GND
  4. IR Sensor

    • Description: An infrared sensor used for detecting objects.
    • Pins: out, gnd, vcc
  5. 12V Battery

    • Description: A power source providing 12V DC.
    • Pins: +, -

Wiring Details

Arduino UNO

H-Bridge Motor Driver (ponte h)

Hobby Gear Motor 1

Hobby Gear Motor 2

IR Sensor 1

IR Sensor 2

12V Battery

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:

}

Additional Documentation (documentation.txt)

This document provides a comprehensive overview of the circuit, including the components used, their connections, and the code running on the Arduino UNO microcontroller.