Preventing an Ixus60 from retracting the lens on low battery - Script Writing - CHDK Forum  

Preventing an Ixus60 from retracting the lens on low battery

  • 1 Replies
  • 2795 Views
Advertisements
Hi all, I want to do some unattended automated photography with an Ixus60, a.k.a. SD600. However, there's a homemade mount on the lens barrel, which must be removed before allowing it to retract. I can take care of this before turning it off, but it can also retract automatically if the battery gets low. This should be prevented. Any idea?

I think a way to simply shut the camera down (or lock it up) without retracting the lens would be enough: the battery voltage can be read, so my script could issue this command if it gets low.

*

Offline srsa_4c

  • ******
  • 4451
Re: Preventing an Ixus60 from retracting the lens on low battery
« Reply #1 on: 24 / May / 2013, 14:21:38 »
See
http://chdk.setepontos.com/index.php?topic=4602.0 and http://chdk.setepontos.com/index.php?topic=9287.0

The addresses for the ixus60 are:

0x79b3c for 1.00a
0x79bb4 for 1.00d

These addresses hold the "is lens outside" flag, you can write 0 to that address to make the cam believe that the lens is retracted. Use the poke command as shown in the first thread above.

Of course try it before using it, don't assume that it works the way you'd like.
« Last Edit: 24 / May / 2013, 14:25:03 by srsa_4c »

 

Related Topics