Raspberry Pi5 Robot Prototype
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:
- Raspberry Pi 5
- Jumper wires
- half-H motor controller
- 2 DC motors
- Breadboard
- 5V battery
- Portable battery pack
- PCB board, motor controller pins, solder iron, flux
For the prototype build:
- Legos
- axle, gears and threads
- cardboard
- Tape
- glue
Softwares used:
- VS Code - Python
- Fusion 360
Designing the Circuit
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
The diagram above was my final circuit design. I completed this portion by soldering the components together onto a circuit board.
Designing the Base
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
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.