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

Raspberry Pi 4B Controlled Robotic Car with Camera and Ultrasonic Sensor

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

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes a Raspberry Pi 4B, multiple DC motors, an L298N DC motor driver, an HC-SR04 Ultrasonic Sensor, an OV2640 Camera Module, a Servo, and a Lipo Battery. The circuit is designed to control the motors and sensors using the Raspberry Pi, which acts as the central processing unit.

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. DC Motor

    • Description: A motor that runs on direct current (DC) electricity.
    • Pins: pin 1, pin 2
  3. L298N DC Motor Driver

    • Description: A dual H-Bridge motor driver that allows control 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
  4. HC-SR04 Ultrasonic Sensor

    • Description: A sensor used to measure distance using ultrasonic waves.
    • Pins: VCC, TRIG, ECHO, GND
  5. OV2640 Camera Module

    • Description: A camera module used for capturing images and videos.
    • Pins: 3.3V, GND, SIOC, SIOD, VSync, HRef, PCLK, XCLK, D9, D8, D7, D6, D5, D4, D3, D2, RET, PWDN
  6. Servo

    • Description: A motor that allows precise control of angular position.
    • Pins: GND, VCC, PWM
  7. Lipo Battery

    • Description: A rechargeable lithium polymer battery.
    • Pins: VCC, GND

Wiring Details

Raspberry Pi 4B

DC Motor

L298N DC Motor Driver

HC-SR04 Ultrasonic Sensor

OV2640 Camera Module

Servo

Lipo Battery

Code

No code is provided for this circuit.


This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code section. Each component is described, and the wiring details are provided to ensure proper connections.