i'm trying set raspberry pi take pictures in set intervalls , followed this tutorial. don't whole thing crontab, removed line * * * * * /home/pi/camera.sh 2>&1 script , replaced -tl 10000 make camera take picture every ten seconds it's still following 1 minute intervall.
can enlighten me, how can alter script takes picture every ten seconds? or possible in python script?
bash script looks this: edit:
okay, got crontab , apperantly it's impossible make pictures every x seconds using it.
i'm using -tl term define time between every shot, reason it's not working.
let's want camera take picture every ten seconds term need -tl 10000, right? wherever put in script, it's taking 1 picture.
example right last line looks this: doing wrong?
can enlighten me, how can alter script takes picture every ten seconds? or possible in python script?
bash script looks this:
code: select all
#!/bin/bash date=$(date +"%y-%m-%d_%h:%m:%s") foldername=$(date -u "+%y-%m-%d") if [ ! -d "/home/pi/camera/$foldername" sudo mkdir "/home/pi/camera/$foldername" fi raspistill -vf -o /home/pi/camera/$foldername/$date.jpg
okay, got crontab , apperantly it's impossible make pictures every x seconds using it.
i'm using -tl term define time between every shot, reason it's not working.
let's want camera take picture every ten seconds term need -tl 10000, right? wherever put in script, it's taking 1 picture.
example right last line looks this:
code: select all
raspistill -tl 10000 -vf -o /home/pi/camera/$foldername/$date.jpg
raspberrypi
Comments
Post a Comment