turning off autofocus with intervolometer - Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes) - CHDK Forum

turning off autofocus with intervolometer

  • 6 Replies
  • 3851 Views
turning off autofocus with intervolometer
« on: 04 / February / 2012, 16:04:32 »
Advertisements
I have my intervolometer script working ok, set to take a picture every second while my camera is on one of my aerial platforms, but what I would like to do, is have the autofocus disabled so that I can just have the camera firing away and not hunting for focus, as it seems to delivering a lot less than 1 fps.  Since all of my shots are from a distance, I should be able to leave the focus at infinity. Is there a way to set this in CHDK? I searched through the menus but could not find anything.

thanks

Re: turning off autofocus with intervolometer
« Reply #1 on: 04 / February / 2012, 16:11:21 »
Add this to your script at the appropriate place (probably near the top)

Code: [Select]
set_aflock 1
You need to have the camera focussed where you want it when that instruction executes.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: turning off autofocus with intervolometer
« Reply #2 on: 05 / February / 2012, 14:40:24 »
thanks! so I am assuming right after the last rem statement by the author would suffice?

Code: [Select]
rem Author - Keoeeit
rem Written for S-Series
rem Should be okay on others
rem Use Endless mode with caution
rem See documentation for important info
rem first version
@title Ultra Intervalometer
@param a Delay 1st Shot (Mins)
@default a 0
@param b Delay 1st Shot (Secs)
@default b 0
@param c Number of Shots
@default c 5
@param d Interval (Minutes)
@default d 0
@param e Interval (Seconds)
@default e 0
@param f Interval (10th Seconds)
@default f 5
@param g Endless? No=0 Yes=1
@default g 0
p=a*60000+b*1000
t=d*60000+e*1000+f*100
if c<1 then let c=5
if t<100 then let t=100
if g<0 then let g=0
if g>1 then let g=1
if p<0 then let p=0
z=t*c
y=p+z
print "1 Cycle Time:", y/60000; "min", y%60000/1000; "sec"
goto "interval"
:interval
  if p>0 then gosub "pause"
  print "Shot 1 of", c
  shoot     
  if c=1 then end
  for n=2 to c
  sleep t
  print "Shot", n, "of", c
  shoot
  next n
  if g=1 then goto "interval" else end

Re: turning off autofocus with intervolometer
« Reply #3 on: 05 / February / 2012, 15:27:23 »
Probably better after the last line that starts with the "@" symbol.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: turning off autofocus with intervolometer
« Reply #4 on: 05 / February / 2012, 16:48:46 »
thanks, will do..

The other question I have is, I notice that even with intervalometer set to take a picture every 2 seconds, it is still really about 4-5 seconds between shots. Is that because the regular review setting on the camera is set at 2 seconds? Do I need to go into the regular menu and disable that when I want to, I am thinking there is probably another line I could add to the script.

Is there a listing of common commands I could reference somewhere?
« Last Edit: 05 / February / 2012, 17:20:27 by Glenstr »

*

Offline SkyWalker9

  • ****
  • 301
  • SX20 IS (fw 1.02b)
Re: turning off autofocus with intervolometer
« Reply #5 on: 05 / February / 2012, 21:30:42 »
Quote
...I notice that even with intervalometer set to take a picture every 2 seconds, it is still really about 4-5 seconds between shots. Is that because the regular review setting on the camera is set at 2 seconds? Do I need to go into the regular menu and disable...
Yes, in order to get the shortest delay interval possible, you will need to disable the "review" after shooting.

Quote
Is there a listing of common commands I could reference somewhere?
Start with the most current uBasic User's Guide: http://images2.wikia.nocookie.net/__cb20100806022158/chdk/images/e/e5/UBASIC_User_Guide_D0_5.pdf

Re: turning off autofocus with intervolometer
« Reply #6 on: 24 / February / 2012, 22:45:06 »
Can you just set your camera in a manual or program mode to infinity focus in the regular canon menus before running the script? Is there a reason that doesn't work, or does your camera not have that option?
My Flickr Page
I use the chdk on my SX230 and SD1100 cameras, and I installed them using a Macbook, currently running 10.6.8.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal