AlphaBot 2 User Manual
24
share awesome hardware
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
Raspberry Pi
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
(Only
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.