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

Arduino UNO Controlled Battery-Powered DC Motor System with L298N Drivers and Encoders

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled Battery-Powered DC Motor System with L298N Drivers and Encoders

Circuit Documentation

Summary

This circuit is designed to control multiple DC motors with encoders using two L298N DC motor drivers and an Arduino UNO. The motors are powered by a Lipo Battery, and the Arduino UNO is used to control the motor drivers. The circuit includes connections for power, ground, and control signals between the components.

Component List

  1. L298N DC Motor Driver

    • Description: Dual H-Bridge motor driver capable of driving 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. DC Motor with Encoder

    • Description: DC motor with an integrated encoder for feedback.
    • Pins: Encoder B, Encoder A, GND - Encoder, VCC - Encoder Power, Motor +ve, Motor -ve
  3. Arduino UNO

    • Description: 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
  4. Lipo Battery

    • Description: Rechargeable lithium polymer battery.
    • Pins: VCC, GND
  5. GND

    • Description: Ground connection.
    • Pins: GND
  6. Comment

    • Description: Placeholder for comments.
    • Pins: None

Wiring Details

L298N DC Motor Driver (1)

L298N DC Motor Driver (2)

DC Motor with Encoder (1)

DC Motor with Encoder (2)

DC Motor with Encoder (3)

DC Motor with Encoder (4)

Arduino UNO

Lipo Battery

GND

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)