Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CRSF (Crossfire) support #75

Open
pierrotm777 opened this issue Mar 11, 2022 · 19 comments
Open

Add CRSF (Crossfire) support #75

pierrotm777 opened this issue Mar 11, 2022 · 19 comments
Labels
enhancement New feature or request

Comments

@pierrotm777
Copy link

Hello,

Is it possible to add CRSF telemetry for use with ExpressLRS and TBS devices ?

Thanks,

Pierre

@dgatf
Copy link
Owner

dgatf commented Mar 11, 2022

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

@pierrotm777
Copy link
Author

Hello,
I have ELRS and TBS systems.
I can help you for these tests. Thanks

@dgatf
Copy link
Owner

dgatf commented Mar 12, 2022

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?

@pierrotm777
Copy link
Author

I think it's possible to have also vario.
But gps and vbat are ok for me.

@dgatf
Copy link
Owner

dgatf commented Mar 12, 2022

That's right. I'll include vario speed

@pierrotm777
Copy link
Author

Cool,
Thanks :-)

@dgatf dgatf added the enhancement New feature or request label Mar 12, 2022
@dgatf
Copy link
Owner

dgatf commented Mar 13, 2022

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?

@pierrotm777
Copy link
Author

Sorry for the delay,
I think to use an Teensy 3.2 or LC ?
I suppose they can work in 400K bauds ?

@dgatf
Copy link
Owner

dgatf commented Mar 13, 2022

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

@erwinf
Copy link

erwinf commented Mar 15, 2022

I would like to try this out as well with elrs and a pro mini board

@dgatf
Copy link
Owner

dgatf commented Mar 15, 2022

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.

@pierrotm777
Copy link
Author

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.

@dgatf
Copy link
Owner

dgatf commented Mar 15, 2022

Hello,
I have ELRS and TBS systems.
I can help you for these tests. Thanks

I though you were able to test it

@pierrotm777
Copy link
Author

Yes, i have well tbs and elrs systems but OpenAVRc isn't ready for the crsf telemetry. We work on actually.

@dgatf
Copy link
Owner

dgatf commented Mar 15, 2022

No worries. When it is ready

@secretman28
Copy link

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

@RobWei
Copy link

RobWei commented Nov 2, 2022

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.

@m0p3d
Copy link

m0p3d commented Sep 23, 2023

Any news? ELRS adaption increasing would be very helpful to get CRSF Telemetry working

@CarlouT
Copy link

CarlouT commented Sep 1, 2024

Just want to know if Telemetry for Express LRS is already supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants