Search found 1178 matches

by mstrens
Fri Feb 23, 2018 8:16 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor HoTT Temperature
Replies: 18
Views: 164

Re: OpenXSensor HoTT Temperature

I think (not 100% sure) that silicone is better than epoxy for high temperature.
by mstrens
Fri Feb 23, 2018 2:18 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor HoTT Temperature
Replies: 18
Views: 164

Re: OpenXSensor HoTT Temperature

OK, Great. Note that a resistor of 100K (associated with a 100K NTC) is good to measure temperature around 25 degree but probably that it will be less sensitive for high temperature. Probably that accuracy will be a little better is the resistance is about the same as the NTC resistor at the tempera...
by mstrens
Fri Feb 23, 2018 7:48 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor HoTT Temperature
Replies: 18
Views: 164

Re: OpenXSensor HoTT Temperature

To further debug the issue, we can first force a fix value (this just to check if the issue is in the transmission part or in the measurement part). To do this, you can change the line TxHottData.gamMsg.temperature1 = (voltageData->mVolt[TEMPERATURE_1_SOURCE - VOLT_1].value ) + 20 ; by TxHottData.ga...
by mstrens
Fri Feb 23, 2018 7:28 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor HoTT Temperature
Replies: 18
Views: 164

Re: OpenXSensor HoTT Temperature

This is strange. It looks like the voltage measured by arduino changes a lot. Do you have have the right connection to Arduino pins. You should have - one pin of NTC 1 connected to Gnd - the other pin of NTC 1 connected to arduino pin A0 - one pin of a 10k resistor connected to Arduino pin A0 (so co...
by mstrens
Thu Feb 22, 2018 11:04 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor HoTT Temperature
Replies: 18
Views: 164

Re: OpenXSensor HoTT Temperature

You currently have
#define FIRST_NTC_ON_VOLT_NR 0
#define LAST_NTC_ON_VOLT_NR 0

It must be
#define FIRST_NTC_ON_VOLT_NR 1
#define LAST_NTC_ON_VOLT_NR 2

Please try this
by mstrens
Thu Feb 22, 2018 10:34 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor HoTT Temperature
Replies: 18
Views: 164

Re: OpenXSensor HoTT Temperature

Can you send me your latest config files (basic and advanced).
In previous post you put the file description but not the advanced.
by mstrens
Thu Feb 22, 2018 8:53 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor HoTT Temperature
Replies: 18
Views: 164

Re: OpenXSensor HoTT Temperature

Perhaps there is a bug in oXs. Perhaps temperature is calculated internally with 1 decimal and the Hott protocol does not accept one decimal. In file oXs_out_hott.cpp, there is a line with TxHottData.gamMsg.temperature1 = (voltageData->mVolt[TEMPERATURE_1_SOURCE - VOLT_1].value ) + 20 ; // Hott appl...
by mstrens
Thu Feb 22, 2018 8:15 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor HoTT Temperature
Replies: 18
Views: 164

Re: OpenXSensor HoTT Temperature

In file advanced you made several mistakes. Please read the file oXs_config_description.h About NTC sensors it says: * oXs reuses the mVolt calculated by oXs. The config must be adapted in a such a way that this mVolt is equal to the raw value returned by the ADC * 1000 (for better accuracy) * There...
by mstrens
Wed Feb 21, 2018 5:31 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Analog speed sensor drifting maybe a idea...
Replies: 7
Views: 95

Re: Analog speed sensor drifting maybe a idea...

Yes I suggest that you keep your modification based on delay. You could also furthermore increase the delay to reduce the drift. Up to you to see how long you can wait. Note : take care that when you are on the field and if there is some wind, this wind would have an impact on the "zero" if the pito...
by mstrens
Wed Feb 21, 2018 5:02 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Analog speed sensor drifting maybe a idea...
Replies: 7
Views: 95

Re: Analog speed sensor drifting maybe a idea...

So you identified a drift from the sensor : it goes quicly from 206.5 to 202 mv. After 3 min you have also noticed a drift in the telemetry data. It is not clear from your report if the drift over 3 min results from ADS1115 or from the sensor. To clarify this, did you measure the voltage on sensor w...
by mstrens
Wed Feb 21, 2018 12:04 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Analog speed sensor drifting maybe a idea...
Replies: 7
Views: 95

Re: Analog speed sensor drifting maybe a idea...

Perhaps internal temperature of ADS1115 increases to much when oXs ask for many conversions.
When airspeed is not used for vario compensation, it should be possible to reduce the frequency of ADC conversion.
This could perhaps help.
by mstrens
Mon Feb 19, 2018 2:43 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: MPX5010DP
Replies: 2
Views: 63

Re: MPX5010DP

I think you can use it (as any analog sensor). Just take care that: - you this device seems to provide a voltage of 0.2 volt (instead of Vcc/2) when there is no differential pressure. So, no need to add 2 resistors going to a pin of ads1115. Just put the pin to Gnd. - the sensitivity is different. S...
by mstrens
Tue Feb 13, 2018 9:05 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Reading analog pressure withMPX5700DP
Replies: 4
Views: 68

Re: Reading analog pressure withMPX5700DP

I think that if you transmit a voltage (e.g. with #define VOLTAGE_SOURCE VOLT_1) and not a temperature (so keeping #define TEMPERATURE_SOURCE NTC as comment), oXs sent the data with 2 decimals (e.g. 10,21 V) and it will be identified as "Voltage 1" in the jeti box. If you want to replace "Voltage 1"...
by mstrens
Tue Feb 13, 2018 7:12 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Reading analog pressure withMPX5700DP
Replies: 4
Views: 68

Re: Reading analog pressure withMPX5700DP

As the sensor delivers an analog voltage it is quite easy. Just connect Vcc, Gnd and then Vout (from the sensor) to one of the arduino analog pin (A0, A1, ...). Then in the config, you must ask to measure a voltage (on the arduino pin you select). In the config, you have also to fill some values for...
by mstrens
Sat Feb 10, 2018 7:58 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Is there any chance to implement the Jeti EX bus?
Replies: 3
Views: 84

Re: Is there any chance to implement the Jeti EX bus?

I do not think it is possible to implement it in oXs. Arduino pro mini (or nano) being used for oXs has only one UART. It is already used to get data from GPS module. Communication with the receiver is done using a software serial (UART implemented by some code). I expect that this software serial i...
by mstrens
Sat Jan 20, 2018 8:54 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Energy compensated vario with two MS5611 - how to configure
Replies: 13
Views: 359

Re: Energy compensated vario with two MS5611 - how to configure

In order to get a sensitivity of 80, set SENSITIVITY_MIN to 80

So, first line should become:
#define SENSITIVITY_MIN 80
by mstrens
Fri Jan 19, 2018 10:18 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Possible to integrate GY87 in OpenXSensor ?
Replies: 8
Views: 177

Re: Possible to integrate GY87 in OpenXSensor ?

It is not clear for me your concern about the drift on the speed. Is it the vertical speed (calculated by BMP180) or an airspeed (based on a differential sensor). For the vertical speed there is normally no reset function. But even if the first value is not zero, the values should trend to zero quit...
by mstrens
Thu Jan 18, 2018 9:29 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Possible to integrate GY87 in OpenXSensor ?
Replies: 8
Views: 177

Re: Possible to integrate GY87 in OpenXSensor ?

Could you try to change one line in file oXs_bmp180.cpp. There is: if ((D1 > 0) & (millis() > 1000) ) { // If D1 has been read in a previous loop and if sensor is started since more than 1 sec, then calculate pressure etc... Can you try: if ((D1 > 0) & (millis() > 3000) ) { // If D1 has been read in...
by mstrens
Thu Jan 18, 2018 8:41 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Possible to integrate GY87 in OpenXSensor ?
Replies: 8
Views: 177

Re: Possible to integrate GY87 in OpenXSensor ?

It was a very quick change.
I did not test it.
If there is a bug, let me know.
by mstrens
Thu Jan 18, 2018 8:13 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Possible to integrate GY87 in OpenXSensor ?
Replies: 8
Views: 177

Re: Possible to integrate GY87 in OpenXSensor ?

I just put a new version on github in order to support GY87.
by mstrens
Wed Jan 10, 2018 6:47 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM value always shows 1000
Replies: 6
Views: 140

Re: RPM value always shows 1000

I found the bug.
in file oXs_out_jeti.cpp, you will find a line with
* fieldValue = 1000 ;
Please delete this line.
it is probably a line that I added to made some test and I forgot to removed it.
by mstrens
Wed Jan 10, 2018 5:32 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM value always shows 1000
Replies: 6
Views: 140

Re: RPM value always shows 1000

I do not see any line in the code of oXs that should force a fix value for RPM.
If you deactivate GPS, current and/or vario do you still have the same issue?
Do you have an oscilloscope or a digital analyser to look at the signal to be read by oXs for RPM.
If you do not find, we can try to debug this.
by mstrens
Wed Jan 03, 2018 8:39 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Energy compensated vario with two MS5611 - how to configure
Replies: 13
Views: 359

Re: Energy compensated vario with two MS5611 - how to configure

I had a look at some photos of the GY63.
I think there is a 2.2k resistor on board connecting CSB to ground. This force the adress 0x77 by default.
If so, you could you put a resistor of about 1.5k between CSB and VCC (5 volt) and you should get a voltage of about 3 volt which is safe.
by mstrens
Fri Dec 29, 2017 4:05 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor Jeti, flow sensor and reset through button / PPM
Replies: 38
Views: 624

Re: OpenXSensor Jeti, flow sensor and reset through button / PPM

So, it looks like oXs never reach the point where it read PPM signal.
I will send you a version with some more debug to see up to which point oXs can run.

No need to test with another pin for ppm.
by mstrens
Fri Dec 29, 2017 10:30 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor Jeti, flow sensor and reset through button / PPM
Replies: 38
Views: 624

Re: OpenXSensor Jeti, flow sensor and reset through button / PPM

I just put a new version of oXs on github. I made little changes about ppm handling. You can try it. I am still not sure that it helps in your case because I do not understand what happens with BMP280. If you want, I can make a special version with more debug information to try to understand. If you...
by mstrens
Thu Dec 28, 2017 8:19 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor Jeti, flow sensor and reset through button / PPM
Replies: 38
Views: 624

Re: OpenXSensor Jeti, flow sensor and reset through button / PPM

So, this test shows that the ppm signal is not recognise when BMP280 is configured.
I still do not understand why.
I do not see why oXs reacts in a different way for the BMP280 compared to the MS5611.
I will look further.
I am interrested to know if it works on your side with MS5611.
by mstrens
Thu Dec 28, 2017 11:41 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor Jeti, flow sensor and reset through button / PPM
Replies: 38
Views: 624

Re: OpenXSensor Jeti, flow sensor and reset through button / PPM

It is strange. I made some tests this morning with and without a MS5611 (and a GPS configured but not connected). It worked in all cases. I do not have a BMP280 to test with but I do not expect it could have an impact. In order to further investigate, could you make some more tests with #define DEBU...
by mstrens
Thu Dec 28, 2017 8:01 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor Jeti, flow sensor and reset through button / PPM
Replies: 38
Views: 624

Re: OpenXSensor Jeti, flow sensor and reset through button / PPM

@Onki, Just 2 questions before I start debugging: - did you let #define DEBUG as comment (so with // in front); I expect that if DEBUG mode is activated, then oXs will not handle sequencer correctly - did you connect the BMP280 to arduino when you activated the baro in the config; If it is activaded...
by mstrens
Wed Dec 27, 2017 6:02 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor Jeti, flow sensor and reset through button / PPM
Replies: 38
Views: 624

Re: OpenXSensor Jeti, flow sensor and reset through button / PPM

Good to know that sequencer still works when there is no baro sensor.


The baro uses ppm too (for sensitivity, to select between several baro, ...) but in theory when a sequencer is used, ppm should be used for ther sequencer.

I will try to debug the issue in the coming days.

Go to advanced search