ユーザ用ツール

サイト用ツール


サイドバー

最新の10件
一覧
sbc:raspberrypi:meteotuxpi

必要なもの.

  • Raspberry Pi(B+以降でテストされているよう.Zeroや初代は未検証)
  • SD Card
  • camera module(NoIRが良さそう)
  • 電源
snippet.bash
$ 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.

camera setup

CSI接続方法はこちらを参考に裏表を確認しながら接続.

Raspberry Pi Camera Pinout \- Arducam

RaspberryPi OS armhfでsetup

$ sudo mount -o remount,rw /boot
$ sudo raspi-config

で, Interfacing OptionsCamera を有効にする.

/boot/config.txtdisable_camera_led=1 を追記して再起草して反映.

raspistill -o test.jpg で静止画を撮影してカメラが動作するのと,カメラLEDが点灯しないのを確認.

example

$ ./meteotux_pi -d 120 -e 2000 -g 4 -v

参考url

コメント

コメントを入力. Wiki文法が有効です:
 ______   __ __   ___  ______  _      __
/_  __/  / // /  / _ \/_  __/ | | /| / /
 / /    / _  /  / ___/ / /    | |/ |/ / 
/_/    /_//_/  /_/    /_/     |__/|__/
 
sbc/raspberrypi/meteotuxpi.txt · 最終更新: 2021/08/07 23:37 by matoken