Caeleb McKee
Published © GPL3+

Raspberry Pi Controlled RC Car

This is a Raspberry Pi controlled RC car developed for the Fall 2020 Embedded Systems class at John Brown University.

IntermediateWork in progress2 days636
Raspberry Pi Controlled RC Car

Things used in this project

Hardware components

Raspberry Pi 1 Model B
Raspberry Pi 1 Model B
×1
6 DOF Sensor - MPU6050
DFRobot 6 DOF Sensor - MPU6050
×1
Arducam 5mp camera
×1

Software apps and online services

Raspbian
Raspberry Pi Raspbian
Microsoft Visual Studio 2019

Story

Read more

Schematics

Wiring Diagram

This diagram shows the connections between the different parts of the project.

FSM Controlling the Motor Functions

As any command to move to a different state can occur in the current state, one can assume the event that leads to a change of state to be the command that would lead to that state.

Code

Embedded Systems Program

The pwm_with_pigpio.c program is the working program. The title is a remnant of when I was using the pigpio library as opposed to wiringPi. Furthermore, the IP address that connects it to the server must be changed to reflect the correct IPv4 address of that server. The file labeled testing actually runs the program.

Advanced Programming Control Program

Please note that you must use the correct IPv4 address for this program to function correctly.

Credits

Caeleb McKee

Caeleb McKee

1 project • 1 follower

Comments