Arduino Pro mini 3 with BME280

Development & General Chat for the superb openxvario project.

Moderator: rainer

Post Reply
wilkidj
Posts: 3
Joined: Wed Jun 10, 2020 2:46 pm
Country: -

Arduino Pro mini 3 with BME280

Post by wilkidj »

Hi All,
Firstly thanks to everyone for the content on this forum. I'm really appreciating the information avaiable.
I've now built my first OpenXSensor, using a Pro Mini and BME280.
I'm using the latest oXs from Github running on FrSky, QX7 Tx, and x8r Rx, connecting sensors via the SPort.
After some work (mainly due to not compiling agains the right processor option in Arduino IDE!), I have a working sensor that is giving me three new sensors in OpenTX:
Alt - In Feet
VSpd - In Metres/second
Tmp2 - In Degree C.

Alt and VSpd seem to pass the basic walking up and down the stairs test, so ok so far.

I have two questions, if you don't mind.
1. The Tmp2 reading seems to be stuck on 50 Degrees C. I can't see where to configure this in the oXs_config.h file. Any pointers as to where I should be looking?
2. Is it possible to change the units for Alt and VSpd? I'd certainly like them to be consistent, but not too worried which units to use.

Many thanks.
David.

User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: Arduino Pro mini 3 with BME280

Post by kalle123 »

Hi David.

From oXs documentation
Best results are provided by the MS5611 barometric sensor. Such a sensor is usually mount on a board (like the GY-63 or the GY-86) which have a 3.3 voltage regulator and a I2C level shifter.
* Still it is possible to use a board with a BMP085 or BMP180 or a BMP280 sensor
No support for temp feature with BME280 in oXs ;)

Units for Alt and VSpd choose in openTX telemetry

Image

br KH
wilkidj
Posts: 3
Joined: Wed Jun 10, 2020 2:46 pm
Country: -

Re: Arduino Pro mini 3 with BME280

Post by wilkidj »

Many thanks kalle123 - Just what I needed.
I saw the support for BME280 - but didn't realise temperature was not supported - no worries.
I will look to purchasing a MS5611 and change the units in Companion.

Thanks again.
wilkidj
Posts: 3
Joined: Wed Jun 10, 2020 2:46 pm
Country: -

Re: Arduino Pro mini 3 with BME280

Post by wilkidj »

Just a quick update on this.
I switched to used the latest Master code level (rather that the latest released), so 8.2.14 rather than 8.02.
Very simple to change the Vario to BMP280, and all working.
Now Tmp2 is no longer available as one of the sensors.
All units set to Imperial.

Thanks again for the help.
David

Post Reply

Return to “OpenXVario - an open source vario supported by the open source firmwares!!”