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

Arduino UNO Controlled Dual Motor System with L298N Driver and 12V Battery

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled Dual Motor System with L298N Driver and 12V Battery

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, an L298N DC motor driver, two hobby gearmotors with 48:1 gearbox, and a 12V battery. The Arduino UNO controls the motor driver, which in turn drives the two gearmotors. The 12V battery powers the motor driver and the gearmotors.

Component List

  1. Hobby Gearmotor with 48:1 gearbox

    • Pins: pin 1, pin 2
    • Description: A small DC motor with a 48:1 gearbox for increased torque.
    • Purpose in Circuit: Drives mechanical components.
  2. Arduino UNO

    • 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
    • Description: A microcontroller board based on the ATmega328P.
    • Purpose in Circuit: Controls the motor driver and gearmotors.
  3. L298N DC motor driver

    • 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
    • Description: A dual H-bridge motor driver that allows control of two DC motors.
    • Purpose in Circuit: Drives the gearmotors based on signals from the Arduino UNO.
  4. Battery 12V

    • Pins: +, -
    • Description: A 12V battery.
    • Purpose in Circuit: Powers the motor driver and gearmotors.
  5. Hobby Gearmotor with 48:1 gearbox

    • Pins: pin 1, pin 2
    • Description: A small DC motor with a 48:1 gearbox for increased torque.
    • Purpose in Circuit: Drives mechanical components.

Wiring Details

Hobby Gearmotor with 48:1 gearbox (1)

Arduino UNO

L298N DC motor driver

Battery 12V

Hobby Gearmotor with 48:1 gearbox (2)

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:

}

Documentation (documentation.txt)

This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code.