Originally posted by RayeR Yeah, this sounds a promissing combination. I guess a very few peopele have O-GPS1 and DSO
I found that I was wrong with my first look. When Digital pin is pulled low with reistor it starts to transmit but also Mode and Ready transmits too! On digital there are some slower data, Mode and Ready are faster, looks like 115200. I'm confused that I see 3 different signals going from hotshoe but what pin is receiver? According to older flash pinout this pins must behave as input so they are bidirectional...
How much memory do you have on your DSO? And have it serial decoding capability? If it is UART, then hook some 3v3 FTDI232 adapter on it. It would be helpfull to record communication from camera turn on how GPS and body negotiate and how GPS sends data. I hope we will see classic NMEA data there. Magneto data could be added as another NMEA sentence.
Do you have published your notes about P-TTL protocol? Can I read them somewhere? I googled a lot but really nothing...
I had posted my notes on this forum but cannot find that post so here is the info again:
P-TTL flash protocol reverse engineering.rar
Unfortunately it is all just my personal notes and somewhat muddled, not really intended for publication and might be a bit difficult to follow. However feel free to ask and I'll help you through it where it is too unclear.
The word document describes the function of the contacts and some basics of how the communication is formatted.
The excel sheets show the actual waveforms in detail, the bit by bit composition of the messages, translation of the values into real terms such as aperture, ISO, flash power and so on as well as a good number of actual sequences correlated to the actual flash settings and stuff.
This was all done with a K-r and a Metz 58-AF2. I initially used a DSO to figure out what the pins did, the various data rates and so on and once that was figured out I used a PIC microprocessor to pick up the signals from the hot shoe and convert them into ASCII strings which are then sent to the PC over a TTL to USB converter which appears to the PC as a serial port. The contents of the 'Sample sequences' sheet is that output pasted directly onto the worksheet and formatted a bit to make it tidy.
The data pin is indeed bidirectional but the data is sent/received synchronously being clocked by another of the pins. The third pin is somne sort of ready/attention indicator and I think also controls the direction of the transfer. One thing I have not yet understood is who controls the ready and clock pins. It seems that the clock is always stepped by the camera but I haven't yet confirmed that.
I am curious to find out whether the GPS uses the same principle or else a more conventional asynchronous mode with separate transmit and receive.
And here is something also about the optical signals used for remote flash:
https://www.dropbox.com/s/5u4oiqbop6vbkq0/Remote%20flash%20protocol%20reverse%20engineering.txt
---------- Post added 03-17-14 at 07:16 PM ----------
Ah just realised - so as not to create confusion please note that the first page on the excel sheet 'General info' is nothing to do with the Pentax protocol but rather some notes about the decoding program running on the PIC. The first table can however be used as the key to understanding the meaning of the sequences shown on the page 'sample sequences'. This is a sort of semi decoded formatting of the bits to make it visually easier to understand.