Generate PPM with Arduino for Taranis X9D Trainer Port
Posted: Wed Apr 16, 2014 10:36 am
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!
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!