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

Full duplex softserial-1 for Matek F411-WSE #5940

Closed
Target0815 opened this issue Jul 12, 2020 · 26 comments
Closed

Full duplex softserial-1 for Matek F411-WSE #5940

Target0815 opened this issue Jul 12, 2020 · 26 comments

Comments

@Target0815
Copy link

Target0815 commented Jul 12, 2020

Current Behavior

Softserial-1 is currently only a TX.

Desired Behavior

Softserial-1 should be fullduplex RX/TX

Suggested Solution

Fullduplex Softwareserial-1 as this is also generated by default as a target for Matek F411-Wing. Only a small change is necessary:

So far:
#define USE_SOFTSERIAL1
#define SOFTSERIAL_1_TX_PIN PB9 // ST1 pad
#define SOFTSERIAL_1_RX_PIN PB9

New:
#define USE_SOFTSERIAL1
#define SOFTSERIAL_1_TX_PIN PB9 // ST1 pad
#define SOFTSERIAL_1_RX_PIN PB10 // LED pad

This would give us 2 full UARTS (GPS, CRSF) and 1 Softserial e.g. for the DJI FPV System (OSD).

Who does this impact? Who is this for?

All users with DJI FPV system on copters and plane. Or of course all users who need a 3rd serial port.

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label Feature request to this issue, with a confidence of 0.73. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@satsepp
Copy link

satsepp commented Jul 13, 2020

would be nice to Control camera device although.

Sepp

@fchansa
Copy link

fchansa commented Jul 13, 2020

Full ack!
For use of gps/crossfire/dji air unit it's neccessary to have a softserial with fullduplex RX/TX!

@gregm412
Copy link

Does anyone have a build with this enabled? I found one at https://fpv-community.de/threads/matek-f411-wse-softserial.85747/ but I'm unable to download.

@Target0815
Copy link
Author

Download from this post: https://fpv-community.de/threads/matek-f411-wse-softserial.85747/post-1051752 (may be, that you have to be registered at the forum).

@Feldsalat
Copy link

Here: 2.5.1

@tobiasbischoff
Copy link

Please do it!

@dl1bg
Copy link

dl1bg commented Aug 10, 2020

My F411WSE is also waiting to be used with GPS + Smartport + Caddx Vista. Would highly appreciate this feature!

@dl1bg
Copy link

dl1bg commented Oct 22, 2020

@Feldsalat
Tested, works fine.
I do not have enough knowledge to make a pull request by my own. But if anyone does, I will be happy to test it, brew the coffee or spend a beer.

@alexvazquez
Copy link

Is this a new firmware that I can flash in INAV? I need to use my Caddx vista

@alexvazquez
Copy link

My F411WSE is also waiting to be used with GPS + Smartport + Caddx Vista. Would highly appreciate this feature!

Did you make it work? Appreciate it

@chr0mcom
Copy link

i need this for dji vtx

@dl1bg
Copy link

dl1bg commented Nov 30, 2020

My EFX Racer plane works very nice with INAV; automatic flaps, RTH on failsafe and OSD is really usefull.
Unfortunately, there is no space for a bigger flight controller than the F411, so I can use this one or nothing.

UART1: GPS (RTH, speed measurement)
UART2: Receiver (FPORT in my case)
SOFTSERIAL1: DJI FPV system
I do not really think that someone would buy full color LED for the price of DJI OSD or ESC telemetry.

Still using the build from @Feldsalat, but it would be really kind if someone could spend the time to make a pull request. As stated above, I would be happy to brew him the coffee or spend a beer.

@alexvazquez
Copy link

My EFX Racer plane works very nice with INAV; automatic flaps, RTH on failsafe and OSD is really usefull.
Unfortunately, there is no space for a bigger flight controller than the F411, so I can use this one or nothing.

UART1: GPS (RTH, speed measurement)
UART2: Receiver (FPORT in my case)
SOFTSERIAL1: DJI FPV system
I do not really think that someone would buy full color LED for the price of DJI OSD or ESC telemetry.

Still using the build from @Feldsalat, but it would be really kind if someone could spend the time to make a pull request. As stated above, I would be happy to brew him the coffee or spend a beer.

Nice, basically same build I need, where did you connected the DJI FPV RX and TX? Led pin and what other?

@dl1bg
Copy link

dl1bg commented Dec 20, 2020

@alexvazquez
RX from DJI (Caddx Vista in this case): ST1
RT from DJI (Caddx Vista in this case): LED

@alexvazquez
Copy link

@alexvazquez
RX from DJI (Caddx Vista in this case): ST1
RT from DJI (Caddx Vista in this case): LED

@dl1bg Does the firmware is available to flash via INAV or I have to download from someplace the HEX file? Appreciate it

@thedoble
Copy link

I would like this too! This board is great for small builds with gps/xfire/dji

@jstoeffler
Copy link

This seems fixed, isn’t it?

#6353

@alexvazquez
Copy link

Does anyone know where to get the firmware MATEKF411SE_FD_SFTSRL1 ? Appreciate so much

@alexvazquez
Copy link

alexvazquez commented May 13, 2021

This seems fixed, isn’t it?

#6353

Hi, did you get the HEX in order to test that OSD works on ST1 and LED pins?

Firmware 2.5.1 works great, based on the #6353 it was merged into master but I flashed firmware 2.6.1 and I can confirm that is not working. Only 2.5.1

@jstoeffler
Copy link

I've tried with the V3.0-rc1: https://github.com/iNavFlight/inav/releases/tag/3.0.0 – inav_3.0.0_MATEKF411SE_FD_SFTSRL1.hex

And I can confirm it works

@baddb1
Copy link

baddb1 commented Apr 29, 2022

I've tried with the V3.0-rc1: https://github.com/iNavFlight/inav/releases/tag/3.0.0 – inav_3.0.0_MATEKF411SE_FD_SFTSRL1.hex

And I can confirm it works

I just flashed with V3.0. What pin is for Tx and what is Rx? Thanks

@jstoeffler
Copy link

I've tried with the V3.0-rc1: https://github.com/iNavFlight/inav/releases/tag/3.0.0 – inav_3.0.0_MATEKF411SE_FD_SFTSRL1.hex
And I can confirm it works

I just flashed with V3.0. What pin is for Tx and what is Rx? Thanks

@baddb1 If you read this thread you will find this information:

RX from DJI (Caddx Vista in this case): ST1
RT from DJI (Caddx Vista in this case): LED

@bnmoore
Copy link

bnmoore commented May 26, 2022

Does this work for HDZero? I can't seem to get it to work.

@MrD-RC
Copy link
Collaborator

MrD-RC commented May 26, 2022

Does this work for HDZero? I can't seem to get it to work.

No, HDZero needs an actual UART, not SoftSerial.

@bnmoore
Copy link

bnmoore commented May 27, 2022

Confirmed. HDZero worked on an actual UART. Is this a hard limit or just something that iNav or HDZero enforces due to performance?

@DzikuVx DzikuVx closed this as completed Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests