必要なもの.
$ chmod u+x ./meteotux_pi $ ./meteotux_pi Raspberry _pi meteor camera written (C) By Jani Lappalainen 2014-> version 1.5.18 Missing parameter -d Parameters: --drc Optional. Dynamic range compression level. Values:off/low/medium/high. Default value off -d Required. Minimum duration of record of one image in seconds. Resticted to range 10s-3600s. Duration is good to be multiple of exposure time (500ms*20=10s) to keep frames count equal on each image. -e Optional. Exposure time in milliseconds. Minimum value 100ms. Maximum value depends on camera module. Default value=500ms. -f Optional. path/text added front of filename. Example: -f "images/allsky-" will write allsky-120-1000-2020-09-14T21:25:41+03:00.jpg on folder images. Folder images must exist. -g Optional. Manual gain to overwrite camera automatic gain control (AGC). Must be more than 0. Please check actual gain with -v (verbose) flag -h Optional. Show help. -t Optional. UTC start and end time; hh:mm-hh:mm. Example: --time 21:00-07:00 will run 19:00-05:00 your local time if your local time is UTC+2. Default value 00:00-00:00 (infinite). -v Optional. Verbose. Shows more information.
CSI接続方法はこちらを参考に裏表を確認しながら接続.
Raspberry Pi Camera Pinout \- Arducam
RaspberryPi OS armhfでsetup
$ sudo mount -o remount,rw /boot $ sudo raspi-config
で, Interfacing Options
の Camera
を有効にする.
/boot/config.txt
に disable_camera_led=1
を追記して再起草して反映.
raspistill -o test.jpg
で静止画を撮影してカメラが動作するのと,カメラLEDが点灯しないのを確認.
$ ./meteotux_pi -d 120 -e 2000 -g 4 -v
コメント