Giter Site home page Giter Site logo

Add CRSF (Crossfire) support about msrc HOT 18 OPEN

dgatf avatar dgatf commented on July 17, 2024
Add CRSF (Crossfire) support

from msrc.

Comments (18)

secretman28 avatar secretman28 commented on July 17, 2024 1

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

from msrc.

dgatf avatar dgatf commented on July 17, 2024

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

from msrc.

pierrotm777 avatar pierrotm777 commented on July 17, 2024

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

from msrc.

dgatf avatar dgatf commented on July 17, 2024

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?

from msrc.

pierrotm777 avatar pierrotm777 commented on July 17, 2024

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

from msrc.

dgatf avatar dgatf commented on July 17, 2024

That's right. I'll include vario speed

from msrc.

pierrotm777 avatar pierrotm777 commented on July 17, 2024

Cool,
Thanks :-)

from msrc.

dgatf avatar dgatf commented on July 17, 2024

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?

from msrc.

pierrotm777 avatar pierrotm777 commented on July 17, 2024

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

from msrc.

dgatf avatar dgatf commented on July 17, 2024

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

from msrc.

erwinf avatar erwinf commented on July 17, 2024

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

from msrc.

dgatf avatar dgatf commented on July 17, 2024

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.

from msrc.

pierrotm777 avatar pierrotm777 commented on July 17, 2024

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.

from msrc.

dgatf avatar dgatf commented on July 17, 2024

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

I though you were able to test it

from msrc.

pierrotm777 avatar pierrotm777 commented on July 17, 2024

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

from msrc.

dgatf avatar dgatf commented on July 17, 2024

No worries. When it is ready

from msrc.

RobWei avatar RobWei commented on July 17, 2024

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.

from msrc.

m0p3d avatar m0p3d commented on July 17, 2024

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

from msrc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.