Manual focus on Powershot N - General Help and Assistance on using CHDK stable releases - CHDK Forum

Manual focus on Powershot N

  • 5 Replies
  • 2428 Views
Manual focus on Powershot N
« on: 01 / March / 2015, 18:00:52 »
Advertisements
Powershot N is a great little camera to attatch to a scope. Everything is perfect, except for the auto-focus that hunts. In a scope use, I need focus fixed to infinity.
The camera itself does not have AF lock or any option to disable AF. Pulled CHDK for N from http://mighty-hoernsche.de/trunk/bins/n-100a-1.4.0-4039-full_BETA.zip

CHDK runs, all is fine, however, setting the "Override Subject Distance" menu item in the CHDK's Enhanced Photo Operations menu to Infinity has no effect, camera still tries to autofocus.

Can you guys suggest a workaround?

*

Offline reyalp

  • ******
  • 14034
Re: Manual focus on Powershot N
« Reply #1 on: 01 / March / 2015, 18:15:04 »
Try a script with set_mf(1) or set_aflock(1) and then set_focus(-1)

According to the source either should work. It's possible that calling the set function from script will also allow you to use the menu overrides.

edit:
What indeed  :haha
« Last Edit: 02 / March / 2015, 00:51:12 by reyalp »
Don't forget what the H stands for.

Re: Manual focus on Powershot N
« Reply #2 on: 02 / March / 2015, 00:44:21 »
Thanks! According to 'what' though?

Re: Manual focus on Powershot N
« Reply #3 on: 02 / March / 2015, 00:59:04 »
Thanks, I am trying this script now: http://chdk.wikia.com/wiki/CHDK_Manual_Focus_and_Subject_Distance_Overrides

Seems to be working. Now need to figure out how to have the AF Lock enabled in video mode.
« Last Edit: 02 / March / 2015, 01:05:20 by gregair »


*

Offline reyalp

  • ******
  • 14034
Re: Manual focus on Powershot N
« Reply #4 on: 02 / March / 2015, 01:07:55 »
Pls pardon my ignorance, at what point does the script run? Right after I click "load script" from CHDK menu? Where does the output of 'print' go? Looking at script, something has to be printed on the screen, but I see nothing on Powershot N's touchscreen.
The script menu just loads the script. The script should run when you press the shutter in "alt" mode, though it's possible touch screen cameras do something differently.

My suggestion was to use a simple script with just
Code: [Select]
set_mf(1)
set_focus(-1)
If you shoot after running that, the focus should be at infinity. Put it in a file named focus.lua or something like that.
Don't forget what the H stands for.

Re: Manual focus on Powershot N
« Reply #5 on: 02 / March / 2015, 01:53:07 »
Thank you SO much, its working!

 

Related Topics