Raspberry Pi Examples - Waveshare AlphaBot 2 User Manual

Table of Contents

Advertisement

AlphaBot 2 User Manual

Raspberry Pi examples

Extract the package AlphaBot2.tar.gz and place it to the directory of /home/pi
under raspbian system.
Before using this extension board, you should install the library python to your
Raspberry Pi.
In case that the example is unable to be performed after installing the library, you
can try to apply the command chmod +x filename to grant the program the
executable permission.
Explanation: For the freshmen of Raspberry Pi, please refer to the
Tutuiral. You can optionally read the following content.
Raspberry Pi Tutuiral 2: Raspberry Pi burning image
Raspberry Pi Tutuiral 3: Visiting Raspberry Pi via SSH
Raspberry Pi Tutuiral 3: Visiting Raspberry Pi via WiFi
Raspberry Pi Tutuiral 6: Document share (samba)
Raspberry Pi Tutuiral 7: wiringPi, bcm2835 and python installantion
python need to be operated)
Motor testing
Enter the Linux terminal, and input the following commands:
cd ~/AlphaBot2/python
sudo python AlphaBot2.py
Expectation result: The smart robot moves forward when the program runs and
drives the motor to rotate.
24
share awesome hardware
Raspberry Pi
(Only

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents