User Guide
Table Of Contents
184
Disabling the LED
The Pi’s camera module has a red light-emitting diode (LED) on
the board. To disable it:
1. On the Application Launcher, click LXTerminal.
2. Type the following command and then press Enter:
sudo nano /boot/config.txt
3. Use the Down Arrow key to move to the end of the
file, and then add the following text on a new line:
disable_camera_led=1
4. Press Ctrl + O and then press Enter.
5. Press Ctrl + X.
6. To restart the Pi, type the following command and
then press Enter:
sudo shutdown -r now
8.2 Motion
Motion is a command-line tool that is designed for working with
cameras from Linux. It takes still images, records videos, detects
movement, and streams live video feeds across the Internet.
Motion-mmal is a version of Motion that is designed to work with
the Pi camera module. To install Motion-mmal, you must first
install several files and pieces of software that it works with.
1. On the Application Launcher, click LXTerminal.
2. Type the following command on one line, and then
press Enter:
sudo apt-get install -y libjpeg62 libjpeg62-dev
libavformat53 libavformat-dev libavcodec53
libavcodec-dev libavutil51 libavutil-dev
libc6-dev zlib1g-dev libmysqlclient-dev libpq5
libpq-dev
3. Change to your desktop folder. For example:
cd /home/pi/Desktop
4. Type the following command and then press Enter: