Autofocusing Each Shot On Self Timer - General Help and Assistance on using CHDK stable releases - CHDK Forum

Autofocusing Each Shot On Self Timer

  • 6 Replies
  • 1599 Views
Autofocusing Each Shot On Self Timer
« on: 01 / May / 2011, 05:23:45 »
Advertisements
Hi folks,

This is my first post and i'm not particularly technically gifted so please go easy on me.

I was chatting with a mate about using the custom self-timer on my S95 to take shots with me in. I argued that by me pressing the button myself, the camera would then focus into the distance and once I stand in front of it, I will be blurry but the background will be in focus. This is true as i've found this when taking my fishing pics.

He said that there is a setting in CHDK where when you set up the self-timer to take X amount of shots, it will re-focus for every shot instead of keeping the original focal point.

Can someone confirm this is true and if they have used it, can they tell me if it worked well with each shot in focus?

Also, please could you tell me how I would find it in CHDK (is it possible to save it as a "favourite"?)

Thanks very much

Ian

*

Offline zeno

  • *****
  • 885
Re: Autofocusing Each Shot On Self Timer
« Reply #1 on: 01 / May / 2011, 06:34:10 »
If you use a simple intervalometer script, like the one below, the camera will definitely focus before each shot. As written it waits 10 seconds before taking the first shot, then takes a shot every 5 seconds. Adjust defaults to suit.
Code: [Select]
@title Simple Intervalometer
@param i Interval between shots (Seconds)
@default i 10
@param d Delay before first shot (Seconds)
@default d 5

sleep 1000*d
while 1
   shoot
   sleep i*1000
wend
end
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: Autofocusing Each Shot On Self Timer
« Reply #2 on: 01 / May / 2011, 07:14:59 »
Thanks very much for the quick reply zeno.

As I said, i'm not too technically blessed - with this script, is the basics of it already in the CHDK that you put onto your SD card and then you literally have to just somehow navigate to it and change the seconds and number of shots accordingly?

Kind regards

Ian

*

Offline zeno

  • *****
  • 885
Re: Autofocusing Each Shot On Self Timer
« Reply #3 on: 01 / May / 2011, 09:37:36 »
Ian

you need to download the script to your PC (call it something like "timer.bas"). Then copy it to the CHDK/SCRIPTS folder on the card.

Put the card in the camera (locked), turn the camera on and press the Alt key (print button). The press Menu and navigate to the Scripting menu, press Func/Set and navigate to "load script", press Func/Set again and navigate to the "timer.bas" script. Press Func/Set again and then press the shutter - the script should run.

To stop the script, press the shutter button again.

Note that the next time you turn on the camera and press the Alt button, CHDK will remmerb the script you selected, so all you have to do is press the shutter button to run it.

Hope that helps.
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit


Re: Autofocusing Each Shot On Self Timer
« Reply #4 on: 02 / May / 2011, 02:53:59 »
It sure does... thanks very much for that  :)

Re: Autofocusing Each Shot On Self Timer
« Reply #5 on: 03 / May / 2011, 14:35:52 »
Hi,

Just one final question before i attempt this - i'm assuming that in order to put this script onto the card that already has CHDK, I would need to put it into a card reader unlocked, add the script and then lock the card before putting in camera?

Thanks

*

Offline zeno

  • *****
  • 885
Re: Autofocusing Each Shot On Self Timer
« Reply #6 on: 03 / May / 2011, 18:05:30 »
Exactly right!
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

 

Related Topics