Replies: 7 comments 8 replies
-
|
Hi @asGenn , thanks for trying madflight. Did you set the following in madflight_config? If yes: are you absolutely sure your receiver is outputting PPM? |
Beta Was this translation helpful? Give feedback.
-
|
Hi again @qqqlab , However, I'm not entirely sure if the receiver is actually outputting PPM correctly. On the transmitter, I’ve activated PPM mode under “RX Setup > Output Mode,” and I connected the signal wire from channel 1 (CH1) of the FS-iA6B (which is the correct PPM output port) to one of the ESP32's GPIO pins. the configuration file: I'm not sure which GPIO pin on the ESP32 I should use here. Does the ESP32 have a specific pin for receiving PPM input? Or can I use any digital GPIO input (like GPIO 4 or 15)? Also, is there any way to confirm that the PPM signal is actually being transmitted from the receiver? I would appreciate it if you could clarify how to properly wire and configure PPM input with an ESP32. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
As this appears to me an issue with your setup and not with madflight, I'm moving this to the Discussion section. On the ESP32 you can use almost any pin for PPM input. Please use an oscilloscope, digital analyzer, or a small ESP32 program to check that your receiver is outputting a valid PPM signal. You'll find enough resources online on both ESP32 and PPM. |
Beta Was this translation helpful? Give feedback.
-
|
I only have ERLS on my hand and no matter what I have tried : MAVLINK, SBUS, CRSF none of them seem to work, not sure if is an issue or a configuration problem. Tried 3 diffrent recievers but none worked. When activating CRSF after startup -> Core 1 panics : The other two modes show no data on my configuration as follows : |
Beta Was this translation helpful? Give feedback.
-
|
I have debuged it a bit and found out the problem with CRFS, is because the PWM pointer is smaller than 16 , Implemented a fix into my fork here : b6e610b#diff-5eeb1cafd73c92c318be78f7fdf15bde1d3048d1f2008b319431efd20ddd793bR60-R61 also got it running with the latest idf 6.11.0 in the same branch To test I used my tool of choise platfomio in a diffrent repo https://github.com/tiberiucorbu/madflight-platformio-custom/tree/main |
Beta Was this translation helpful? Give feedback.
-
|
interesting, likely I'm seeing something related (a freeze?) just after radio callibration over CRSF (ELRS). Before calibration it works, just I have weird channel mapping. calibration seem to finish, this is the last msg: the callibration process itself is pretty nice though! |
Beta Was this translation helpful? Give feedback.
-
|
calibration for mavlink works however! 👏 . Using |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using the FlySky i6 transmitter with the FS-iA6B receiver. This receiver supports either iBUS or PPM signal output. Since your code doesn't include support for iBUS, I decided to use PPM instead. However, I'm encountering a problem:
When I connect the receiver's RX (PPM output) pin to any GPIO pin on my ESP32 Devkit v1 board, I don't receive any signal. For example, when I try to run
prclorcalradio, I get the following error:I have already enabled the PPM output setting from the transmitter, so that should be correct.
My question is: Am I wiring something incorrectly, or is there a different approach I need to take to get the ESP32 to read PPM signals properly from the FS-iA6B receiver?
Beta Was this translation helpful? Give feedback.
All reactions