ESP32 Telemetry data Flysky fs-iA10B problem

I use ESP32 and I cannot send telemetry data through FlySky FS-iA10B receiver. I tried with iBusBM and iBUSTelemetry libraries, but the remote does not receive anything. I tried with Arduino nano and it works without problem, but with ESP32 I can't get it to work.

very sorry, my sincere condolences

Is it the same identical code? What about wiring? If you really want help, see the tutorial on how to post a problem.


I tried all kinds of codes from the internet. Examples from iBusBM does not work with ESP32, despite its description that it is compatible. I have tried with library modifications I found on the forums, but I don't get data on display.
I tried with the serial outputs, changing pins, but no response. Wiring is correct, still works with Arduino Nano

We can't begin to help if we do not see ALL the code. Use code tags when you post.

Please say that you are sure your transmitter is properly configured for telemetry, and that other senders of telemetry stat have been able to get through in the way the ESP32 has not yet.

a7

This is the code GitHub - bmellink/IBusBM: Arduino library for RC IBUS protocol - servo (receive) and sensors/telemetry (send) using hardware UART
I can't give you a specific code. This library says that it is compatible with ESP32, but when compiling the code it gives a timeAlarm error, which some people say can be fixed by removing a few functions from IBUSBM.ccp. I have removed them, but absolutely nothing appears on the transmitter display

I have deleted these functions from iBUSBM.ccp

        timer = timerBegin(timerid, F_CPU / 1000000L, true); // defaults to timer_id = 0; divider=80 (1 ms); countUp = true;
        timerAttachInterrupt(timer, &onTimer, true); // edge = true
        timerAlarmWrite(timer, 1000, true);  //1 ms
        timerAlarmEnable(timer);

The transmitter is configured correctly and immediately receives telemetry data when I connect the Arduino nano to the receiver

Sry, I should have seen that. So I got nothing, so far.

a7

NEVER NEVER modify library code. Put the original lib code back then try this,
change the esp32 boards entry from 3.0.5 to 2.0.17, see pic

1 Like

That Timer code is affected by the V3 migration, see the migration doc paying special attention to the Timer API at https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html
I already gave you the APPROVED quick fix in an earlier reply, NEVER change library code.

It's already working

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.