CHDKPTP - PC Remote Control Performance Analysis - page 30 - RAW Shooting and Processing - CHDK Forum

CHDKPTP - PC Remote Control Performance Analysis

  • 465 Replies
  • 140210 Views
*

Offline reyalp

  • ******
  • 14128
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #290 on: 28 / September / 2012, 01:21:40 »
Advertisements
NOTE #1:  CCD temp is high by about 12degC 

CHDK    Actual S90 (back of chip measured with IR thermometer)
42C      33.2C
44C      33.8C
45C      34.2C
47C      34.9C
CHDK simply returns the value of a canon function named GetCCDTemperature. There's no guarantee it is calibrated to any particular standard. OTOH if the Canon sensor is integrated in the sensor die, 12c higher than the surface doesn't sound implausible. The optical and battery temperatures seem to be in the right ballpark on my cameras, and the CCD temp matches on power up.

Quote
The S90 is different.  In camera in REC mode, I press REBOOT the sometimes camera simply turns OFF and the lens remains extended (the only way to get control is reinsert the battery).
Rebooting in REC mode is not recommended, this is actually documented: http://chdk.wikia.com/wiki/Script_commands#reboot.28.5Bfile.5D.29

Switch to play first. Assuming you are using an eventproc enabled build (such as the ones I provided) you may be able to use StoreLensForShutDown to retract the lens, see http://chdk.setepontos.com/index.php?topic=6857.msg73227#msg73227
Don't forget what the H stands for.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #291 on: 28 / September / 2012, 01:38:59 »
Thanks for this advice ... my bigger problem that is preventing the next step is that I can't get the camera stay on permanently via CHDKPTP.  That is I cannot get access to CHDK menus through CHDKPTP even if I say =enter_alt() ... srsa agrees.  Is there a way I can set the equivalent of Enable LCD OFF Always, through the command line?

edit: =set_config_value(67,1) that I tried before doesn't work.
« Last Edit: 28 / September / 2012, 01:43:09 by SticK »

*

Offline reyalp

  • ******
  • 14128
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #292 on: 28 / September / 2012, 01:45:18 »
Is there a way I can set the equivalent of Enable LCD OFF Always, through the command line?
Assuming you mean the "disable lcd off" setting, then yes, you can set that with set_config_value. You could also prepare your config file on another working camera (or zeno's cfg editor http://www.zenoshrdlu.com/kapstuff/zcfgedit.html ) load it onto the card yourself. I'm not sure offhand whether uploading the cfg over chdkptp will be effective, you might have to load it using a card reader.
Don't forget what the H stands for.

*

Offline reyalp

  • ******
  • 14128
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #293 on: 28 / September / 2012, 01:47:41 »
edit: =set_config_value(67,1) that I tried before doesn't work.
Code: [Select]
#define ALT_PREVENT_SHUTDOWN_NO         0
#define ALT_PREVENT_SHUTDOWN_ALT        1
#define ALT_PREVENT_SHUTDOWN_ALT_SCRIPT 2
#define ALT_PREVENT_SHUTDOWN_ALWAYS     3
Don't forget what the H stands for.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #294 on: 28 / September / 2012, 01:52:02 »
Is 67 the correct index value?

i.e.  =set_config_value(67,3) is what I should use ??

*

Offline reyalp

  • ******
  • 14128
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #295 on: 28 / September / 2012, 02:02:29 »
http://trac.assembla.com/chdk/browser/trunk/core/conf.c
Code: [Select]
CONF_INFO( 67, conf.alt_prevent_shutdown,   CONF_DEF_VALUE, i:ALT_PREVENT_SHUTDOWN_ALT, conf_update_prevent_shutdown),
edit:
If you want to use set_config_value, you are going to need to familiarize yourself with conf.c
« Last Edit: 28 / September / 2012, 02:04:44 by reyalp »
Don't forget what the H stands for.

*

Offline zeno

  • *****
  • 891
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #296 on: 28 / September / 2012, 05:30:02 »
If you're going to use my CFG editor - there's a newer version here - http://www.zenoshrdlu.com/cfgedit/chdkcfgedit.html
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #297 on: 28 / September / 2012, 08:45:16 »
@reyalp
The function call did work =set_config_value(67,3) // it's not elegant but still running fine for 6 hours. 
Where do I find these defines ... http://chdk.setepontos.com/index.php?topic=8613.msg91341#msg91341  ??

@zeno
It looks like your tool will come in handy once I am move into acceptance Phase III (where hopefully I will map out lens control signals with the oscilloscope).  For now I just need bare bones operation to keep the camera ON to see how I far can strip it down before it stops functioning with CHDKPTP // basically still at a GO/NOGO stage.  Thanks!

BTW, why do I need programmatic control of the camera?  ... because ... one of the two patients is already opened up for lens access and to get at lens control signals, the button panel has to be removed.   I am still waiting for delivery of Microfunguy's "get lens-only" suggestion for a sacrificial dismantling in order to narrow down and map as best possible what signal lines go with what components (focus, IS, iris, shutter, zoom, detectors, etc.) ... from quick inspection -- there are at least two dozen lines -- it won't be trivial.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #298 on: 28 / September / 2012, 11:22:48 »
S90 - A CRAZY GOOD CONDITION for ASTRONOMY // PHOTOS ATTACHED

This could be a first ... an S90 running "perfectly" under CHDKPTP without all of these (Fig 1): 
   a) No Flash (left).  You get a warning on PUP but camera continues run.
   b) No button panel (foreground).  There are Hall-effect sensors for dial, push-button switches and activity LED.
   c) No LCD (standing up background).
   d) No ring function (front camera cover, background, lying down).
   e) No top cover selector switch (between button panel & LCD).  PUP defaults to AUTO, but you can naturally select the mode you want with the dropdown in CHDKPTP.  Here I have it running in M mode.

CHDKPTP liveview is in the bottom left of the screen.

CONCLUSIONS

As it stands at present, I could safely say the S90 CCD is useable in primary focal plane architecture with excellent access to the chip.  For most astronomy applications I feel there is enough room to swing out the CCD and make it face either perpendicular to the camera body or parallel in front of the large black chip to the right of its connector.  Hence either way there is much space to engineer a temperature control cavity, and in my experience, you won't need anything lower than +15C to handle hot pixels reasonably well right out to the extended Tv of 64s offered by CHDK.  Even in the parallel position, there is 1 cm of clearance between the main board and the back of the CCD.

For my project specifically, I attempted to disconnect the lens signal connector (Fig 2) in a desperate hope that the camera would continue running with the rationale that a full disconnect would be detected by firmware as a maintenance/test condition i.e., not be "as bad" as a jammed lens (entirely possible).  Alas, not it was not to be ... camera booted up but then failed with REC attempt and would not boot again unless I reconnected lens control.  AFAIK nothing was damaged in this test.  So for me personally, it is still an uphill battle.  These new results (a to e above) are nonetheless encouraging and are in fact a preface to Phase III, which of course I am convinced now will have to be undertaken.  Despite that, these results here give me good access to tracing the signal lines with the scope.  The lens even when not extended takes up more than 1/2 the volume of the electronics and no matter what position I put the CCD in is not useable as-is.  Getting rid of the lens assembly effectively reduces the entire electronics with the CCD to a very tiny  ~1 cu in allowing me excellent flexibility in optical positioning and thermal design in the tight space demanded by the instrument.

For its small 1/1.7" format, this is a superlative low-light CCD and signal processor combination for 12-bit RAWs.  I look forward to someone getting spectacular images of Mars ... search for a part of the planet under overcast cloudy skies or better polar ice if you can see it, and set your white balance to pure white.  With that I expect we should see publication-quality true planet surface colors never before delivered by NASA.  Please let me know.  The white balance settings might work well for Saturn too.

~SticK~
« Last Edit: 28 / September / 2012, 11:25:36 by SticK »

Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #299 on: 28 / September / 2012, 13:23:21 »
Good, some interesting information there.


 

Related Topics


SimplePortal © 2008-2014, SimplePortal