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

Raspberry Pi 4B Controlled Robotic Car with Ultrasonic Sensor and Motor Drivers

View and Edit Project In Cirkit DesignerImage of Raspberry Pi 4B Controlled Robotic Car with Ultrasonic Sensor and Motor Drivers

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes a Raspberry Pi 4B, multiple Hobby Gearmotors with 48:1 gearbox, L293D Motor Driver Expansion Boards, an Ultrasonic Sensor, and a 7.4V power source. The circuit is designed to control the motors and read data from the ultrasonic sensor using the Raspberry Pi.

Component List

  1. Raspberry Pi 4B

    • Description: A powerful single-board computer used for various applications.
    • Pins: 3V3, 5V, GPIO2, GPIO3, GND, GPIO4, GPIO14, GPIO15, GPIO17, GPIO18, GPIO27, GPIO22, GPIO23, GPIO24, GPIO10, GPIO9, GPIO25, GPIO11, GPIO8, GPIO7, ID_SD, GPIO5, GPIO6, GPIO12, GPIO13, GPIO19, GPIO16, GPIO26, GPIO20, GPIO21, ID_SC, TR01_TAP, TR00_TAP, TR03_TAP, TR02_TAP, RUN, GLOBAL_EN
  2. Hobby Gearmotor with 48:1 gearbox

    • Description: A small DC motor with a gearbox for increased torque.
    • Pins: pin 1, pin 2
  3. L293D Motor Driver Expansion Board Mini 4CH 4 Channel Motor Drive

    • Description: A motor driver board used to control DC motors.
    • Pins: A-, A+, B-, B+, GND, VIN, VCC, IN1, IN2, IN3, IN4, EN1, EN2
  4. 7.4V Power Source

    • Description: A power source providing 7.4V.
    • Pins: +, -
  5. Ultrasonic Sensor

    • Description: A sensor used to measure distance by using ultrasonic waves.
    • Pins: +VCC, Trigger, Echo, GND

Wiring Details

Raspberry Pi 4B

Hobby Gearmotor with 48:1 gearbox (Instance 1)

Hobby Gearmotor with 48:1 gearbox (Instance 2)

Hobby Gearmotor with 48:1 gearbox (Instance 3)

Hobby Gearmotor with 48:1 gearbox (Instance 4)

L293D Motor Driver Expansion Board Mini 4CH 4 Channel Motor Drive (Instance 1)

L293D Motor Driver Expansion Board Mini 4CH 4 Channel Motor Drive (Instance 2)

7.4V Power Source

Ultrasonic Sensor

Code

No code is provided for this circuit.