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

Battery-Powered Robotic Vehicle with STM32 and L298N Motor Driver

View and Edit Project In Cirkit DesignerImage of Battery-Powered Robotic Vehicle with STM32 and L298N Motor Driver

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to control two DC motors using an L298N motor driver and an STM32F103C8T6 microcontroller. The circuit also includes two IR sensors for obstacle detection and is powered by two 18650 Li-ion batteries.

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. IR Sensor

    • Description: An infrared sensor used for obstacle detection.
    • Pins: out, gnd, vcc
  3. Motor (Yellow Gear Motor)

    • Description: A hobby motor with a gearbox for increased torque.
    • Pins: vcc, GND
  4. 18650 Li-ion Battery x 2

    • Description: A pair of rechargeable lithium-ion batteries.
    • Pins: +, -
  5. STM32F103C8T6

    • Description: A 32-bit ARM Cortex-M3 microcontroller.
    • Pins: GND, 3.3V, reset, B11, B10, B1, B0, A7, A6, A5, A4, A3, A2, A1, A0, C15, C14, C13, VBT, 3.3, 5V, B12, B13, b14, B15, A8, A9, A10, A11, A12, A15, B3, B4, B5, B6, B7, B8, B9, SWIO, SWCLK

Wiring Details

L298N DC Motor Driver

IR Sensor 1

IR Sensor 2

Motor (Yellow Gear Motor) 1

Motor (Yellow Gear Motor) 2

18650 Li-ion Battery x 2

STM32F103C8T6

Code

No code is provided for this circuit.