User Manual
AlphaBot User Manual     
a) Run the command raspi-config to start up the camera before using it: 
sudo raspi-config 
Then, select the option 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.) 
d) Install dependent libraries: 
sudo apt-get install libv4l-dev libjpeg8-dev 
sudo apt-get install subversion 
e) Compile the example: 
cd ~/AlphaBot/mjpg-AlphaBot/mjpg-streamer 
make USE_LIBV4L2=true clear all 
During the make command running, you may see a warning: make: *** No rule to 
make target 'clear'. Stop. This warning can be ignored. 
f) If there is any error occurred, you can try to modify the content of the 
file mjpg-streamer/plugins/input_uvc/input_uvc.c, 
changing V4L2_PIX_FMT_MJPEG to V4L2_PIX_FMT_YUYV 
44 
share awesome hardware










