Tunigy 9x Firmware with Mavlink stack



I release a new firmware for Turnigy 9x,

You can use telemetry from APM (watching battery voltage and GPS informations).

You can tune major value of PID (not all).

And the last you can change flight mod via Mavlink or PPM chanel. 


Actually I tested only on the last version of AduCopter, I thing you can easily change the sources code to adapt for ArduPlane


Project home :



 Download binary :




Turnigy 9x with Mavlink from GerardV on Vimeo.


Main screen with alternate voltage display (transmitter and APM)

On the picture, '20.1' is the voltage of APM and 'STAB' is the flight mod


Mavlink infos screen



Mavlink GPS screen



PID settings screen (can modify P & I parameters)



Settings flight mod cmd



I had two another parameters :

alarm on low battery from mavlink and the setting of the baud rate (it is preferable to get an high speed RF module)3690890902?profile=original


You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • Who says we don't have an uplink?  Couldn't we use the raw data encoded into a PPM channel to send data to the APM?  It would require "translation" code in the APM firmware to accomplish this, but I'm seeing the bigger picture... 

    • 9x with FrSky could be a standalone setup with PID tuning & save waypoint capability using your firmware.
    • Add bluetooth on the 9x, and then design smartphone GCS station.
    • USB connection (or bluetooth as above) from 9x (Smartieparts board?) to laptop in the field, for on the fly updates.
    • PC-based PPM encoder to FrSky directly.  You could then fly exclusively via joystick and not need a TX at all.  This capability exists already, just with the more expensive Xbee link. 

  •  If you never flash this radio you can find all documentations on er9x project found here :

    modding your radio and flashing


    or you can find a Solderless Pogo board


    for flashing I would recommanded to install eepe :



    For the transmission you'll need a wireless RS232 high speed datalink, you can use xbee

    but in europe I cannot use 900Mz and you mus modfify like for FRSKY project



    My radio:



    Due to the ATMEGA64 we approach the maximum memory,and in my version of gv9x-mavlink I remove the splashscreen,
    the helicopter option (all mixing is done in ArduCopter)
    and displays statistics

    the binary is here :



    Next time, I have to explain how to set the rotary switch.

    Tell me if you have problems. 

  • like wise is there some info on modding the radio please as i think its great

  • How would you install this? Would you need xbee installed into the 9x?

This reply was deleted.


DIY Robocars via Twitter
RT @Smartphone89: DonkeyCar Racing League Korea #donkeycar @diyrobocars https://t.co/mDlHDR1d98
10 hours ago
Jørn Ramnæs liked VIDEO LINK's profile
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
DIY Robocars via Twitter
Hank Deucker left a comment on PIXHAWK
"Tomorrow, I am thinking about the wording at the moment."
DIY Drones via Twitter
Welcome to the new DIY Drones design!. You may have noticed that DIY Drones looks a little different today. That's… https://t.co/cg2EmeDGMQ
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://t.co/brqRuujjY2
DIY Robocars via Twitter
DIY Robocars via Twitter
RT @OttawaAVGroup: We are going to try something new this week. We will be having a drop-in style meeting Wednesday @ 7-9pm EST. Pop in and…
DIY Robocars via Twitter
RT @tawnkramer: Thanks Everyone for another fun virtual race! Amazing Ai racers competing head-to-head, Virtual Makers Fair event. Catch us…
May 23
DIY Robocars via Twitter
RT @make: Find out the latest from @diyrobocars at 10am PT from @chr1sa of @3DRobotics on Virtually Make Faire! #makerfaire #maketogether #…
May 23
DIY Robocars via Twitter
RT @Heavy02011: Join us Saturday online: Virtual Race League: @DIYRobocars Race #2 - Parking Lot Nerds https://t.co/aJUu4sdutx #Meetup via…
May 22
DIY Robocars via Twitter
RT @donkey_car: Yay, we are part of the virtual @makerfaire with @diyrobocars. Come see our race or better yet train a model and race with…
May 21
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars Virtual AI Race is going to be part of the virtual @makerfaire on Sat! https://t.co/wnMDAboLID
May 20
DIY Robocars via Twitter
RT @tawnkramer: Please join us next week for our second DIYRobocars online race. We will be using a new Mountain Track course! https://t.co…
May 19