Search found 1184 matches

by mstrens
Mon May 21, 2018 12:13 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: ACS758LCB Current sensor
Replies: 16
Views: 673

Re: ACS758LCB Current sensor

if you have a voltmeter, can you measure the voltages provided by you current sensor for 2 values of the current - first when the current is very low (e.g. motor off) - second when the current is high (motor running). Please report the 2 values. If you have a unidirectional sensor, did you try to re...
by mstrens
Tue Mar 27, 2018 4:53 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS lost communication with Arduino
Replies: 13
Views: 910

Re: GPS lost communication with Arduino

The GPS module has a 3.3 voltage regulator but this is used to power on the GPS module. When a 5 volt Arduino is used, it can generate a 5 volt signal on his output pins while the GPS input pins does not accept more than 3.3 volt. Still the GPS input pins have probably an internal diode connected to...
by mstrens
Tue Mar 27, 2018 12:57 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS lost communication with Arduino
Replies: 13
Views: 910

Re: GPS lost communication with Arduino

I presume that your GPS is working if U-center could display such information because I expect that this program sent some commands to the GPS at startup in order to recognise it. So we can try to make some tests at oXs side. Do the test one by one. - 1) First, you can try to increase the delay oXs ...
by mstrens
Mon Mar 26, 2018 7:31 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS lost communication with Arduino
Replies: 13
Views: 910

Re: GPS lost communication with Arduino

I presume that you already downloaded the U-Center program (which allows to configure and check Ublox GPS. If not here is a link explaining how to proceed. https://www.youtube.com/watch?v=ZeYKwNC5Aao Here a link to the user guide the user guide https://www.u-blox.com/sites/default/files/u-center_Use...
by mstrens
Mon Mar 26, 2018 7:17 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS lost communication with Arduino
Replies: 13
Views: 910

Re: GPS lost communication with Arduino

Please note that I recommend having a resistor between GPS RX pin and Arduino pin 6 because Arduino output a 5Volt level and GPS is normally 3.3 Volt. Here the extract from oXs_config_description.h * - GPS Rx pin is connected to a resistor (e.g. 10k) and the other pin of the resistor is connected to...
by mstrens
Sun Mar 25, 2018 7:12 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS lost communication with Arduino
Replies: 13
Views: 910

Re: GPS lost communication with Arduino

In principe, the version of oXs in the master branch on github should work. There is no other firmware. There could be a wrong configuration in files oXs_config_basic.h and oXs_config_advanced.h (or a wrong wiring between arduino and GPS) So, I suggest that you first check your configurations files....
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: 929

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: 929

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: 929

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: 929

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: 929

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: 929

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: 929

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: 929

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: 409

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: 409

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: 409

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: 238

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: 251

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: 251

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: 292

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: 828

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: 459

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: 459

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: 459

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: 459

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: 383

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: 383

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: 828

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: 1496

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.

Go to advanced search