dgatf / msrc

Multi Sensor for RC with RP2040 - FrSky D, SmartPort, XBUS, SRXL, IBUS, SBUS, Multiplex Sensor Bus, Jeti Ex Bus, Hitec
GNU General Public License v3.0
169 stars 42 forks source link

FPort support #63

Open matteo-campanella opened 2 years ago

matteo-campanella commented 2 years ago

Any chance to get FPort2 protocol supported ? That being bidirectional would allow to use a single board both for telemetry and ppm demux (obviously with limitations related to available pins)

dgatf commented 2 years ago

FPort2 receivers (Archers) can not be configured as smartport as well?

So an Archer receiver (like Archer R6) with servos connectors configured with smartport won't do the work as well? An this is compatible with MSRC

matteo-campanella commented 2 years ago

That is true, it can be configured as smart port, but in the cases when you need also channels output (especially channels usually not present as direct outputs on the receivers), then you need to use both smart port for telemetry and sbus for channels. With FPort you manage channels output and telemetry all in one single stream. As of now this is feasible but with two separate arduinos, one powered by MSRC and another running the sbus decoding software, which makes the solution a bit bulky.

dgatf commented 2 years ago

It can be done. Fport telemetry is similar to smartport. Though I'll need to implement sbus as well. I'll add to the todo list, without date

dgatf commented 2 years ago

I've added support for FPort. I've created a specific branch. Could you test the code as I don't have access. You can download from https://github.com/dgatf/msrc/tree/fport You can use any board. Once this is verified, I'll add the pwm signals and merge to master branch