msrc
msrc copied to clipboard
Add CRSF (Crossfire) support
Hello,
Is it possible to add CRSF telemetry for use with ExpressLRS and TBS devices ?
Thanks,
Pierre
CRFS protocol is serial at 420000. Telemetry has to be sent between frames. Seems easy to implement.
I could implement it, if you can do some tests. I don't have any ExpressLRS or TBS device
Hello, I have ELRS and TBS systems. I can help you for these tests. Thanks
MSRC will send only GPS and battery telemetry. There are no other sensors available in CRSF telemetry protocol. Only GPS and analog voltage and current can be sent. No vario, airspeed, temperature and ESC telemetry will be sent. Would that be ok?
I think it's possible to have also vario. But gps and vbat are ok for me.
That's right. I'll include vario speed
Cool, Thanks :-)
I've created a branch for CRSF. I'll merge when tested
Please download and flash from https://github.com/dgatf/msrc/tree/crsf
Which board are you going to use?
Sorry for the delay, I think to use an Teensy 3.2 or LC ? I suppose they can work in 400K bauds ?
Yes. Better the LC, as I have one LC around. Easier for me to check in case of issues
Also arduino (atmega328, atmega32u4...) will work, if not connecting to GPS or ESC serial. Otherwise you need a Teensy
I would like to try this out as well with elrs and a pro mini board
crsf branch is already configured with a simulated voltage sensor. You don't need to install the sensor yet. Only connect the crsf data to pin 1 for the teensy and to pins rx and tx for the pro mini. Also connect Vcc and gnd. Check for voltage telemetry value 12.34v in the transmitter.
Hum, thanks for your add. For now, my transmitter don't accept crsf telemetry (OpenAVRc firmware) but we work to add it as soon as possible.
Hello, I have ELRS and TBS systems. I can help you for these tests. Thanks
I though you were able to test it
Yes, i have well tbs and elrs systems but OpenAVRc isn't ready for the crsf telemetry. We work on actually.
No worries. When it is ready
i can help here , im want to convert s-port telemetry to crsf to get telemetry from my turbine jet , that send frsky telemetry, remote is ready, crsf have some sensor available https://github.com/ArduPilot/ardupilot_wiki/blob/master/images/crossfire-telemetry-meaning.jpg we can induce a change in name to get the sensor we want and in the lua of the remote we can manage to get it as we wanted lets say we send the fuel consumption from the frsky in roll imput to the crossfire and in the remote we use the roll as a fuel comsumption easy manage by the user for what he want to do, im far from a coder but i have a base to make thing work as i want lol
Hi @dgatf, I would like to help finish the implementation of the CRSF protocol. I have a TBS Tracer system (which supports CRSF), an Arduino Pro Micro and an EdgeTX transceiver.
I have already compiled the 'crsf' branch, with a small change in platformio.ini, where I simply added the Pro Micro as a platform
[env:micro]
platform = atmelavr
board = micro
The compile and upload works. But when I connect to my Tracer RX, only the default TBS telemetry values are transmitted.
I have already swapped RX and TX without success.
Any news? ELRS adaption increasing would be very helpful to get CRSF Telemetry working