CHDK Scripts & Parameters problem

Hi, today i went into a field test, and i went with a canonSX260 hacked with the CHDK script from conservations drones, and i encounter a couple o problems. First of all, my setup regarding the script parameter where the following:

-Interval (sec)= 2s
-Time active=3min
-Zoom step =30
Start delay=30s.

That being said, the problems that i had where:

1.- When i hit the trigger button to start the script, the camera zoom in and then freeze and turn off. Then if i, before running the script, put some zoom on the camera that is somehow near the desireble zoom position of the script, the script start running (the intervalometer start taken shoots) but not as expected (see next point).


2.- When i manage to start the script, there is a dialogue box that gives you information about the status of the script (shoots taken, shoots left, time active and time remaining). And when, in that dialogue box, the active time reaches zero, the camera stay on, and it should be turned off by the script, so i dont know why the camera script soes this. Furthermore at this moment, when the active time reaches zero, the photos taken are not what they should be, i mean there are some photos still untaken.
i fortgot to say that the time active start to go on negative, i mean that it count like this: 2...,1...,0...,-1...,-2...

So i would really apretiate your help because this is a real puzzle for me, coz i dont know about programming...
I´ll upload the script that i loaded into the camera

 

conservation drones.bas

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Oh, one more thing....I was correct about the S series of zoom steps and assumed it was the same for the SX series. It's not. For the SX series of cameras the CHDK Wiki says the maximum number of zoom steps is 23 (j should be between 0 and 22). Your default zoom step of 30 exceeds this. That could be part of the problem. Try changing the default value to something between 0 and 22 and see if that works.

  • I tried the file in an A2200. The script would run normally, do the "Starting in 5,4,3,2,1" countdown, do the zoom, then the lcd goes black and it locks up instead of executing "shoot".

    But,....If I rem out the "set_zoom j" (the first step in the do loop) it seems to work OK then, other than not doing the zoom you want. The syntax of the "set_zoom j" looks to be correct, and per CHDK the allowable range for an S series is 0 to 128 (The range for an A series is lower and I corrected for that), so that all looks fine.

    I'm far from expert in CHDK but I'm not seeing what the problem is. I'd be interested if someone who knows this stuff better comes up with an answer.

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…