Raspberry Pi5 Robot Prototype

by arna in Circuits > Raspberry Pi

90 Views, 0 Favorites, 0 Comments

Raspberry Pi5 Robot Prototype

Screen Shot 2025-09-03 at 1.04.59 AM.png

This past summer I studied E&M and felt inspired to apply my basic circuit knowledge and past experience with designing in building my first robot. The idea of this robot was to create a base to integrate AI computer vision so the robot can move adapting to its surroundings. With limited material and experience, I have designed and built a prototype for the base.

Supplies

For the circuit:

  1. Raspberry Pi 5
  2. Jumper wires
  3. half-H motor controller
  4. 2 DC motors
  5. Breadboard
  6. 5V battery
  7. Portable battery pack
  8. PCB board, motor controller pins, solder iron, flux

For the prototype build:

  1. Legos
  2. axle, gears and threads
  3. cardboard
  4. Tape
  5. glue

Softwares used:

  1. VS Code - Python
  2. Fusion 360

Designing the Circuit

Screen Shot 2025-09-06 at 6.27.13 PM.png
Screen Shot 2025-09-06 at 6.00.03 PM.png

I had a lot of trial and error with creating the circuit learning from basic lighting an LED and running motor circuit tutorials online and connecting it with a Raspberry Pi 5. I studied how the motor controller worked by connecting it to buttons and testing the motors. Finally, I shifted the wires connected to the buttons to the Raspberry Pi pins and used a simple python program to test it.

Final Circuit Design

circuit diagram.jpg
Screen Shot 2025-09-06 at 5.59.46 PM.png
Screen Shot 2025-09-06 at 5.59.55 PM.png

The diagram above was my final circuit design. I completed this portion by soldering the components together onto a circuit board.

Designing the Base

wallebody.jpg
axlepiece.jpg
Screen Shot 2025-09-06 at 7.44.21 PM.png

My robot's build was visibly inspired by Wall-E. In the bottom there was the (1) chassis to hold the motors and the axles, an (2) upper shelf that slides out to hold the circuit components, and (3) detachable eyes to sit the camera on. This was designed to utilize gears and treads so I designed a small piece to attach the (a)axle to the (b)motor.

Creating Base Prototype

Screen Shot 2025-09-06 at 6.27.40 PM.png
Screen Shot 2025-09-06 at 6.27.48 PM.png
Screen Shot 2025-09-06 at 6.28.09 PM.png

One of my limitations was that I did not have access to a 3D printer. To work around this I utilized cardboard, duct tape, and legos to reproduce my design for testing.

Finished First Prototype

With this prototype I can see my circuit in action. I played around with alternating which motor is on and the speed and direction it is spinning resulting in turning, change in speed and direction.

Overall this project was a great opportunity to develop what I already know in design, CAD and programming as well as learn new skills like circuit design and soldering.