EasyManua.ls Logo

Waveshare Pan-Tilt HAT - Video Recording; Web Control; Modify Modules File; Install Libraries for Web Control

Default Icon
17 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Pan-Tilt HAT User Manual
Version: V1.0.0; Date: 2019.03.16 12 / 17
Terminal
Note that you should connect a display to Raspberry Pi for previewing camera.
5. Video recording
To record video via camera, you can use command: raspivid -o video.h264 -t 1000
For details about camera command, you can visit Raspberry Pi website.
WEB_CONTROL
1. Enable Camera by following the last chapter
2. Modify the modules file:
sudo nano /etc/modules
add statements bcm2835-v4l2 to end of file (Note that 4l2 is the lowercase l
instead of number 1)
reboot Raspberry Pi then you find a video0 is appear in /dev folder
3. Install libraries
sudo apt-get install libv4l-dev libjpeg8-dev
sudo apt-get install subversion