0

I want to use Arduino as my RC receiver. I will generate PPM signal from Arduino. Then I will send generated signal to my OpenPilot CC3D. I fetched following image from OpenPilot GCS. The diagram shows to use input 6.

enter image description here Following is the image of my CC3D. The cable colors does not correspond to each other.

enter image description here

Which input cable should I connect to Arduino? How should I connect black(ground) and red(5V) cables to Arduino:

1

EDIT this answer explains how you can put a Arduino between a (1 ppm pin per channel) RC receiver and a RC receptor. This allows for smart features (like autonomous control with RC overrule, or sensor based corrections,..) It seems it is not the question of op.

What you want is easy but there are some pitfalls. I can make a long story short by these links

http://rcarduino.blogspot.be/2012/01/how-to-read-rc-receiver-with.html
http://rcarduino.blogspot.be/2012/01/how-to-read-rc-receiver-with_20.html
http://rcarduino.blogspot.com/2012/04/how-to-read-multiple-rc-channels-draft.html

if you are serious about RC this may be of your interest to
http://rcarduino.blogspot.be/2012/01/how-to-read-rc-receiver-with_25.html

I also converted this info in a library you can find here:
https://github.com/jantje/ArduinoLibraries/tree/master/RCLib

And for stackexchange policy here the hightlights.
If I look at the picture you added you have a 6 channel ppm receiver. Each ppm channel you want to read must be connected to a interrupt enabled pin of your arduino (The drawbacks of software enabled interrupt pin is another discussion).
The high time of the ppm tells how high or low your lever is on the remote control.
You can then have arduino do with this info what you want. For instance use the servo library to generate a ppm signal out to servo's and ppm driven motors.

| improve this answer | |
  • 1
    Your answer addresses a problem opposite of that in the question. This is not about reading an RC receiver but about creating one. The PWM(s) are outputs, not inputs. – Chris Stratton May 22 '16 at 16:05
  • I was wondering what was actually asked. It just shows the quality of the average question. My answer is actually RC in RC out. and it is PPM not PWM. The servo library creates PPM – jantje May 22 '16 at 16:11
  • Radio PPM is not servo PWM – BrettAM May 22 '16 at 19:52
  • @ChrisStratton is right. I want to use Arduino as RC receiver. I will generate PPM signal from Arduino. Then I will send generated signal to my OpenPilot CC3D. – Halil May 24 '16 at 12:21
  • @jantje There are 6 channels. But only 1 of them is used as PPM channel. As shown in the image which I fetched from OpenPilot GCS software, the PPM channel is shown as 8th pin. – Halil May 24 '16 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.