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

Convert Typhoon H to PixHawk 6C Flight Controller

Somehow I lost my compasses in the configuration... So I reset everything back to their defaults and I'm back at square one trying to calibrate the receiver/transmitter...
 
No. You have only set some parameters depending on what port you want to send telemetry. See last page in attached file.

Just to illustrate what I have done, here is my test setup:
View attachment 30584


Attached: How to setup a MAVbridge.
Thank you... The tools you suggested worked. I had issues with the gui locking up but, the command-line tool worked very well. I was able to successfully flash my D1 Mini ESP8266 boards.
 
The other day I tried to get legacy (not MAV link) telemetry data via Rx channel of the SR24 receiver. No success. I used different parameter settings and different UART ports (FrSky, UART4, TELE1), but nothing helps.
However, legacy telemetry is defined in ST24.h (from Lorenz Meier) of PX4 Autopilot. typedef struct is a little bit outdated but it is there. No glue how to get this working.
I give up at that point and will spent effort in Thunderbird firmware (trying to understand and find a way to introduce some changes in FW). My wish is to reroute MAV messages to the RealSense UART to connect an ESP8266.
 
The sonar module will be supplied with 5V. What Sonar1 and Sonar2 means is hard to say because sonar is off in landed state. Measurement during flight is not possible so far.
I can only guess. From another sonar module it says that Sonar 1 is trigger and Sonar 2 is echo. Other sonar modules have PWM or analog output. UART or I²C would also possible.
Sonar.jpg


Edit: Looking at PX4 descriptions for Range Finder I would start with I²C. H+ or H520 have the same sonar module.
 
Last edited:
  • Like
Reactions: 1midniterider
After making a few adjustments on the ST16 controls I was able to calibrate the SR24/ST16. However, the Landing Gear switch works in reverse. I had mapped the Aux switch on the ST16 to kill switch, but it works in reverse. I'll need to sort those out. as well as only seeing 12 channels displayed in QGC.
 
The sonar module will be supplied with 5V. What Sonar1 and Sonar2 means is hard to say because sonar is off in landed state. Measurement during flight is not possible so far.
I can only guess. From another sonar module it says that Sonar 1 is trigger and Sonar 2 is echo. Other sonar modules have PWM or analog output. UART or I²C would also possible.
View attachment 30621


Edit: Looking at PX4 descriptions for Range Finder I would start with I²C. H+ or H520 have the same sonar module.
I wonder if enable/disable is a function of the sensor itself or the FC?
 
After making a few adjustments on the ST16 controls I was able to calibrate the SR24/ST16. However, the Landing Gear switch works in reverse. I had mapped the Aux switch on the ST16 to kill switch, but it works in reverse. I'll need to sort those out. as well as only seeing 12 channels displayed in QGC.
You can use channel settings on ST16 to reverse aux and gear switch. It should be done only for this model that is used with PixHawk.
 
  • Like
Reactions: 1midniterider
No. You have only set some parameters depending on what port you want to send telemetry. See last page in attached file.

Just to illustrate what I have done, here is my test setup:
View attachment 30584


Attached: How to setup a MAVbridge.
I've set mine up very similarly and I'm also able to connect to it via wifi from an old android cellphone with QGC installed.
 
You can use channel settings on ST16 to reverse aux and gear switch. It should be done only for this model that is used with PixHawk.
Thanks... I had looked at parameters first... So, I've reversed the Arm/Disarm, the Aux and Landing Gear switches. Now, according to PixHawk/PX4 they are sending the correct signals. Odd why they were reversed.
 
So, MavLink messages are being sent but....

Bridge/Vehicle Link nearly every message being sent is lost

For Bridge/QGC Link and QGC/Bridge Link there is about a 10% loss to receive ratio. With UDP I expect some loss... I'll have to play around with the comm settings.
 
Anenna problem or interferences between 2.4GHz RC and 2.4GHz WiFi?
What I have seen in the past: If the Laptop running QGC and the transmitter on the drone are too close to each other I have an instable WiFi connection and frequently reconnects. If it I put it 2-3m away this effect disappears. Maybe the WiFi Rx/Tx is overdriven.
 
Both the receiver and wifi module are using 2.4GHz. I'm running QGC from an android cellphone via wifi. So, even when I'm in the next room I'm seeing packet drops. How is the connection made between the FC (wifi) and QGC? The wifi is in AP mode. What mechanism automatically connects the two devices? However, in this mode the mapping does not work. More reading to do....
 
The FC WiFi has a SSID (either the default or the one you have given). With this SSID the cell phone should connect by usual procedure to connect to any WiFi hotspot (AP). QGC will automatically detect the existing WiFi connection when MAV messages are coming in.
 
  • Like
Reactions: 1midniterider
Now that I've configured and tested a few pieces. It's time to begin building the darn thing. Since, I don't own a 3D printer, I've had to rely on COTS products to modify the TH. The components I've chosen won't fit under the existing hood. So, I've opted to use upper and lower frame plates from an F550 to hold everything. The lower plate will be installed where the mainboard was located and have the power module and ESC's attached. The upper plate will be used for the PixHawk, MavLink, Drone ID and possibly the SR24 receiver, in addition to the stand for the GPS. 20240605_082259.jpg
 
  • Like
Reactions: h-elsner

Members online

Forum statistics

Threads
21,009
Messages
242,225
Members
27,580
Latest member
atilael