Read the article: Watch the video on Yotube:
In this first level, we will make a basic robotic platform. The hardware and software of this robotic platform will be enchanced progressively to conduct variety of DIY experiments.
Hardware Components used in the robot are:-
- Raspberry Pi 3A+
- MT 3608 DC-DC up converter
- L293D Motor Driver Module
- DC Motor, 100 RPM, 12 V
- Battery Bank with 2 USB slots
The code of this robot is placed inside the folder 'earthrover'. You need to install a webserver Apache and PHP on Raspberry Pi to use this code.
Copy the folder 'earthrover' and place it in the public directory of webserver. The path of the folder should now be '/var/www/html/earthrover'
- Set permissions
- sudo chmod 777 -R /var/www/html/earthrover
- Modify the sudoer file to allow executing python files from php files
- $ sudo nano /etc/sudoers
- paste following at the end of file and save (as shown in picture below)
pi ALL=(ALL) NOPASSWD: ALL
www-data ALL=(ALL) NOPASSWD: ALL