Template: Rpi open cam

From Waveshare Wiki
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
  • To use camera, you need to first enable the camera
sudo raspi-config
  • Choose Interface Options -> Camera -> Yes
Rpi Enable Camera.png
  • CSI camera is not be listed as video device in Raspberry Pi by default, you need to modify the modules file :
sudo nano /etc/modules
  • Append the line to the file
bcm2835-v4l2
Pan-tilt hat addmodules.png
  • Reboot and check the device
sudo reboot
ls /dev/video*

video0 device will be listed as expected.