Provide USB signal when shutter closes - page 2 - Feature Requests - CHDK Forum supplierdeeply

Provide USB signal when shutter closes

  • 16 Replies
  • 6033 Views
Re: Provide USB signal when shutter closes
« Reply #10 on: 02 / June / 2015, 23:34:49 »
Advertisements
The AF assist lamp might be a good option. The UAV presumably has no use for actual AF assist, and it can (usually?) be turned off in the canon firmware, so it should only blink under CHDK control.
I was thinking much the same thing. Although I was also thinking that the AF lamp is a whole lot bigger and a whole lot brighter so likely easier to interface to.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline c_joerg

  • *****
  • 1069
Re: Provide USB signal when shutter closes
« Reply #11 on: 03 / June / 2015, 02:29:03 »
I’m reading this with much interest.
I’m thinking about to build a slider for time laps.
Controlling the slider with AF assist lamp or LED might be a good option.
M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

Re: Provide USB signal when shutter closes
« Reply #12 on: 03 / June / 2015, 08:29:47 »
"However, the script could be changed to turn on the LED but not turn it off.  So in Auto mode, the extra flash would not be visible as I suspect it would be turning on an LED that is already on and then turning it off."
I don't quite understand this.

Sorry for the confusion. I was testing with an ELPH 115. It only has one LED on the back and I cannot find any Auto Focus Assist settings in the Canon menus.

I don't think the logs are an option at all. When the autopilot send the signal to take a picture is useless information. I don't see any way to tie the camera logs back to the autopilot signal as a starting point.

Any other ideas if the LED is too problematic? I'm still thinking using the shutter sound from the speaker. Is it possible to turn off all other sounds? The ELPH 115 firmware has a volume setting that allows you to control:
Start up volume
Operation volume
Selftimer volume
Shutter volume

However, even when I disable all volumes except Shutter Volume it plays a beep as it focuses before the shutter sound.

Thanks!

Brian


Re: Provide USB signal when shutter closes
« Reply #13 on: 03 / June / 2015, 09:29:20 »
"However, the script could be changed to turn on the LED but not turn it off.  So in Auto mode, the extra flash would not be visible as I suspect it would be turning on an LED that is already on and then turning it off."
I don't quite understand this.
Here are the steps :
  • Script decides that it is time to shoot.
  • Script turns on the LED
  • LED turns on
  • Camera shoots
  • LED is still on
  • Normal camera shooting process tries to turn on LED
  • LED is still on
  • Normal camera shooting process turns off the LED
  • LED is turns off

Quote
I was testing with an ELPH 115. It only has one LED on the back and I cannot find any Auto Focus Assist settings in the Canon menus.


Quote
I don't think the logs are an option at all. When the autopilot send the signal to take a picture is useless information. I don't see any way to tie the camera logs back to the autopilot signal as a starting point.
If both camera and autopilot are running an accurate clock,  you only have to figure out the offset between the two once.  Maybe a little trial and error?  After that you should have a pretty good time sync between the two.


Quote
Any other ideas if the LED is too problematic? I'm still thinking using the shutter sound from the speaker. Is it possible to turn off all other sounds?
There is no known way to turn off sounds with CHDK.  I also tend to suspect the code to make a sound would not be suitable for precise synchronization of the actual shooting time.
Ported :   A1200    SD940   G10    Powershot N    G16


Re: Provide USB signal when shutter closes
« Reply #14 on: 03 / June / 2015, 10:06:14 »
Ah! I had the Auto Focus Lamp covered in velcro. I was looking at the LED on the back of the camera. Your change appears to be working perfectly!!  One solid flash per picture.

Thanks!

*

Offline reyalp

  • ******
  • 13142
Re: Provide USB signal when shutter closes
« Reply #15 on: 03 / June / 2015, 17:58:37 »
If both camera and autopilot are running an accurate clock,  you only have to figure out the offset between the two once.  Maybe a little trial and error?  After that you should have a pretty good time sync between the two.
May be worth noting that camera clocks are probably accurate enough on ~day timescales, but are likely to drift significantly over weeks or months. So you'd want to get the offset before each flight.

For sub-second accuracy, you would have to do it per camera boot anyway, since the tick value at which clock seconds roll over would be different each boot.
Don't forget what the H stands for.

Re: Provide USB signal when shutter closes
« Reply #16 on: 03 / June / 2015, 18:17:52 »
For sub-second accuracy, you would have to do it per camera boot anyway, since the tick value at which clock seconds roll over would be different each boot.
The most recent kap_uav.lua scripts sync the clock roll-over and tick counter so this should not really be a concern.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics