-
Notifications
You must be signed in to change notification settings - Fork 41
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
Support for BMP280 #145
Comments
Pins of what OGN is using for the BMP280 is not the same as what GxAirCom is using. OGN is using:
GxAirCom is using:
But not only that has to change, it would also require a software change on stratux to make this work properly. A quick fix for you is to attach it you Raspi. This will give you the additional advantage of the calibration setting in Stratux. Using one of these https://dross.net/aviation/shop/stratux-ahrs-sensor-board-fits-us-cases-icm-20948-mpu9250-mpu9255-gy91-bmp280/ will make that even easer. I do have a branch for STratux sitting on my computer that will also support getting baro from GxAirCom to Stratux but opted to not adding that in this version to keep the changes small. If there is traction I can send in a MR to Stratux to have that supported (GxAirCom would still need pin 13/14 though) If you have soldered the BMP on your t-beam then just leave it and get a new BPM280 and add it to your Raspi. GxAirCom won't use/see it anyways. I found out the hard way this was easer :) |
Thanks for reply!
I desoldered one from a broken T-Beam: wasn't funny, so I go your way. |
Great question, I don't know well enough about OGN and understand what it does when two BMP's are connected. |
Yep, thought about that too. But when I use the Stratux in the Gyrocopter, I guess, that the vibrations let disconnect the connectors due to not soldered. |
@rvt If you deliver the pressure altitude as $PGRMZ or $POGNB, it should be accepted by Stratux just fine, similar to SoftRF and OGN Tracker. |
It seems a better way to collect the baro data from the BaroSensor connected to the T-beam, rather than from baro Sensor connected on to the raspi. So the data comes from one single device and the T-Beam is able to transmit the baro data through the air, too. Which is not possible, when the baro Sensor sits on the Raspi, isn't it? |
In theory, yes. In practice, it doesn't matter. Neither Flarm, nor PAW or ADS-L work with pressure altitudes. Only OGNTP and I think FANET have it in an additional, optional field. If it's not there, GPS altitude is used for comparing. IIRC, Stratux even ignores that field when received, so do most others. source: my bad memory.. might be wrong. But what's not wrong is, that it is, in my opinion, absolutely unimportant. |
As I read correctly, it does have impact if altitude is from baropressure or GPS. The flight altitude depends on pressure altitude... |
No. Stratux knows what it does. And if it receives an altitude, and knows its source (Baro or GPS), it will do the right thing. For traffic warnings, it will compare received GPS altitudes to its own GPS altitude, while for received Baro altitudes, it compares those. As long as Stratux knows both altitudes, or can at least get a good estimation, you will get proper traffic warnings. Conclusions:
|
Thanks for that comprehensive explanation! |
Hi there,
and thanks a lot for your effort!
As I flashed the newest firmware onto my TTGO with 1262 ( and Stratux setup V. 29), I noticed, that the BMP280 isn't working as with the SoftRF or OGN Tracker.
Will this being fixed in the future or shall I resolder the BMP280 from the TTGO to the Raspi?
Kind regards,
Peuqui
The text was updated successfully, but these errors were encountered: