Skip to content

GithubSre/RpiCar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Components used: raspberry pi 4 model B(8GB RAM), L298n, 4x tt gear motors, 4x wheels, 2x 2600mAh 18650 Li-Ion batteries, 13000mAh powerbank, USB-C cable, jumper wires, acrylic case

Steps to make this car: Step 1: Download the code in your raspberry pi(make sure all the files are in the same directory), install RPi.GPIO, pygame and time using " $ pip install RPi.GPIO pygame time ". Step 2: Assmeble the case and the components. Step 3: Connect the wires according to the RPIcarSchematic.png file. Step 4: After completing all the above steps, run main.py and you can control the car using WASD or ↑ → ↓ ← keys.

Controls: W or ↑: forward A or ←: left S or ↓: backward D or →: right

About

my raspberry pi 4 car code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages