An overkill Raspberry Pi project.
Currently used for timelapse. Still tweaking the heatpad to support very low temperature - Yeah it's Canada here and it can go down -30 celcius in winter and +30 in summer.
Here's some pictures and some timelapses.
Set GPIO $HEATPAD_PIN
on - send 3.3v.
Set GPIO $HEATPAD_PIN
off - stop 3.3v.
Return GPIO $HEATPAD_PIN
value.
Set power-width modulation to 0% on GPIO $HEATPAD_PIN
.
Return CPU temp in celcius.
Return GPU temp in celcius.
Return RHT03 humidity sensor in %.
Require ok-rht03 daemon.
Return RHT03 temperature sensor in celcius.
Requires ok-rht03 daemon.
Launch another command at sunrise. Format: ok-sunrise-launcher command-to-launch offset-in-minutes
Examples:
This cron job will start at 5am but the command will only be launch 30 minutes before sunrise based on current GPS coordinates.
0 5 * * * root /usr/local/bin/ok-sunrise-launcher /usr/local/bin/ok-timelapse-test -30
To test you can use the -t argument. The first use a -6 degree horizon angle and the second simply start 30 minutes before sunrise.
# ok-sunrise-launcher ok-timelapse-sunrise -0 -6 -t
Next sunrise at 2014-05-15 04:46:25.000003 - sleeping for 21165.0656991 seconds
# ok-sunrise-launcher ok-timelapse-sunrise -0 -0 -t
Next sunrise at 2014-05-15 05:23:08.000003 - sleeping for 23362.9776301 seconds
Create a timelapse, upload the video to youtube and post the link on twitter.
SLEEP=5000
TIME=6000000
With this config, pictures will be taken every 5 seconds for 100 minutes. The pictures are then used to create a video at 24 frame per seconds.
See ok.conf.sample for all options.
Requires mencoder, raspistill, ptt and youtube-upload commands.
Save RHT03 sensor values to the filesystem at regular interval.
Simply run make
to compile and make install
to install.
Plugins to monitor sensors.
MIT
https://github.com/northox/overkill
Danny Fullerton - Mantor Organization