Battery logging and automatic min/max voltage calcuation - Feature Requests - CHDK Forum

Battery logging and automatic min/max voltage calcuation

  • 4 Replies
  • 5491 Views
*

Offline KaLi

  • *
  • 21
  • G11 CHDK, FinePix Real 3d W1, 2*A460 SDM, S50, S40
Battery logging and automatic min/max voltage calcuation
« on: 19 / February / 2010, 07:34:24 »
Advertisements
I've got a new G11 ... and therefore I have to find the correct voltage values for my battery.

It would be nice, if chdk logs the min and max values by itself and writes the data into a battery.log . For pure scientific interrest, it would also be nice to log shot-number, on-time, display-time and voltage whenever one shot is taken (so not log min/max but a list entry for every shot) -- so one could calculate the maximum shots per load. And also one could find a discharge curve -- e.g. to check, if original canon batteries are better than china-tec batteries. I guess, the discharge curve isn't a straight line.

Maybe this logging with a on/off switch in the battery menu.

And if chdk finds min and max values by itself... then it could fill the min and max fields in the battery menu by itself. ;-)


btw: I guess canon batterys are "stupid" without serial or id, therefore chdk couldn't notice which battery is in the camera.

If one uses batteries of various qualities (e.g. canon-orig, high-quality-replacement, china-tec), it would be nice to save/load different battery settings with min/max values. Otherwise one has to note the min/max values with a marker on the batteries and fill in the correct values whenever one changes the batteries by hand.

any bad photo is much better than any photo not shot...

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Battery logging and automatic min/max voltage calcuation
« Reply #1 on: 19 / February / 2010, 07:52:41 »
You can do the logging with a little script...

IMO having this in the code isn't a good idea:
Free memory is very rare, you can't identify batteries (no serial in the Canon NB-x batteries / in standard AA batteries); the batterie's behaviour differs with temperature and age, also with usage...

Maybe we should add a "batt calibration aid" script to the CHDK package...

*

Offline KaLi

  • *
  • 21
  • G11 CHDK, FinePix Real 3d W1, 2*A460 SDM, S50, S40
Re: Battery logging and automatic min/max voltage calcuation
« Reply #2 on: 19 / February / 2010, 08:32:43 »
any bad photo is much better than any photo not shot...

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Battery logging and automatic min/max voltage calcuation
« Reply #3 on: 19 / February / 2010, 15:41:23 »
A script could be a solution...
I meant: you can write a script that capture images in a given interval and log the values to a text file, until the camera powers off with empty batteries...
Until now there's no mechanism to run scripts automatically in the background...

Quote
I guess, picture taking dosn't use much more power than simple display-on and zooming without picture taking -- therefore the on-time is the most important.
The camera's power consumption behaviour isn't that easy;
there are some threats here in the forum (and also lots of stuff in the german forum ;) ) with detailed informations and charts, search for "power consumption" or for "stromverbrauch" ...

- http://chdk.setepontos.com/index.php/topic,2375.0.html
- http://chdk.setepontos.com/index.php/topic,3872.msg36535.html#msg36535
- http://chdk.setepontos.com/index.php/topic,3872.0.html
- http://chdk.setepontos.com/index.php/topic,1768.msg16090.html#msg16090
- http://www.wirklemms.de/chdk/forum/viewtopic.php?t=340
- http://www.wirklemms.de/chdk/forum/viewtopic.php?t=342

In playback mode the camera has the lowest power consumption (the sensor is off), the highest consumption is while the camera is focusing / the flash loads...

*

Offline KaLi

  • *
  • 21
  • G11 CHDK, FinePix Real 3d W1, 2*A460 SDM, S50, S40
Re: Battery logging and automatic min/max voltage calcuation
« Reply #4 on: 20 / February / 2010, 04:40:49 »
any bad photo is much better than any photo not shot...

 

Related Topics


SimplePortal © 2008-2014, SimplePortal