Hello Fellow Yuneec Pilot!
Join our free Yuneec community and remove this annoying banner!
Sign up

CGO3+/Typhoon H interface pinout

Joined
Oct 24, 2016
Messages
235
Reaction score
89
Age
22
Does anyone know how the typhoons 6 connection interface works for the camera? If not I might try hooking it to an oscilloscope.
 

Murray Martz

Moderator
Staff member
Premium Pilot
Joined
Jan 29, 2017
Messages
966
Reaction score
404
Location
Saskatchewan, Canada
I know that when it comes in contact with the matching 6 pins.....it works. :) No clue here, but would also like to know as I have a few different configs I'd like to try.
 
Joined
Jun 9, 2016
Messages
1,491
Reaction score
1,329
Age
49
Location
UK
I'd certainly be interested. I believe there are two pins for power and one pwm for gimbal rotation, documented on a couple of threads on here. My assumption is that at least two more are data between the CGO3+ and Flight controller (as that's how the upgrade is performed, and channel hopping works), but have no technical specs for that.
 
Joined
Nov 18, 2016
Messages
408
Reaction score
99
Age
57
Location
PL4 8QB
You can identify the power pins using a good quality voltmeter, remove the camera, start the H, check each terminal. You could then by a process of elimination diagnose the purpose of the other connections.
 
Joined
Sep 30, 2017
Messages
79
Reaction score
22
Can you give few more pics
I tried to figure out the protocol for the CGO3+ interface for a little while but didnt have much luck. If I remember right it seemed like on the PWM pin there was usually two ~1-3ms pulses that get repeated every 20ms. I kind of of thought that 1 pulse was for the tilt and 1 was for the pan, but I didn't have much luck replicating that to control the camera. But then noticed that during power up (and maybe when changing camera modes?) there is serial data that is sent to the PWM pin also. I know that the serial data that is sent from the TH is different than the serial data sent from hand held gimbal mount (which I think was actually just sent a series of repeated pulses). I wasn't really able to decode the serial data.
 
Joined
Jan 20, 2019
Messages
36
Reaction score
22
Age
36
The CGO3+ is a tricky one as its protocol seems to depend what it is connected to. The tilt can be driven with a PWM with an initialization pulse when the camera is used without the Typhoon, but when the camera is connected to the Typhoon, there is two-way serial communication between the camera and the drone. The PWM pin is not used for PWM in this case. I tried to decode that serial communication too but I was unable to get anything out of it with my logic analyzer's decoders with any baudrate, including the few yuneec-special ones (like 250 000).
 
Joined
Sep 30, 2017
Messages
79
Reaction score
22
The CGO3+ is a tricky one as its protocol seems to depend what it is connected to. The tilt can be driven with a PWM with an initialization pulse when the camera is used without the Typhoon, but when the camera is connected to the Typhoon, there is two-way serial communication between the camera and the drone. The PWM pin is not used for PWM in this case. I tried to decode that serial communication too but I was unable to get anything out of it with my logic analyzer's decoders with any baudrate, including the few yuneec-special ones (like 250 000).
As i recall I captured the the serial data coming out of the PWM pin while the TH was powering up without the camera attached by using the same serial settings as the TH's receiver (115.2Kbps, 8N1, LSB first). Attached is a log file. It looks like it has data and it didn't have framing errors so I think I got the right settings. It seems to be mostly repeating data. It was probably waiting for some reply from the camera. I should try it again with the camera attached. I would really like to figure it out.

EDIT: Now that I think about it, I think this serial capture might have been from my Typhoon G. I don't actually remember.
 

Attachments

Last edited:
Joined
Sep 30, 2017
Messages
79
Reaction score
22
The CGO3+ is a tricky one as its protocol seems to depend what it is connected to. The tilt can be driven with a PWM with an initialization pulse when the camera is used without the Typhoon, but when the camera is connected to the Typhoon, there is two-way serial communication between the camera and the drone. The PWM pin is not used for PWM in this case. I tried to decode that serial communication too but I was unable to get anything out of it with my logic analyzer's decoders with any baudrate, including the few yuneec-special ones (like 250 000).
So I captured more of the serial data between the TH and the CGO3. I captured both the data to the CGO3 (the PWM/rx pin on the camera connector) and from the CGO3 to the TH (on the TX pin) during power up and also with the ST16 switches, knob and slider in different positions. The TH doesn't send serial data continuously, so by looking for jumps in time between data it looks like each packet starts with 0xFE. At first glance I believe that byte 2 of each packet indicates (EDIT:) is related to the size of the packet (probably the data payload size). It seems to correspond to the total size of the packet-10 bytes. So right now I'm assuming the data starts at byte 11. It is also possible that the byte 2 value doesn't count some checksum or values at the end of the packet which could mean that the data starts at byte 9 or 10. I believe that byte 3 is a count of the number of packets sent since it usually increases by one, but there are some weird jumps some times.(/EDIT)

My serial captures are here if you can make any sense out of them:
TyphoonH_CGO3_Serial_capture - Google Drive
 
Last edited:

New Threads

Forum statistics

Threads
17,127
Messages
200,183
Members
19,811
Latest member
greg745