DPReview.com is closing April 10th - Find out more

Hot-shoe signal to external GPS

Started Apr 24, 2017 | Questions
DPR_gio New Member • Posts: 3
Hot-shoe signal to external GPS

Hi,

I'm new to this forum, and hopefully this is the right place to post this question; I'll post the question on the UAV photography section, as it can relate very well there as well.

I also tried to contact Max (dptnt.com), as he seems to have a great deal of knowledge on hot-shoe inner workings, but had no luck.

Anyways, this is the scenario:

I have a Nikon D3300, and I have connected, thorough a specific accessory (http://www.seagulluav.com/product/seagull-sync/?v=cd32106bcb6d), the hot-shoe 'signal' to the 'external-event' time-mark pin of an Ublox M8T GPS receiver: this way, every time I shoot a picture the shutter activation, through the above hot-shoe circuit, sends a signal to the GPS which then records the precise time when the image was taken.

The hot shoe adapter is supplied by (a 3.7 V Li-Po battery connected to) a 3.3 V regulator, and hardware-wise things seem to work: the issue I'm facing though is that not all the 'shutter activation pulses' are detected and logged consistently by the GPS unit, and I suspect this depends on the hot-shoe signal duration (being too short at times...?? not sure) - the GPS time mark pin operates at TTL level, can detect falling or rising edge pulses, and it's fairly flexible and reliable.

I'm writing hoping someone with hot-shoe knowledge can help: I do not really know the hot shoe signal in terms of pulse duration, and its dependency on other camera parameters/settings (such as shutter speed, internal/external flash, etc), and if anything can be done to increase the duration of the hot shoe pulse.

Thanks in advance for reading this, and for any feedback you're willing to provide.

Best Regards

Giovanni

ANSWER:
This question has not been answered yet.
Nikon D3300
If you believe there are incorrect tags, please send us this post using our feedback form.
BobORama
BobORama Senior Member • Posts: 2,842
Re: Hot-shoe signal to external GPS

Hi,

You can implement an edge triggered debouncing circuit. It will activate on the rising edge and the output will stay logic high until a certain time elapses. I am quickly cribbing from the Internet, and this diagram has more than you actually need:

See http://www.talkingelectronics.com/projects/100%20IC%20Circuits/1-100_IC-Ccts.html

The left most pair of NAND gates acts as a debouncing circuit / latch which will set pin 3 logic high for a predetermined amount of time when the leading edge of the input to pin 1 is detected.

The right hand pair of NAND gates forms an square wave generator for driving the speaker.   Unless you need an audible alarm when the shutter goes off - you can skip that and the transistors

So no matter how short the duration of the input pulse, the output from Pin 3 will stay high for as long as indicated by the R-C circuit in between the two left most gates. So for, say, a 100ms pulse you would want 1 microfarad and a 10K resistor?  Or a small potentiometer so you can adjust it later.

 BobORama's gear list:BobORama's gear list
Pentax K-5 Pentax K-1 Sigma 10mm F2.8 EX DC HSM Diagonal Fisheye Pentax smc DA 18-55mm F3.5-5.6 AL WR Samyang 14mm F2.8 ED AS IF UMC +9 more
OP DPR_gio New Member • Posts: 3
Re: Hot-shoe signal to external GPS

BobORama wrote:

Hi,

You can implement an edge triggered debouncing circuit. It will activate on the rising edge and the output will stay logic high until a certain time elapses. I am quickly cribbing from the Internet, and this diagram has more than you actually need:

See http://www.talkingelectronics.com/projects/100%20IC%20Circuits/1-100_IC-Ccts.html

The left most pair of NAND gates acts as a debouncing circuit / latch which will set pin 3 logic high for a predetermined amount of time when the leading edge of the input to pin 1 is detected.

The right hand pair of NAND gates forms an square wave generator for driving the speaker. Unless you need an audible alarm when the shutter goes off - you can skip that and the transistors

So no matter how short the duration of the input pulse, the output from Pin 3 will stay high for as long as indicated by the R-C circuit in between the two left most gates. So for, say, a 100ms pulse you would want 1 microfarad and a 10K resistor? Or a small potentiometer so you can adjust it later.

Thanks a lot Bob; I've doing some checks/tests and I think there might be a problem with the GPS configuration/set-up: I've posted on the Ublox forum hoping someone can shed some lights on this matter.

Thanks again for your suggestion.

Regards

Giovanni

inohuri Regular Member • Posts: 100
Re: Hot-shoe signal to external GPS

I don't know what you mean by "hot-shoe signal".

If this connects to the hot-shoe center pin then it is usually a switch that closes temporarily. This will usually only tolerate 6 volts which implies it is solid state. (If using an pre digital era flash check to make sure it is not putting out higher V and ignore the lists on the internet - the V will vary with the same flash type and could be 200 V.)

The most common problem that I have seen is the ground or common on the side of the hot-shoe making poor contact. Rarely they are painted with the wrong paint and scraping down to bare metal works. Just see if the paint is conductive with a meter or an LED  and battery.

You could connect an LED and a battery to the center terminal and side to get an idea of the duration. If too short a duration it would be hard to see.

An analog meter that uses a AA battery set to lowest ohms might also give an idea in the same way. (The old meters use 22 volts for high ohms.) I just tried this on a Canon XTi and the hidden switch on the right side had to be closed to get it to work. The meter needle bounced. There was also a polarity. With it hooked up one way it was open and went low, the other way there was low ohms which went lower with the shutter. The hidden switch detects a dumb external flash so the internal flash does not pop up. If your camera has a hidden switch in the slot make sure your device pushes on it.

ProfHankD
ProfHankD Veteran Member • Posts: 9,146
Re: Hot-shoe signal to external GPS

DPR_gio wrote:

I have a Nikon D3300, and I have connected, thorough a specific accessory (http://www.seagulluav.com/product/seagull-sync/?v=cd32106bcb6d), the hot-shoe 'signal' to the 'external-event' time-mark pin of an Ublox M8T GPS receiver: this way, every time I shoot a picture the shutter activation, through the above hot-shoe circuit, sends a signal to the GPS which then records the precise time when the image was taken.

The hot shoe adapter is supplied by (a 3.7 V Li-Po battery connected to) a 3.3 V regulator, and hardware-wise things seem to work: the issue I'm facing though is that not all the 'shutter activation pulses' are detected and logged consistently by the GPS unit, and I suspect this depends on the hot-shoe signal duration (being too short at times...?? not sure) - the GPS time mark pin operates at TTL level, can detect falling or rising edge pulses, and it's fairly flexible and reliable.

The hot shoe on most modern cameras is an electronic switch that can handle at least 5V and usually 24V; older cameras used mechanical switches and could tolerate much higher voltages (and significant currents). I believe it switches between connected and not connected, not logic low (ground) and logic high (3.7V? 5V?). If so, the problem is that switching between logic high and floating will not give a clean edge  However, I don't have a copy of ISO 518:2006... you should really trust whatever that says we are supposed to use, not my memory....

 ProfHankD's gear list:ProfHankD's gear list
Canon PowerShot SX530 Olympus TG-860 Sony a7R II Canon EOS 5D Mark IV Sony a6500 +32 more
Ragnar Jensen
Ragnar Jensen Regular Member • Posts: 430
Re: Hot-shoe signal to external GPS

ProfHankD wrote:

DPR_gio wrote:

I have a Nikon D3300, and I have connected, thorough a specific accessory (http://www.seagulluav.com/product/seagull-sync/?v=cd32106bcb6d), the hot-shoe 'signal' to the 'external-event' time-mark pin of an Ublox M8T GPS receiver: this way, every time I shoot a picture the shutter activation, through the above hot-shoe circuit, sends a signal to the GPS which then records the precise time when the image was taken.

The hot shoe adapter is supplied by (a 3.7 V Li-Po battery connected to) a 3.3 V regulator, and hardware-wise things seem to work: the issue I'm facing though is that not all the 'shutter activation pulses' are detected and logged consistently by the GPS unit, and I suspect this depends on the hot-shoe signal duration (being too short at times...?? not sure) - the GPS time mark pin operates at TTL level, can detect falling or rising edge pulses, and it's fairly flexible and reliable.

The hot shoe on most modern cameras is an electronic switch that can handle at least 5V and usually 24V; older cameras used mechanical switches and could tolerate much higher voltages (and significant currents). I believe it switches between connected and not connected, not logic low (ground) and logic high (3.7V? 5V?). If so, the problem is that switching between logic high and floating will not give a clean edge However, I don't have a copy of ISO 518:2006... you should really trust whatever that says we are supposed to use, not my memory....

ISO 518:2006 only specifies the physical dimensions of camera accessory shoes. The electrical specifications are in ISO 10330. For electronic switches, it states that whatever voltage (max 24 V) that is asserted on the center pin by a flash, should be pulled down to 1.5 V or lower in one µs or less and be kept there for at least ten µs.

-- hide signature --

Ragnar

 Ragnar Jensen's gear list:Ragnar Jensen's gear list
Olympus Stylus Verve Olympus TG-5 Olympus E-1 Olympus E-3 Olympus E-510 +15 more
ProfHankD
ProfHankD Veteran Member • Posts: 9,146
Re: Hot-shoe signal to external GPS

Rajraj wrote:

ISO 518:2006 only specifies the physical dimensions of camera accessory shoes. The electrical specifications are in ISO 10330. For electronic switches, it states that whatever voltage (max 24 V) that is asserted on the center pin by a flash, should be pulled down to 1.5 V or lower in one µs or less and be kept there for at least ten µs.

Ok.  1.5V doesn't sound like a reliable logic low for a signal that tops out at 3.7V... so that could well be the OP's issue...?  Anyway, like I said, I wouldn't trust my memory on this stuff, but perhaps it is time to pull out a scope (if the OP has one).

 ProfHankD's gear list:ProfHankD's gear list
Canon PowerShot SX530 Olympus TG-860 Sony a7R II Canon EOS 5D Mark IV Sony a6500 +32 more
Captain Hook
Captain Hook Senior Member • Posts: 2,366
Re: Hot-shoe signal to external GPS

(just trying to figure out what you are looking for)

Just to be sure:

What do you want to accomplish exactly? Do you want GPS EXIF Metadata with each image you shot with your D3300?

If so, why don't you use a GPS device like one from http://di-gps.com? Or other solutions that connect directly to your DSLR?

I've used several devices over the years (with my D200, D700 and D800E) which all did a great job of writing GPS EXIF metadata to each image I've shot while the GPS gadget was active.

Or do you mean something else?

Fabio Lobo New Member • Posts: 1
Re: Hot-shoe signal to external GPS

I have a similar issue: when a hot shoe adapter is used on a Sony a6000 camera, to mark an event on a GNSS reciver (EMLID REACH); It is able to mark events on all shutter velocity (1/60; 1/1000; 1/2500, etc...).

This fact is known according to some forum research.... I do not have a Sony camera.

I use a Samsung NX300 camera, and the events are only marked up to 1/250 shutter velocity (1/60...1/250).

I wonder if it is possible to 'break' this limitation with some eletronic or software implementation.

Thank's

lidar532 New Member • Posts: 1
Re: Hot-shoe signal to external GPS

Hi there,

I've done this many times with Sony and Ricoh cameras, and you generally have to simply use a "Pull-up resistor".  To implement, on the GPS Event input, simply connect a 10k resistor from the Event input to the 3.3 volt power bus.  Connect the input to the hot shoe center contact, and a ground wire from the GPS ground to the hot shoe ground.  When you actuate the shutter, the camera will usually generate a "low active" signal while the shutter is open.  The GPS should easily accommodate any pulse width down to at least 1 micro second which is much shorter than any shutter setting you can generate.  Be sure to configure the GPS even input for "high to low" transition detection.  You should not need any debouncing circuit.

-Wayne

mawyatt2002
mawyatt2002 Contributing Member • Posts: 502
Re: Hot-shoe signal to external GPS

lidar532 wrote:

Hi there,

I've done this many times with Sony and Ricoh cameras, and you generally have to simply use a "Pull-up resistor". To implement, on the GPS Event input, simply connect a 10k resistor from the Event input to the 3.3 volt power bus. Connect the input to the hot shoe center contact, and a ground wire from the GPS ground to the hot shoe ground. When you actuate the shutter, the camera will usually generate a "low active" signal while the shutter is open. The GPS should easily accommodate any pulse width down to at least 1 micro second which is much shorter than any shutter setting you can generate. Be sure to configure the GPS even input for "high to low" transition detection. You should not need any debouncing circuit.

-Wayne

Hi Wayne,

Some of the new cameras have an electronic shutter mode that is used for the 1st and 2nd shutter, thus no mechanical shutter, and totally silent/vibration free. I found that the hot shoe "flash" trigger is disabled when in this mode with the Nikon D850, but believe other cameras also block the hot shoe trigger during this mode. The reason may be to prevent flash/strobe bleed thru when reading out the sensor (electronic shutters are not totally opaque).

Anyway, here's a link to a circuit solution I did using a 555 timer. Other software based solutions are available in macro stacking controllers.

https://www.photomacrography.net/forum/viewtopic.php?t=36356&postdays=0&postorder=asc&highlight=555+timer&start=15

BTW why not just trigger the GPS with the same signal that triggered the camera?

Best,

-- hide signature --

Research is like a treasure hunt, you don't know where to look or what you'll find!
~Mike

jekain New Member • Posts: 2
Re: Hot-shoe signal to external GPS

I am trying to get an interrupt into a microcontroller at the shutter-open event. I am using a Canon EOSR camera. I hope to be able to use the hotshoe to provide this interrupt signal.  The Canon has 5 connections at the hotshoe plus the ground (rails).

I have tested the pins using a scope. The only setting in this camera that seems to be useful is to set the flash to "enable".

I can set up the oscilloscope to read the time-signal between the 5 pins and ground.  I click the shutter (manually) and can see the response from the pins. I show the oscilloscope connection below. I also show the oscilloscope traces for several clicks.

The only pins that seem to respond are the two "middle" pins. The left pin produces a 5V pulse of two secs duration and the right pin produces a pulse of 3.3V also for two sec. The pulse is initiated at the pre-fire (half-down) button press -- the two sec timer is initiated at the time of the fire pulse. This seems to be highly repeatable.

Can anyone assist with explaining this behavior?

ProfHankD
ProfHankD Veteran Member • Posts: 9,146
Re: Hot-shoe signal to external GPS
1

jekain wrote:

I am trying to get an interrupt into a microcontroller at the shutter-open event.

We do this in ShAKY (SHift Angle KentuckY), and you'll find the wiring and Arduino code for ShAKY at the URL I linked. Note that the flash trigger marks "fully open" on the focal-plane shutter, not start of exposure (i.e., it's late by your camera's curtain traversal time, which is approximately your X sync speed).

I am using a Canon EOSR camera. I hope to be able to use the hotshoe to provide this interrupt signal. The Canon has 5 connections at the hotshoe plus the ground (rails).

I have tested the pins using a scope. The only setting in this camera that seems to be useful is to set the flash to "enable".

I can set up the oscilloscope to read the time-signal between the 5 pins and ground. I click the shutter (manually) and can see the response from the pins. I show the oscilloscope connection below. I also show the oscilloscope traces for several clicks.

It's a switch, not a signal. See my posts above or the ShAKY URL.

 ProfHankD's gear list:ProfHankD's gear list
Canon PowerShot SX530 Olympus TG-860 Sony a7R II Canon EOS 5D Mark IV Sony a6500 +32 more
jekain New Member • Posts: 2
Re: Hot-shoe signal to external GPS

ProfHankD --

Thanks for your response and the excellent articles.

I see in the paper you are using the stereo jack for the PCSynch as a shutter indicator (end of curtain travel). Is the same info provided by the XSynch on the Hotshoe?

The stereo "tip" (and I think the XSynch) is shorted to ground as an indication of the event. I assume that, to get an oscilloscope signal, you would connect a resistor (e.g., 2Kohm) to the XSynch and the other end of the resistor to a power source (e.g., 3,3V). By placing the Oscilloscope leads across the resistor, we should see the shutter event as a voltage pulse (3.3V).

So far, I am not getting the expected results. I see no voltage activity when using the circuit described above.  I'll keep trying -- maybe you have a suggestion?

I have the Canon mirrorless EOSR settings as I show below for the flash menu. Flash is "enabled" and the Slow Synchro is set to 1/200.  Per your paper, I should be able to set the center of the capture time by backing up the 1/200  by my shutter setting (e.g., 1/2000).

TDJ New Member • Posts: 7
Re: Hot-shoe signal to external GPS

Fabio Lobo wrote:

I have a similar issue: when a hot shoe adapter is used on a Sony a6000 camera, to mark an event on a GNSS reciver (EMLID REACH); It is able to mark events on all shutter velocity (1/60; 1/1000; 1/2500, etc...).

This fact is known according to some forum research.... I do not have a Sony camera.

I use a Samsung NX300 camera, and the events are only marked up to 1/250 shutter velocity (1/60...1/250).

I wonder if it is possible to 'break' this limitation with some eletronic or software implementation.

Thank's

Fabio, I know this is old.  But I want to trigger an event in the Emlid M2 (or M+)  but do so with the signal from the Micro SD card.  I have ordered some extension ribbons so that I can extend the necessary wires from the ribbon to the Emlid.  Do you happen know if this is in fact possible and what the setup would need to be?

Thanks,

Tim

Keyboard shortcuts:
FForum MMy threads