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

Raspberry Pi-Powered Autonomous Robot with Ultrasonic Sensors and DC Motors

View and Edit Project In Cirkit DesignerImage of Raspberry Pi-Powered Autonomous Robot with Ultrasonic Sensors and DC Motors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes a 12V battery, a step-down voltage regulator, a Raspberry Pi 5, an L298N DC motor driver, multiple DC motors, and ultrasonic sensors. The circuit is designed to power and control the motors and sensors using the Raspberry Pi, which is powered by the step-down voltage regulator. The ultrasonic sensors are used for distance measurement, and the motors are controlled via the L298N motor driver.

Component List

  1. 12V Battery

    • Description: Provides the primary power source for the circuit.
    • Pins: -, +
  2. 5V, 5.5A Step-Down Voltage Regulator D36V50F5

    • Description: Converts 12V from the battery to 5V for the Raspberry Pi and other components.
    • Pins: PG, EN, VRP, VIN, GND, VOUT
  3. Raspberry Pi 5

    • Description: Acts as the main controller for the circuit, handling sensor data and motor control.
    • Pins: Type-C, Micro HDMI 1, Micro HDMI 2, Camera 1, Camera 2, PoE, Fan, PCIe, USB 3.0, USB 2.0, Ethernet, 5V, GND, 3.3v, GPIO 14, GPIO 15, GPIO 18, GPIO 23, GPIO 24, GPIO 25, GPIO 8, GPIO 7, GPIO 1, GPIO 12, GPIO 16, GPIO 20, GPIO 21, GPIO 2, GPIO 3, GPIO 4, GPIO 17, GPIO 27, GPIO 22, GPIO 10, GPIO 9, GPIO 11, GPIO 0, GPIO 5, GPIO 6, GPIO 13, GPIO 19, GPIO 26
  4. L298N DC Motor Driver

    • Description: Controls the DC motors based on signals from the Raspberry Pi.
    • 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
  5. DC Motor

    • Description: Converts electrical energy into mechanical motion.
    • Pins: pin 1, pin 2
  6. Ultrasonic Sensor

    • Description: Measures distance by using ultrasonic waves.
    • Pins: +VCC, Trigger, Echo, GND

Wiring Details

12V Battery

5V, 5.5A Step-Down Voltage Regulator D36V50F5

Raspberry Pi 5

L298N DC Motor Driver

DC Motor (Instance 1)

DC Motor (Instance 2)

Ultrasonic Sensor (Instance 1)

Ultrasonic Sensor (Instance 2)

Ultrasonic Sensor (Instance 3)

Code

No code is provided for this circuit.