Skip to main content
Raspberry Pi and Web camera
- Web camera (Logitech C170). In some cases an USB powered hub should be used because the camera uses more power than the Pi.
- Update your Pi:
Install Motion application. It will get the web cam output and will send it to the built in web server:
sudo
apt-get
install
motion
- Plug in the web cam (directly or via powered USB hub). List the usb devices to verify that the camera is installed:
- Configure the motion application by editing the config file:
sudo
nano
/etc/motion/motion
.conf
deamon=on
webcam_localhost=off
webcam_port=8081 (default setting)
you could play with the other parameters too.
sudo
nano
/etc/default/motion
- start_motion_deamon=yes
- Open your web browser and type the pi_ip_address:8081 and check your result
Comments
Post a Comment