Raspberry Pi - Remote funny cats (two) - Camera connection

Ready to work:

  • Previous raspberry pie
  • Official Camera Accessories

Connecting the camera

Note that the protective film must be torn off and the yellow cable contact point with the opening direction of the web opposite the opening, is inserted near the net mouth cable socket, but the socket is inserted in one end remote from the network port! (Because the cable slot cover after pulling up space on both sides of the insert can be hard, so be sure to pay attention)

Installation package

Enabling camera support

sudo raspi-config    


Camera inspection on state

vcgencmd get_camera    

As has been said in support = 1 open support

Add driver support

sudo vi /etc/modules-load.d/modules.conf    

Appends a line bcm2835-v4l2 then restart it, load the driver.

Find restart equipment

ls -l /dev/video0    

If you can find a description of the normal equipment

Camera test

raspistill -v -o test.jpg    

At this point, the camera debugging normal, the next use web.py build a lightweight server, controlled by our pi page (●'∀ `●)

Reference links
https://blog.csdn.net/fhqlongteng/article/details/80433633
https://blog.csdn.net/lynn_coder/article/details/79687939
https://www.cnblogs.com/wmn7q/p/ 7265506.html
https://linux.cn/article-3650-1.html

Guess you like

Origin www.cnblogs.com/logicmind/p/11087474.html