Search found 1434 matches

by mstrens
Sun Nov 22, 2020 9:25 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Multi rpm measure and synchronizing ..
Replies: 4
Views: 634

Re: Multi rpm measure and synchronizing ..

Currently oXs can only measure 1 RPM.
I am not sure arduino is powerful enough to measure several RPM and to manage simultaneously different sensor + telemetry.
by mstrens
Sun Nov 22, 2020 8:22 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: oxs gps BN-220
Replies: 10
Views: 212

Re: oxs gps BN-220

If your config declares that a mpu6050 is connected but the mpu is not connected, it can block oXs because there are some time out on the i2C bus.
Same issue exist with other I2C sensor (like MS5611).

This was perhaps the reason.
by mstrens
Sat Nov 21, 2020 6:43 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: oxs gps BN-220
Replies: 10
Views: 212

Re: oxs gps BN-220

Note : to check if the Rx pin is defect, you have (with U-center) to send some commands to the GPS and not only listen to the data it sent. At start up, oXs sent some commands to the gps in order to activate some types of messages and to change the baudrate. It the Rx pin is defect, it could be that...
by mstrens
Sat Nov 21, 2020 4:13 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: oxs gps BN-220
Replies: 10
Views: 212

Re: oxs gps BN-220

I do not expect that this is oXs related. It is probably an internal GPS issue.
Did you try to check your GPS using ublox u-center.
This freeware allows you to get and to display the data provided by the GPS
by mstrens
Fri Nov 20, 2020 10:14 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OxS Five temperature sensor and one voltage sensor
Replies: 19
Views: 664

Re: OxS Five temperature sensor and one voltage sensor

If you really want to get all temperatures (instead of min, index n and max), you can change some lines of code in file oXs_voltage.cpp You just have to remove the lines (from 271 up to 275) if ( numberOfNtc > 2) { voltageData.mVolt[FIRST_NTC_ON_VOLT_NR - 1].value = minTemp ; voltageData.mVolt[FIRS...
by mstrens
Fri Nov 20, 2020 10:11 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OxS Five temperature sensor and one voltage sensor
Replies: 19
Views: 664

Re: OxS Five temperature sensor and one voltage sensor

For 5 cylinder, you can get them with one single oXs (see my previous mail) For 7 cylinder, the easiest would be to use 2 oXs. In this case, you should have to change the device ID in the second one in order to avoid that both reply on the the same polling request from the RX. Othewise, in order to ...
by mstrens
Fri Nov 20, 2020 9:59 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OxS Five temperature sensor and one voltage sensor
Replies: 19
Views: 664

Re: OxS Five temperature sensor and one voltage sensor

If you really want to get all temperatures (instead of min, index n and max), you can change some lines of code in file oXs_voltage.cpp You just have to remove the lines (from 271 up to 275) if ( numberOfNtc > 2) { voltageData.mVolt[FIRST_NTC_ON_VOLT_NR - 1].value = minTemp ; voltageData.mVolt[FIRST...
by mstrens
Fri Nov 20, 2020 9:42 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OxS Five temperature sensor and one voltage sensor
Replies: 19
Views: 664

Re: OxS Five temperature sensor and one voltage sensor

in the line #define PIN_VOLTAGE 0 , 1 , 2 , 3 , 6 , 7 you declare which voltages have to be measured (here 6 voltage e.g) In the lines (e.g) define FIRST_NTC_ON_VOLT_NR 2 define LAST_NTC_ON_VOLT_NR 5 you declare which voltages have to be converted into degree. So here oXs will calculate degree based...
by mstrens
Fri Nov 20, 2020 9:24 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Question about parsing the UBX sentence MSG_SOL and MSG_VELNED
Replies: 4
Views: 481

Re: Question about parsing the UBX sentence MSG_SOL and MSG_VELNED

The kalman filter is used to calculate a vertical speed using the pressure sensor (converted in altitude) as wel as the vertical acceleration.

It is not foreseen for the velocity spikes.
by mstrens
Fri Nov 20, 2020 7:03 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OxS Five temperature sensor and one voltage sensor
Replies: 19
Views: 664

Re: OxS Five temperature sensor and one voltage sensor

So, you can try to send some VOLT_x on ACCX, ACCY and/or ACCZ if those are not used for another purpose.
There is still an attention point using ACCX,Y. If remember wel, it requires using a scale (255?) on Tx side to get the expected value.
by mstrens
Fri Nov 20, 2020 5:57 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OxS Five temperature sensor and one voltage sensor
Replies: 19
Views: 664

Re: OxS Five temperature sensor and one voltage sensor

So, your arduino is not defect.
Perhaps, it is the Rx that does not accept that oXs uses the telemetry fields A3 or A4.
To check this, try to send VOLT_x (from Arduino pin A3) on another telemetry field (e.g. fuel source)
by mstrens
Fri Nov 20, 2020 4:36 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OxS Five temperature sensor and one voltage sensor
Replies: 19
Views: 664

Re: OxS Five temperature sensor and one voltage sensor

I do not see a conflict in your config files.

Do you get a value from A3 if you run another configuration (e.g. reading only A3 as volt_1 and sending it as VFAS)
by mstrens
Wed Nov 18, 2020 12:06 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: AFHDS-2A telemetry
Replies: 1
Views: 74

Re: AFHDS-2A telemetry

I presume that AFHDS-2A is a Flysky receiver.
I do not know the FlySky receiver but I expect that it does not support the telemetry protocol from FRSKY, Multiplex or Jeti.

So I expect that it will not work with oXs
by mstrens
Tue Nov 17, 2020 11:55 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New beta version of openXsensor (=openXvario)
Replies: 527
Views: 115327

Re: New beta version of openXsensor (=openXvario)

In oXs_out_frsky.cpp, you can find this code (from line 1612) else // 8 bytes have been send { frskyStatus |= 1 << sensorIsr ; // set the bit relative to sensorIsr to say that a new data has to be loaded for sensorIsr. state = WAITING ; When the program enter this "else" section, it means that a dat...
by mstrens
Sat Nov 14, 2020 8:13 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: All-in-one sensor
Replies: 2
Views: 116

Re: All-in-one sensor

I expect this can be done with oXs if the esc has a RPM signal. You can measure the total 6s voltage but if you also want to measure each individual cell, the accuracy will be limited. There is no need for programming. Just edit 2 configuration files. All explanations are given in the file oXs_confi...
by mstrens
Tue Nov 10, 2020 4:05 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New version of oXs - Rf link quality
Replies: 9
Views: 895

Re: New version of oXs - Rf link quality

I never tested with Frsky Hub protocol but it should normally work. I just checked the code and I did not find a reason why it should not work. I would have to debug the program to check. Note: I expect that the only change you made is activating the FRSKY_HUB (instead of FRSKY_SPORT). So, you still...
by mstrens
Sun Nov 08, 2020 6:49 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New version of oXs - Rf link quality
Replies: 9
Views: 895

Re: New version of oXs - Rf link quality

JanRy wrote:
Sun Nov 08, 2020 11:30 am
Is this feature also enabled for Frsky hub telemetry?
Yes
by mstrens
Tue Nov 03, 2020 12:44 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New version of oXs - Rf link quality
Replies: 9
Views: 895

Re: New version of oXs - Rf link quality

Sorry but it is not possible to use S-Port to measure the link quality because it could be that s-port frames would be lost while frames used to drive the servos (PWM) would not be lost. The opposite is true too.
by mstrens
Tue Nov 03, 2020 11:19 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor project page on google code
Replies: 139
Views: 63211

Re: OpenXSensor project page on google code

Hi, Is there a way to build a simple 12S Sport voltage sensor ? that doesn't exist in FrSky range Do you want to get the voltage of each individual cell or only the voltage of the 12S. With oXs you can't get the voltage of each cell but it is easy to get the total voltage (just using a voltage divi...
by mstrens
Thu Oct 29, 2020 12:03 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New version of oXs - Rf link quality
Replies: 9
Views: 895

Re: New version of oXs - Rf link quality

The Rf link quality based on PWM needs an additional input on Arduino. It uses the arduino pin 2 or 3 (has to be defined as PIN_PPM). In fact the name PPM in oXs project is wrong. It would have been named PWM. So pin 2 or 3 has to be connected to a channel on the RX (just like a servo). All instruct...
by mstrens
Tue Oct 27, 2020 10:22 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New version of oXs - Rf link quality
Replies: 9
Views: 895

New version of oXs - Rf link quality

I just put on github a new version of oXs (in Master branch). I added the possibility to measure the quality of the 2.4Ghz link between TX and RX. This requires to use a free PWM channel on the RX and to configure the TX in such a way that the signal on this channel changes continuously (e.g. using ...
by mstrens
Sun Oct 18, 2020 9:09 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 228
Views: 38761

Re: RPM resolution?

thanks for the feedback.
by mstrens
Fri Oct 16, 2020 8:45 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: openxsensor locator
Replies: 2
Views: 258

Re: openxsensor locator

In theory, it would be possible to send altitude but currently, this is not possible.
It was not the purpose of the locator.
It would request to rewrite part of the code (on both module - sender and receiver).
by mstrens
Tue Oct 13, 2020 7:52 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 228
Views: 38761

Re: RPM resolution?

You can try to filter the value on oXS side. In the .ino file you currently have sport_rpm.value = RpmValue ; Change it to //sport_rpm.value = RpmValue ; sport_rpm.value += 0.1 * ( RpmValue - sport_rpm.value ) ; You can then adapt the "0.1" parameter. With 0.1, it means that the new value is the pre...
by mstrens
Tue Sep 15, 2020 11:42 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXsensor and Frsky SxR Receivers
Replies: 5
Views: 549

Re: OpenXsensor and Frsky SxR Receivers

I expect that there is another reason for the issue because oXs uses by default the following device Id's #define DATA_ID_VARIO 0x00 // = sensor 0 used for Alt and Vspeed #define DATA_ID_FLVSS 0xA1 // 1 used for Cell values #define DATA_ID_FAS 0x22 // 2 used for vfas , current and fuel #define DATA_...
by mstrens
Tue Sep 15, 2020 10:16 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXsensor and Frsky SxR Receivers
Replies: 5
Views: 549

Re: OpenXsensor and Frsky SxR Receivers

I have no experience with S8R but perhaps there is an incompatibility in the device ID being used.
oXs uses several devices ID's depending on the sensors being defined.
It is possible to change the devices ID's being used by oXs if this is would be the reason.
by mstrens
Wed Aug 19, 2020 5:37 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: error message while compiling for arduino mikro (leonardo)
Replies: 1
Views: 407

Re: error message while compiling for arduino mikro (leonardo)

oXs needs an AVR328p processor. It is used on Uno, nano, pro mini but not on leonardo.

Go to advanced search