- 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:
sudoapt-get updateInstall Motion application. It will get the web cam output and will send it to the built in web server:sudoapt-getinstallmotion- 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:
sudonano/etc/motion/motion.confdeamon=onwebcam_localhost=offwebcam_port=8081 (default setting)you could play with the other parameters too.sudonano/etc/default/motion- start_motion_deamon=yes
- Open your web browser and type the pi_ip_address:8081 and check your result
Saturday, June 1, 2013
Raspberry Pi and Web camera
Subscribe to:
Post Comments (Atom)



No comments:
Post a Comment