Arduino And Raspberry Pi Combined Control - Waveshare AlphaBot User Manual

Table of Contents

Advertisement

share awesome hardware
AlphaBot User Manual
Automatically start settings
Replace the configuration file
cd ~/AlphaBot/mjpg-AlphaBot/mjpg-AlphaBot
sudo cp config /etc/webiopi/config
This starts the webiopi script when system boot up.
sudo update-rc.d webiopi defaults
Edit the /etc/local file:
sudo vi /etc/rc.local
Append the following lines after the comment lines and you must make sure the
"exit 0" line is the last statement. Then save and exit.
cd /home/pi/AlphaBot/mjpg-AlphaBot/mjpg-streamer
sudo ./start.sh
Connect the Motor jumpers IN1, IN2, ENA, ENB, IN3, IN4 in A area to the P12, P13,
P6, P26, P20, P21 pin on Raspberry Pi. Connect the jumpers S1 and S2 of the servo
in C area to the pins P27 and P22. Reboot your Pi and enter the ip in the browser
with port number 8000, then you can control the Robot.

Arduino and raspberry Pi combined control

The examples presented above are using the Raspberry Pi to control the servo and
50

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents