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

FLARM NMEA protocol serie #827

Open
wants to merge 855 commits into
base: master
Choose a base branch
from
Open

FLARM NMEA protocol serie #827

wants to merge 855 commits into from

Conversation

claudius310
Copy link

Hello,
I installed version V1.6r1-eu021 with FLARM but I cannot use it because it does not have the possibility of outputting in RS232 according to the FLARM NMEA protocol to use all FLARM receivers.
Would it be possible because I am a perfect computer beginner to realize it because it was developed in previous versions in the US?
Best regards

@b3nn0
Copy link

b3nn0 commented Dec 12, 2020

You are completely wrong here.

  1. This shouldn't be a Pull Request but an Issue
  2. This is Stratux US project, not Stratux EU. If your issue is related to Stratux EU, create the issue at b3nn0/stratux, not cyoung/stratux
  3. Flarm-NMEA via RS232 works just fine if done correctly, see https://github.com/b3nn0/stratux/wiki/Stratux-Serial-output-for-EFIS's-that-support-GDL90-or-Flarm-NMEA-over-serial

main/sdr.go Outdated
@@ -62,7 +62,7 @@ type Dump1090TermMessage struct {
func (e *ES) read() {
defer e.wg.Done()
log.Println("Entered ES read() ...")
cmd := exec.Command(STRATUX_HOME + "/bin/dump1090", "--oversample", "--net-stratux-port", "30006", "--net", "--device-index", strconv.Itoa(e.indexID), "--ppm", strconv.Itoa(e.ppm))
cmd := exec.Command(STRATUX_HOME + "/bin/dump1090", "--gain", "37.2", "--net-stratux-port", "30006", "--net", "--device-index", strconv.Itoa(e.indexID), "--ppm", strconv.Itoa(e.ppm))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested this? I did a while ago with different antenna configurations and found changing the gain levels to be ineffective, the frontend on the SDR is overloaded before the gain levels make a difference. Beyond 100 ft with a high gain antenna and the highest gain level didn't cause reception issues.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We had reports of 1090ES planes getting lost when coming too close and @VirusPilot did some tests today with his 250W transponder and yes, it did indeed make quite a difference for receiving close signals.
With dump1090's dev branch (which now has optional adaptive gain), this can be tested quite nicely, as it will tune down gain to receive close aircraft - and there is indeed a strong correlation between distance to the transponder and the gain level that dump1090 determines to be appropriate to properly decode it.

Considering the variance in SDR quality/sensitivity and antennas, maybe the SDR you tested with was just one of the "more deaf" ones?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Deaf" wouldn't cause that behavior, I'm more referencing gain compression.

#203 (comment)

I can't get my own transponder signal in my aircraft using any R820T(2) receivers (I've tested them all), so I'd guess the new adaptive gain on dump1090 ends up pulling the gain back pretty far permanently when used inside a small aircraft with a transponder installed.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, own transponder is certainly another level, VirusPilot tried on the ground, testing how far he needs to walk away to receive it. And yes, the adaptive gain is not usuable if you carry a transponder very close - but it is usuable for testing if reducing gain helps at all (and what gain works at what distance). @VirusPilot measured something like this:

  • With 50db gain reception fails below 250m
  • With 37.5db gain below 150m
  • With 30db gain below 100m

Since 100m is certainly too low to react anyway, and we didn't want to break anything for people with minimalistic internal antennas, we kinda settled with "something around 35" by pure guessing. Not too scientific admittedly..

b3nn0 and others added 28 commits September 20, 2021 10:15
…ic list if a target is equipped with an OGN tracker and transmits Hard=STX, so it's possible to identify other Stratux-EU users
… to fix occasional UDP stalling that would cause some EFBs to register short disconnects
…ore with wpa_supplicant for AP, added testing-code to simulate flying
Import more ship static data
Handle better cos/sog
… SDR or disables one protocol), allow hotplug of UAT radio
…to better work with low baud rates or slow TCP connections
mechanicalamit and others added 30 commits June 2, 2024 12:54
Line 88 which is error message for BMP pressure sensors, but has the
same error message as lines 181 and 186 which are for IMU. Update the
error message for line 88 to BMP.

Signed-off-by: Amit Dhingra <mechanicalamit@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.