Page 1 of 1

Easy to use FrSky-library for Arduino

Posted: Sat Feb 23, 2013 7:23 pm
by sgofferj
For my Control Station project, I also started writing a bunch of decoding function for the FrSky telemetry protocol.

I have now moved those functions into their own library for Arduino. My focus while writing and expanding this library is on ease of use. There is already Arduino code available but I found that a bit complicated to integrate. With the new library, all the user needs to do, is read one char from the serial port and send it to the library via the ::update method. All the decoding is done internally. The ::update method returns 1 when a complete packet was received, otherwise it returns 0. There is (will be) a dedicated method to access every parameter. I'll also try to keep up the detailed documentation.

At the moment, the library decodes only the basic information, RX A1 & A2 ports, uplink and downlink RSSI. Additional sensors will be included as I receive the hardware (which hopefully is soon).

Find the library at GitHub.

Re: Easy to use FrSky-library for Arduino

Posted: Fri Nov 29, 2013 3:11 pm
by Rob Thomson
Do you plan to extend this to include the other hub information? GPS?

Re: Easy to use FrSky-library for Arduino

Posted: Sat Nov 30, 2013 5:14 pm
by sgofferj
Jeps, I was originally planning to do this. I was promised some samples but never got them, so the project somehow went to the background in favor of some other stuff I'm working on.