CHDK Forum

Using CHDK => Script Writing => Completed and Working Scripts => Topic started by: siak on 01 / July / 2012, 12:14:04

Title: Simple intervalometer. Surely works on ELPH 100 HS (IXUS 115 HS)
Post by: siak on 01 / July / 2012, 12:14:04
I've made it for my ELPH 100 HS (IXUS 115 HS), but it should work on another cameras too. Have fun! :)
Title: Re: Simple intervalometer. Surely works on ELPH 100 HS (IXUS 115 HS)
Post by: sarkar on 07 / July / 2012, 05:12:53
Thanks!
But didn't work on my Ixus 115 HS...   :blink: did that work on yours?
It just focuses but doesn't click...
Title: Re: Simple intervalometer. Surely works on ELPH 100 HS (IXUS 115 HS)
Post by: waterwingz on 07 / July / 2012, 10:03:32
I'd like to suggest one small change that you might like to try.  Instead of

Code: [Select]
...
 press "shoot_full"
   if n=a then end
 release "shoot_full"
...


Code: [Select]
...
 press "shoot_full_only"
   if n=a then end
 release "shoot_full_only"
...

This should better maintain the exposure and focus lock you set in an earlier section of the script.   Of coarse you will need to change the program logic a bit for the case where you want autofocus on.

see http://chdk.setepontos.com/index.php?topic=1444.0 (http://chdk.setepontos.com/index.php?topic=1444.0)
Title: Re: Simple intervalometer. Surely works on ELPH 100 HS (IXUS 115 HS)
Post by: siak on 08 / July / 2012, 12:17:32
@sarkar, yes, it works on my 100 hs :) I think, chdk for our camera isn't too stable, so sometimes the script may not work properly. just restart your camera and start the script again.
@waterwingz, thanks. i'm a little busy now, so i'll make some changes these days.
Title: Re: Simple intervalometer. Surely works on ELPH 100 HS (IXUS 115 HS)
Post by: siak on 13 / July / 2012, 05:40:27
it seems, that with WW's recommendation the script works better. i've also added one more fix.
Title: Re: Simple intervalometer. Surely works on ELPH 100 HS (IXUS 115 HS)
Post by: Ryouko on 29 / July / 2012, 19:38:26
Thank you for posting this script, however, I think there may be a small fix needed.
You have
Code: [Select]
t=(b*600+c*10+d*60+e)*100
I would propose that it should be

Code: [Select]
t=(b*60+c+d*600+e*10)*1000
It seems like your  minutes x10 is actually 0.1 minutes and the same issue with your second x10. This should fix it.
Title: Re: Simple intervalometer. Surely works on ELPH 100 HS (IXUS 115 HS)
Post by: Ryouko on 29 / July / 2012, 20:18:21
I also changed the end of your script to this

Code: [Select]
release "shoot_full_only"
   sleep 10000
   set_backlight 0
   sleep t-10000
   goto "off"

I don't plan on doing intervals shorter than 10s and this should save some battery. Just a suggestion for making it an option