Waveshare AlphaBot 2 User Manual page 30

Table of Contents

Advertisement

AlphaBot 2 User Manual
Expectation result::The servo will move to left and right, and its rotational range
can reach 180 degree.
mjpg-streamer software real-time monitoring
"MJPG-streamer" takes JPGE from the web camera, and streams them over an
IP-based network to various types of viewers.
a) Run the command raspi-config to start up the camera before using it:
sudo raspi-config
Select Enable Camera
b) For the camera with CSI interface, the system may be unable to find out the
device under the directory of /dev/video0. In this case, you should add a line,
bcm2835-v4l2, into the file /etc/modules.
sudo nano /etc/modules
Add the line: bcm2835-v4l2
c) After reboot, the system will load the module name stored in this file, and find
out the device video0 under the directory of /dev. (Please take a notice that the
letter l in the command bcm2835-v4l2 is the lower case of L.)
Explanation: After performing the steps a), b) and c), if you still cannot find out the
device video0 under the directory of /dev, and all the operations and commands
are correct, you should run the command: rpi-update.
30
share awesome hardware

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Waveshare AlphaBot 2

Table of Contents