ilmarsm / PicoPPM

Raspberry Pi Pico, Micropython. Read Hall sensor and generate PPM signal for ESC
0 stars 0 forks source link

Is this really PPM or PWM? #1

Open eroldan opened 2 weeks ago

eroldan commented 2 weeks ago

To me, looks like your code is generating a PWM signal, not PPM

https://en.wikipedia.org/wiki/Pulse-position_modulation#PPM_encoding_for_radio_control

ilmarsm commented 2 weeks ago

I can assure you that the signal generated by ppm.py -> servo module indeed works with Electronic Speed Controller ESC of various brands. And it also works for servos that take PPM signal. I do not remember where I found this servo class, but it works. And I also was surprised when I saw that pin is initialized using pwm method.