Search found 1243 matches

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

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

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

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

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

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.
by mstrens
Tue Dec 26, 2017 9:00 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: 3729

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

I do not see an error in the config files. Your unit is 2. It means that a value 1 in your sequence should generate a pulse of 10 msec. Is this not quite short? Does your sensor send the altitude, vpseed and GPS data? Can you try your oXs with a config where you disable the baro and the GPS (to chec...
by mstrens
Mon Dec 18, 2017 9:58 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: openXsensor V8.0 16bit ADC and analog Airspeedsensor
Replies: 27
Views: 5393

Re: openXsensor V8.0 16bit ADC and analog Airspeedsensor

It is not really a bug I understand it can be quite confusing. The first protocol being implemented was Frsky. In this protocol airspeed had to be in knot/h and it was the Tx (e.g. openTx firmware) that converts it to km/h (if wanted). In Frsky protocols units are not sent by the sensors and so the ...
by mstrens
Sat Dec 16, 2017 10:20 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

I have no experience with GPS. I just wrote the arduino code for others. Still I can imagine that the gps has to get very very low signal. When it sits just close to others electronic components (e.g. Rx sending strong 2.4Ghz) it could be that it can't recognise the satellites signals. Putting a pla...
by mstrens
Thu Dec 14, 2017 8:00 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

Normally there is no need for a resistor to Vcc. It was for testing. I do not know how much current can go into the diode that (in principe) protect the Tx GPS pin. So 22 k was to be safe. In fact there was no need for a resistor. The issue was because oXs losts some chars from GPS because it was wa...
by mstrens
Wed Dec 13, 2017 5:31 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

Yes you schema is correct. It is safier to use 22k. Normally GPS Tx pin is driven by the GPS module between 0 volt (LOW) and 3.3 volt(level HIGH). It could be (not sure) that your GPS does force the voltage to 3.3 volt when signal should be logical HIGH. Adding a resistor between Vcc and this pin co...
by mstrens
Wed Dec 13, 2017 12:59 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

I looked further at the codes displayed on your PC in your previous test (post from 12h04). The char received by oXs are not 100% correct. There can be 2 reasons: a- the voltage level of the signal sent by GPS does not match the level expected by arduino. Your arduino is running at 5 volt and the GP...
by mstrens
Wed Dec 13, 2017 11:21 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

Those are the expected characters. GPS sent UBLX frame instead of NEMA frame, so GPS has handled the oXs command at start up. OK Each frame begins with 0xB5 and oXs get the characters and forward them to PC: OK So normally oXs should work. I suggest that you - disconnect GPS - upload the program aga...
by mstrens
Wed Dec 13, 2017 10:40 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

It is very strange. We know that : - GPS alone works and sent NEMA messages at 9600bds (OK); those messages are clear text (OK) - GPS handles commands sent by oXs because when connected to oXs GPS does not sent anymore clear text. Note: when both FTDI and GPS are connected to Arduino, the RX pin fro...
by mstrens
Wed Dec 13, 2017 9:28 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

So test 1 shows that , by default, GPS sent NEMA messages at 9600 bds. This is OK About test2, I presume that unreadable code continues (and does not stop a few seconds after power on). If so it means that GPS sent also messages after it got the command from oXs. At this stage (in test 2), we still ...
by mstrens
Tue Dec 12, 2017 10:12 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

If there is no message after "End of general set up", it seams that oXs does not get data from GPS module. Did you wait up long enough to let the GPS get a fix. It could be that GPS does not send messages when there is no fix (not sure about this)? We can make 2 more tests: - one to see if the GPS s...
by mstrens
Tue Dec 12, 2017 8:57 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

I think that 9600 bauds is the main parameter. Perhaps we can try to debug the messages sent by the gps (if any). In the file oXs_gps.cpp you have some lines with #ifdef DEBUG //#define DEBUGGPS #define DEBUGPARSEGPS //#define DEBUGSENDGPS //#define DEBUG_FORWARD_GPS_MSG_TO_PC #endif You can change ...
by mstrens
Tue Dec 12, 2017 5:18 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: openXsensor V8.0 16bit ADC and analog Airspeedsensor
Replies: 27
Views: 5393

Re: openXsensor V8.0 16bit ADC and analog Airspeedsensor

Yes it can. The value of the resistors is not critical (I proposed 10k byt 4.7k is ok too). I proposed the resistor to pin A1 and sensor to pin A0 but it is the same Here an extract form oxs_config_description.h * In ADS_AIRSPEED_BASED_ON, you specify which voltage measurement (if any) is used for a...
by mstrens
Tue Dec 12, 2017 4:32 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

At startup, oXs has to send some gps commands to the GPS module in order to ask for some specific messages being send to oXs. Only those specific messages will be handled by oXs. As long as oXs does not get a valid message from the module (so it requires both a fix and the speficic messages) it does...
by mstrens
Thu Dec 07, 2017 11:45 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: openXsensor V8.0 16bit ADC and analog Airspeedsensor
Replies: 27
Views: 5393

Re: openXsensor V8.0 16bit ADC and analog Airspeedsensor

You are right: there is no field ID for airspeed in Hub protocol. So, you can use another field like Temp or AccX. Please note that openTx handles AccX,Y,Z in a special way. For Acc, the values are normally calculated/transmitted by the sensor in 1/1000 but they are displayed in 1/10 So the Tx disca...
by mstrens
Wed Dec 06, 2017 8:49 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: openXsensor V8.0 16bit ADC and analog Airspeedsensor
Replies: 27
Views: 5393

Re: openXsensor V8.0 16bit ADC and analog Airspeedsensor

in oXs_config.h you should have #define AIRSPEED_SENSOR_USE MPXV7002 // select between NO_AIRSPEED , MS4525 , MPXV7002 Then airspeed will automatically be sent as airspeed. So you can put next line as comment #define ACCY_SOURCE ADS_VOLT_1 Note : if I remember wel, airspeed values sent by oXs for Fr...
by mstrens
Sun Nov 26, 2017 7:58 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Issue with Jeti and MPXV7002 and ADS1115
Replies: 16
Views: 1825

Re: Issue with Jeti and MPXV7002 and ADS1115

@mstrens: do you think an offset +10km/h only for coldstart is possible? Or will it affect also airspeed reset? It depends on the way it is coded. It would be possible to add the offset only when oXs startup and not in case of airspeed reset. Still, this would not help in all cases if it is tempera...
by mstrens
Fri Nov 24, 2017 9:23 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: 3729

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

I have another question regarding the sequencer. I managed to define a ACL/Beacon function on pin 10/11 In addition I want to use pin 12/13 to enable position lights and landing lights. As far as I understood the mentioned PPM position is only this position. How do I define a sequence if the positi...
by mstrens
Fri Nov 24, 2017 8:49 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: 3729

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

When you use the pushbutton, do you see the arduino led blinking? Depending on the duration of pushing down the button, there should be some blinking bettween 1000 and 1200 msec 3000 and 3200 msec 3300 and 3400 msec 10000 and 10200 msec 10300 and 10400 msec 10500 and 10600 msec If you do not have le...
by mstrens
Thu Nov 23, 2017 8:51 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Issue with Jeti and MPXV7002 and ADS1115
Replies: 16
Views: 1825

Re: Issue with Jeti and MPXV7002 and ADS1115

It could be that or the differential pressure sensor or the ads1115 has some drift with the increase of the temperature at startup. oXs allows to make a reset of the airspeed using a PPM signal (in fact the right name would be a PWM = the signal sent to a servo) from the Rx. Did you test this option...
by mstrens
Thu Nov 23, 2017 12:30 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

Here a link to a module that works for me.
https://www.befr.ebay.be/itm/New-Ublox- ... 2749.l2649

It is a neo 7 but you can easily find similar pcb module with neo8
by mstrens
Thu Nov 23, 2017 9:38 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4851

Re: New to openXsensor - GPS and smartport question

I never used a resistor on the wire between Sport RX and arduino. Still I expect that using one could not be bad. oXs supports neo 6, 7 and 8. Most of those GPS are build on a pcb module that have a voltage regulator to deliver the 3.3 volt to the gps chip. I think that, on many gps module, the volt...
by mstrens
Wed Nov 22, 2017 10:01 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Issue with Jeti and MPXV7002 and ADS1115
Replies: 16
Views: 1825

Re: Issue with Jeti and MPXV7002 and ADS1115

Not having 0 should not be related to a parameter because, in principe, oXs does automatically a calibration at poweron in order to get 0. What value do you get? Is the value stable (when there is no airspeed)? Did you try adding an RC filter on differential pressure signal to reduce noise (a member...
by mstrens
Wed Nov 22, 2017 12:13 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: 3729

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

Normally the flow consumption should be reset when the button is pressed between 3 and 5 sec.
I could change the range of pulse duration to make it easier.

For sequencer I have to check the code
by mstrens
Wed Nov 22, 2017 11:57 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: 2328

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

Yes you can use a bmp280 as first sensor to get altitude and MS5611 as second sensor to get vspeed.

Go to advanced search