This project Build for The PBL Project ( A Wifi Car based on Rpi Controlled by a Website )
Supervised By Prof.Victor https://www.researchgate.net/profile/Victor-Parque
- Raspberry pi 3b+
- Django Framework
- mjpg-streamer
- A seprate Web using JS , CSS , HTML
- Make sure you have installed python3
sudo apt install python3 python3-pip
- You need it install mjpg-stremer :
sudo apt-get install cmake libjpeg8-dev gcc g++
git clone https://github.com/jacksonliam/mjpg-streamer
cd mjpg-streamer-experimental
make
sudo make install
- Install Django 4.0
pip3 install django=4.0
- install other dependencies
pip3 install re gpiozero time netifaces
- Make sure to activate the usb Camera
raspi-cofig --> interface --> yes --> Legacy camera --> Finish --> reboot
- Clone the repo ( Better to install it in the home dir )
cd
git clone https://github.com/Mostafasaad1/RPI-Car-PBL-
- install the Servo in
right --> pin 14
Left --> pin 15
- Run the Project
cd /home/$(USER)/First
./run.sh
Enjoy