Page 111 of the A800 manual (on the pdf downloaded version anyway) describes the image numbering scheme. I don't think that CHDK messes with that but I'm no expert. Manual states a reformat will clear the counter but one would think there is a file somewhere keeping track.
You may want to post your 15min pic snapping script (if you haven't already) so that we can collectively try to figure out why it might be hanging. Possible issues: battery/power related, memory leak issue w/ Canon or CHDK firmware, something related to the power issue mentioned earlier related to zoom/focus, camera powering itself down after a timeout, ...
If it is a memory leak problem, powering the camera down/up once each day (or every 2 days, or...) might solve that problem.
Also you might want to post a pic of how you built your power adapter. What is the voltage it supplies when there is no camera attached and when there is a camera attached. Did you add decoupling caps (0.1uF, and 1uF available at radioshack) near the cam battery terminals to your home-brew power adapter?
When it "crashes" what does it do? Does the lens retract (ie power itself down) or stay out (become inoperable)?
Sorry for taking so long to get back. The camera is busy taking pictures.
I did not test much. I only took the camera down for a bit.
My problems with renumbering might be with removing the card without first powering off the camera.
- Leaving an image, or renaming a image to the number I want will continue the numbering from there.
- Formatting the card and power cycling properly did not mess up the numbering.
- Removing the card without powering off, deleting all images, numbering started at 1 again.
After I put the card into autoboot into chdk mode when ever I put the card into the PC, windows would indicate that something might be wrong with the card and ask if I want run chkdsk. I would always say no. But now after doing a lowlevel format on the card with camera and putting the new firmware on I did not get this warning on the PC anymore. Maybe there was a corrupt file. I always though it was a because of some hidden partition on the card. The camera is hooked back up and timer running. Need to wait until next time to test again.
The script I am using is a modified version of
http://chdk.setepontos.com/index.php?topic=6105.0I did not change much but I did play with zoom and focus.
I added code to zoom in all the way at the beginning. Programmatic changing zoom is so slow that I also zoom in manually before starting the script. I forgot once in the beginning so I added this code.
z = get_zoom
set_zoom_speed 20
sleep 1000
while z<6
z=z+1
set_zoom z
sleep 2000
wend
I also added code to only focus for the first shot. I added this before I got the power adapter. I was trying to save power by not focusing for each shot. But it also runs a lot more quite so I continue to use this now I have a power adapter.
if n=1 then gosub "setfocuslock"
:setfocuslock
sleep 600
set_aflock 1
sleep 600
return
set_aflock 0
The power adapter I got off Ebay - It is a proper one from Canon. Large brick. The only thing I made was wooden batteries. It maybe I have a loose connection. It shut off a couple times when I wiggled the wires but nothing gets touched when it is running.
When it crashes the lens stays out.
I just updated from version a800-100c-1.0.0-1907-full_BETA to a800-100c-1.1.0-2057-full_BETA