Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPM and PWM signals
#1
Hello !

I've been trying to understand the functionning of the PPM and PWM signals for some days in order to write an algorithm that can generate them via a an arduino . However , I can't find suitable informations about the communication protocol used by RC transmitters . 
How is the receiver able to differentiate between the channels when it receive a PPM signal ? 
How am I supposed to send a PPM signal that maintains the motors running if it's a serie of 20ms pulses ? 

Sorry if those looks like dumb questions but I'm trying to understand RC control as much as I can and those issues are really slowing me .
Also , if you have any useful links explaining with accuracy PPM signals (for multicopters use only) , I would gladly read it . (It can be in english , french or spanish , I don't mind)

Thanks in advance!
Reply
Login to remove this ad | Register Here
#2
Hi, such algorithms are part of the firmwares used in the mini quads like betaflight, cleanflight, etc. Since those projects are open source and available on GitHub, you can read through the code to see how they were implemented.
[-] The following 1 user Likes tozes's post:
  • sloscotty
Reply
#3
PPM combines several PWM signals into one. Each channel is one of those signals. The first position of the PPM pulse will be channel 1 and so on.

As always Oscar has covered this in detail: https://oscarliang.com/pwm-ppm-difference-conversion/
And a nice PWM to PPM converter: https://oscarliang.com/build-pwm-ppm-con...-receiver/

Because PPM can be transmitted over a single wire (well 2 with a ground reference) an audio cable is a great medium. Hence, most radios have an audio (trainer) jack in the back that accepts PPM. Modify that DIY arduino project to send pre-set values to the PPM routine and plug it in a radio configured as a trainer slave. Chances are you will see your values mapped to the channels preserving the original order.
The next build will be perfect! | Fleet and build info | YouTube Channel |
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Wiring ZOHD kopilot with PWM ELRS RX (R24-P) versus 3 1,280 26-Aug-2023, 02:53 AM
Last Post: mstc
  Betaflight 4.4 PWM/PPM Resources magixx 1 753 15-Jun-2023, 06:45 PM
Last Post: V-22
  Using blheli with KISS G4 what pwm should I set too? epicjfpv 0 175 29-Nov-2022, 04:47 PM
Last Post: epicjfpv
  How to bind a TBS crossfire 6CH PWM? oriol 4 2,671 16-Feb-2022, 10:05 AM
Last Post: oriol
  Solved PWM Input For TCMMRC ESCs DragonTheta 1 180 09-Feb-2022, 09:03 PM
Last Post: SnowLeopardFPV


Login to remove this ad | Register Here