Simple mode for a simple camera - Script Writing - CHDK Forum

Simple mode for a simple camera

  • 5 Replies
  • 5732 Views
Simple mode for a simple camera
« on: 02 / October / 2011, 14:29:40 »
Advertisements
Hi
I'm now to CHDK and I'm very impressed. I found today a light-meter script with is great because I shoot with old film camera with no metering.

I'm trying to write a simple script to allow me primitive manual mode on my A1100is camera. It has only [P] mode and all the crappy auto modes of course.

For start I want to be able to take pictures using the "sunny f/16" law. How do I set a camera with no [M] mode to specific Tv, Av and Sv values and how do I take a picture once those values are set?

Does this should work? or when it gets to shoot() it will meter again and set new values?
Code: [Select]
  set_tv96_direct(t)
  set_sv96(s)
  set_av96(p)

  shoot()

Thanks a lot for this amazing project

Re: Simple mode for a simple camera
« Reply #1 on: 02 / October / 2011, 15:07:30 »
Does this should work? or when it gets to shoot() it will meter again and set new values?
It will work the way you want it to - the shoot() will use the values you specify as t, s, p.

And to get you started,  do this to figure out what the initial values should be :
Code: [Select]
  p=get_av96()
  s=get_sv96()
  t=get_tv96()
  print ( "av=", p, " sv=", s, " tv=", t)
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Simple mode for a simple camera
« Reply #2 on: 02 / October / 2011, 16:34:46 »
@BeaglE
This Universal_Tv_mode script may also be useful...

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Simple mode for a simple camera
« Reply #3 on: 03 / October / 2011, 04:29:41 »
The A1100 has no iris diaphragm but a ND filter. With set_nd_filter (0=off, 1=in, 2=out) you can set the ND filter. So you get a small or large av value. You can not use set_av96 or set_tv96_direct set_av96_direct!

msl
« Last Edit: 04 / October / 2011, 07:00:34 by msl »
CHDK-DE:  CHDK-DE links

Re: Simple mode for a simple camera
« Reply #4 on: 03 / October / 2011, 19:42:27 »
@msl :    set_tv96_direct() is a manual override for the shutter speed.  It seems you should be able to do that regardless of whether the camera has an iris or ND filter ?   Or is there something special about the A1100 ?

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Simple mode for a simple camera
« Reply #5 on: 04 / October / 2011, 07:05:16 »
@waterwingz: I know what it does. ;) I meant set_av96_direct. It was only a typo, sorry.

msl
CHDK-DE:  CHDK-DE links

 

Related Topics


SimplePortal © 2008-2014, SimplePortal