Remove the optical tests - Creative Uses of CHDK - CHDK Forum supplierdeeply

Remove the optical tests

  • 2 Replies
  • 3545 Views
Remove the optical tests
« on: 06 / June / 2011, 08:21:20 »
Advertisements
I think that CHDK  can provide a software solution for the problem of the  people that don't use the camera optics.
There ara lots of people that needs to remove the optics of the camera to use only the rest.
This people are Astronomers that want primary focus and people with broken cameras and e18 error.

Possible solution:

I want to know if is possible to modify a chdk  version to make the camera work without checking the optics.

I think that there are two ways.

First way can be telling to  the chdk boot that the camera is a camera that has no motors in the definitions.
If the camera has no motors never tries to use  the optics.

Second way is to change the functions that return the status of the optics, the functions must lie, never check the
status and always return ok.

Please before thinking in doing it . I would like to hear from a guru that is possible one of the ways.

*

Offline reyalp

  • ******
  • 14119
Re: Remove the optical tests
« Reply #1 on: 06 / June / 2011, 16:21:34 »
This is a frequently requested feature, you should be able to find some older discussions with search. Some people have succeeded in doing this with hardware (essentially leave the mechanical bits connected or connect suitable dummies, but don't put them in front of the sensor)

As far as I know, no one has succeeded in doing this with software.

Quote
First way can be telling to  the chdk boot that the camera is a camera that has no motors in the definitions.
If the camera has no motors never tries to use  the optics.
Practically speaking, this is meaningless. There is no one place "has motors" is defined in the camera firmware. There are various functions that interact with the hardware all over the place, and the entire firmware is based on the assumption that these things exist.
Quote
Second way is to change the functions that return the status of the optics, the functions must lie, never check the
status and always return ok.
Because CHDK does not modify camera ROM, you cannot generally change a specific function. Nor is there one specific function that checks the status, as above, there are many places that interact with the mechanical hardware. It's also not as simple as status OK, for example, a function might try to drive a motor to a specific position, polling some other hardware to determine when it is there...

If you were willing to write the ROM, you'd have more options, but you are likely to permanently destroy a significant number of cameras in the process. I guess if you got ones with damaged optics off of ebay etc. this wouldn't be so bad. This is something I would be interested in experimenting with (assuming cheap/free damaged cameras to play with) although I don't think it would ever be an official part of CHDK. Users would inevitably brick their cameras and blame us.
Don't forget what the H stands for.

Re: Remove the optical tests
« Reply #2 on: 06 / June / 2011, 18:03:11 »
There is an easier solution that I used on a microscope some years ago.

Obtain a 5MP to 10 MP Vivitar camera with fixed lens.

Normally, you would need a tiny, VERY fast mechanical shutter to block the sensor AFTER exposure.

For astronomy, the shutter need not be so fast.

I attached a tiny vane made from feeler-gauge shim to a pager motor.
« Last Edit: 06 / June / 2011, 19:32:11 by Microfunguy »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal