Page 1 of 1

Generate PPM with Arduino for Taranis X9D Trainer Port

Posted: Wed Apr 16, 2014 10:36 am
by Starscream
Hi you all,

I've started to work on a little project, recently.
I bought a taranis x9d radio and a D8R-II plus receiver and I've used them on my hexa, and they work perfectly.

I've thought to control the drone from my PC, by sending PPM signals from my Arduino to the X9D radio. I asked on this forum about this, and some kind people (MikeB, Kilrah) told me that I can use my the X9D's trainer port to send this signal to the remote receiver.

After this I've started to search for libraries which could help me to generate these signals.
I'd like to generate a PPM signal with a frame of 20 ms, so a frequency of 50 Hz.

First of all I'd like to move a servo motor, which is connected to the D8R-II output, just for testing. After this test I'd like to go on and control the drone, but I can't understand the PPM signals generation very well! :(

What I want to obtain is something like this:
PC --- servo's position ---> Arduino ----- PPM ---> Taranis X9D ------ PPM signal ---> D8R-II receiver ---- position ----> Servo Could you give me any suggestion please?
I've read different topics but I can't find and build what I wish...

Thank you in advance for you replies and your help! :D

Re: Generate PPM with Arduino for Taranis X9D Trainer Port

Posted: Wed Apr 16, 2014 1:19 pm
by jhsa
There is a similar project going on that will use eepe to control the servos on an model allowing to setup the model and see the changes in real time. Something has already been done but the completion of the project depends on people having time to actually finishing it. I am waiting patiently. ;) :D There is some arduino code though that I could give you. I used it with an arduino pro mini connected to the PC via an FTDI cable. It receives the servo position from the PC and outputs PPM.

Joao

Sent from my GT-I9195 using Tapatalk

Re: Generate PPM with Arduino for Taranis X9D Trainer Port

Posted: Wed Apr 16, 2014 6:32 pm
by Starscream
Could you be so kind to share it with me? I'll analize it :D
My e-mail is: [email protected]

Thank you in advance :D

Re: Generate PPM with Arduino for Taranis X9D Trainer Port

Posted: Thu Apr 17, 2014 7:23 pm
by Starscream
The code is perfect jhsa, but there some parts of its tha I can't understand! :(

Re: Generate PPM with Arduino for Taranis X9D Trainer Port

Posted: Tue Apr 29, 2014 8:46 am
by Starscream
I'VE GOTTEN IT!!!!
If someone wants some suggestions or the code just write me!

Re: Generate PPM with Arduino for Taranis X9D Trainer Port

Posted: Tue Apr 29, 2014 10:08 am
by jhsa
Why don't you post it here and let us know what you did? ;) :)

João

Re: Generate PPM with Arduino for Taranis X9D Trainer Port

Posted: Fri Nov 03, 2017 1:28 pm
by willburn
João is right ! :)

Re: Generate PPM with Arduino for Taranis X9D Trainer Port

Posted: Fri Nov 03, 2017 3:16 pm
by bob195558
Hi willburn,
Welcome to openrcforums ! :)
You are replying to an old posting from Apr 29, 2014.
I have done the same thing sometimes, by not checking the data of the posting also. :oops: :mrgreen:

Bob B.