A simple car you can control thru a local web server to map a plane surface or detect and follow colors in autonomous mode. See the simulation here.
- 1 Raspberry PI 3B+
- 1 Raspberry PI Camera module
- 4 Gear motor 5V DC
- 4 Wheels
- 1 Chasis
- 1 L298N
- 1 MPU6050
- 1 Powerbank 2A 5V
- 4 AA Batteries
Name | Installation |
---|---|
Phyton3 | Official website |
OpenCV >= 4.5.2 | Official guide |
numpy | pip install numpy |
cv_recon | pip install cv-recon |
flask | pip install Flask |
smbus | sudo apt install python3-smbus |
matplotlib >= 3.3.4 | pip install matplotlib |
- Install dependencies
- Enable Raspberry PI Camera
- Clone repo into
$HOME/Github/
- Run
car/systemd_service/ln_to_system.sh
to add startup rutine - Run
car/systemd_service/enable.sh
to enable startup rutine - Reboot
- Access Raspberry PI local IP from a web browser to control it