Search found 1231 matches

by mstrens
Sun Jun 09, 2019 7:11 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Pitch, Roll and Accel Values
Replies: 4
Views: 359

Re: Pitch, Roll and Accel Values

Normally oXs can calculate Roll and Pitch. Still I think your issue is due to the use of ACCX and Y to handle the data. If I remember well, on Tx side, the 2 last digit being sent as ACC are lost (due to the format foreseen by Frsky for ACC). To solve this, it is possible to setup a scale = 255 in t...
by mstrens
Fri May 31, 2019 1:54 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: cohabitation with smartport on RX6R
Replies: 2
Views: 164

Re: cohabitation with smartport on RX6R

It can cohabitate.
So you can build it with only the vario. You will get only Alt and Vspeed from oXs (and A2 from RX6R)
by mstrens
Fri May 31, 2019 11:31 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: ADS1115 - howto for single cell measurement
Replies: 2
Views: 252

Re: ADS1115 - howto for single cell measurement

Currently, the code in oXs does not allow to calculate individual cell voltages based on ads1115.

For a 3S I think you can get enough accuracy without ads1115 (so using internal ADC from arduino).
When using internal arduino ADC, oXs calculates individual cells for Hott protocol.
by mstrens
Sun May 26, 2019 5:27 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Please, do you have a complete sketch ?
Replies: 2
Views: 236

Re: Please, do you have a complete sketch ?

OpenXvario is not maintained anymore. Use openXsensor instead. Use this link: https://github.com/openXsensor/openXsensor Download and unzip all files from master branch. Open openXsensor directory and select openXsensor.ino. It should open arduino IDE with many tabs. Read file oXs_config_description...
by mstrens
Tue Apr 23, 2019 7:53 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXsensor 4 cell calibration problem!
Replies: 2
Views: 276

Re: OpenXsensor 4 cell calibration problem!

Calibration may not be done cell by cell. In fact arduino does not measure the voltage of each cell individually. It measures the voltages regarding ground so it measures: - on the first pin = cell1 - on the second pin = cell1 + cell2 - on the third pin = cell1 + cell2 + cell3 - on the forth pin = c...
by mstrens
Sat Mar 30, 2019 8:31 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Cant get openxsensor to work @ 3.3V 8Mhz arduino
Replies: 4
Views: 428

Re: Cant get openxsensor to work @ 3.3V 8Mhz arduino

In arduino IDE, are you sure to select a board which is specified for 8mHZ. If you select a board for 16mhz, the compiler will get a parameter saying it is a 16 MhZ clock and oXs will use internal delays to fit with 16 MHZ. If your CPU is really a 8mHz, then OXs can't recognise the signal sent by th...
by mstrens
Fri Feb 15, 2019 7:32 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: temp and RPM setup?
Replies: 1
Views: 172

Re: temp and RPM setup?

What is the telemetry protocol (FRSKY, HOTT,...)?
How many Temperatures do you want?
Do you know the characteristics of the NTC being used to measure the temperature?
Did you read the file oXs_config_description.h? It contains some explanations about the way to set up the config files.
by mstrens
Sat Feb 09, 2019 7:41 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Setting up openXsensor
Replies: 12
Views: 1809

Re: Setting up openXsensor

Can you explain which measurements you want.
Do you already knows which resistors you will use for the voltage divider?
Have you decided if you use the internal voltage (about 1.1 volt) or Vcc as reference?
Once this defined, I can write the related config lines.
by mstrens
Mon Feb 04, 2019 11:27 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: analog baro
Replies: 2
Views: 263

Re: analog baro

OpenXsensor project allows to connect e.g. a GY-63 module (a digital baro sensor) to an arduino pro mini. The program read the sensor and calculates the air pressure, and so the altitude and the vertical speed. Normally those data are sent to the transmitter using one of the following protocols : Fr...
by mstrens
Sun Feb 03, 2019 6:55 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: getting sporadic "sensor lost" using SPort protocol
Replies: 12
Views: 657

Re: getting sporadic "sensor lost" using SPort protocol

I never used pro mini at 3.3V. At 3.3V the max cpu frequency is normally 8 mhz compare to 16 mhz for a pro mini 5V. Usually I use pro mini at 5v even if I power it with a 4.8 V nimh battery via the RAW pin (so there is a voltage drop in the voltage regulator). In this case the CPU get probably only ...
by mstrens
Fri Feb 01, 2019 8:25 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: getting sporadic "sensor lost" using SPort protocol
Replies: 12
Views: 657

Re: getting sporadic "sensor lost" using SPort protocol

Perhaps a bug in oXs but it is difficult to find if it appens only from time to time. Just to help to search for the bug, could you say if it happens also when you do not configure a vario. Just for testing, do you have similar issue if you only configure some voltages and ask to send one or several...
by mstrens
Fri Feb 01, 2019 2:30 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Setting up openXsensor
Replies: 12
Views: 1809

Re: Setting up openXsensor

There are 2 config files (basic in advanced) because there are many parameters that can be defined and I expected that in most cases, it would be enough to just change the "basic" parameters. This is e.g. the case when you just want to make a vario. When you (also) want to make a voltmeter, then you...
by mstrens
Thu Jan 10, 2019 6:35 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: openX sensor with some I/O pins
Replies: 2
Views: 892

Re: openX sensor with some I/O pins

in some way it is already possible: - about digital input : oXs allows to measure up to 6 voltages. You can use them as digital input. The returned value will not be 1/0 but if your TX let you compare the value to a reference level, you can get it. In openTx e.g. you can say that logical switch X is...
by mstrens
Wed Dec 05, 2018 8:01 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 40
Views: 4592

Re: New to openXsensor - GPS and smartport question

This is the type of gps I am currently using (BN-220). It wotks fine. It is a ublox neo8M inside. The conector/wires toconnect itto arduino are delivered too. https://fr.aliexpress.com/item/small-size-UBLOX-M8030-chipset-GPS-Receiver-with-Module-and-Antenna-BN-220/32797180193.html?spm=a2g0s.9042311....
by mstrens
Thu Nov 29, 2018 12:34 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXsensor Voltage measure with HOTT
Replies: 5
Views: 396

Re: OpenXsensor Voltage measure with HOTT

OK, now I understand your wiring. There is probably a misunderstanding in the way you use the concept of "number of cells". In fact, with your wiring, as A1, A2 and A3 are connected toegether (to the mid point of the voltage divider), you are not measuring individual cells but just 3 times the total...
by mstrens
Wed Nov 28, 2018 9:52 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXsensor Voltage measure with HOTT
Replies: 5
Views: 396

Re: OpenXsensor Voltage measure with HOTT

I do not understand how you simulate your lipo.
Can you put here a schema of your resistances and the wiring.
Can you also add here your 2 config (basic and advanced) files.
by mstrens
Fri Nov 23, 2018 6:14 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor GPS project 101
Replies: 48
Views: 5755

Re: OpenXSensor GPS project 101

Fine that you find the solution.
Confratulation.
by mstrens
Thu Nov 22, 2018 5:28 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor GPS project 101
Replies: 48
Views: 5755

Re: OpenXSensor GPS project 101

It can take several minutes before you get the fix.o any gps modules have a led that blink when the gps get the fix. If it does not work, you can try to connect a usb to serial (ftdi) on the line TX signal from the gps. So, you could get on the PC a copy of the messages sent by the gps but it can be...
by mstrens
Thu Nov 22, 2018 12:52 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor GPS project 101
Replies: 48
Views: 5755

Re: OpenXSensor GPS project 101

If you do not succeed changing the default baudrate to 9600, I should be possible to modify oXs code in order to let him send the commands at 38400 at startup.
by mstrens
Thu Nov 22, 2018 8:47 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor GPS project 101
Replies: 48
Views: 5755

Re: OpenXSensor GPS project 101

As far I know, the Ublox gps (e.g. NEO8) have a default baud rate of 9600. So, when they are powered on, they are sending/receiving bytes at 9600. In the startup process, oXs expect that the GPS is set on 9600bds and it sent some commands at 9600 bds to the GPS to ask him to sent some messages in a ...
by mstrens
Tue Nov 20, 2018 9:37 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor GPS project 101
Replies: 48
Views: 5755

Re: OpenXSensor GPS project 101

oXs works with Neo8M just like with Neo7M. I made several devices with Neo6,7 and 8. I just had once an issue. A module was declared on aliexpress as an Ublox Neo? but in fact it was not an ublox chip inside. So oXs was unable to reconfigure it in order to get the expected types of message at the ex...
by mstrens
Sat Nov 03, 2018 7:43 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: deported air speed sensor
Replies: 4
Views: 1237

Re: deported air speed sensor

It is difficult to say what is the max length because it depends on the capacitance of the cable and of the noise environement. Based on some article in google about I2C, I expect that you it should work for a cable lentgh of 1.5m. Currently oXs is configured to work at 400kkz but it could easily be...
by mstrens
Sun Oct 28, 2018 9:31 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Setting up openXsensor
Replies: 12
Views: 1809

Re: Setting up openXsensor

Volt are measurements performed by arduino it self. Accuracy is limited by the number of bits of arduino ADC (10 bits I think) and the accuracy of the internal 1.1 volt reference. In most case, this accuracy is enough. Still, if it is not enough, it is possible to add an external module ADS1115 to t...
by mstrens
Sat Oct 27, 2018 7:26 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Setting up openXsensor
Replies: 12
Views: 1809

Re: Setting up openXsensor

Here the config files you could use. Note : the values for the resistances (for current and voltage dividers) have to be modified according to your values. You have also have to modify the parameters for current sensor (sensitivity, offset) according to your sensor. I assume that you use the interna...
by mstrens
Thu Oct 25, 2018 9:07 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Setting up openXsensor
Replies: 12
Views: 1809

Re: Setting up openXsensor

With version 8.x.x, for frsky Sport, you do not have to specify (anymore) in which fields data like Alt, Vspeed, Curr, Airspeed, GPS are transmitted. It is automatically done by oXs using the default fields are sensor ID. To get VFAS, you have to specify which voltage measurement has to be used. Thi...
by mstrens
Sat Oct 06, 2018 11:34 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor 2 batteries with 2 cells voltage problem
Replies: 8
Views: 827

Re: OpenXSensor 2 batteries with 2 cells voltage problem

With your config, oXs can measure 4 voltages: - cell 1 of battery 1 - total of cell1 + cell2 of battery 1 - cell 1 of battery 2 - total of cell1 + cell2 of battery 2 This is done defining 4 pins for voltage measurement. Based on this oXs can calculate voltage of cell2 (by differerence between total ...
by mstrens
Fri Oct 05, 2018 7:48 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor 2 batteries with 2 cells voltage problem
Replies: 8
Views: 827

Re: OpenXSensor 2 batteries with 2 cells voltage problem

Can you first explain how are your batteries connected
- in serie so making a 4S battery
- in parallel so making a 2S
- only with a common ground (e.g. to make a backup system)
by mstrens
Sun Sep 30, 2018 7:45 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXsensor Configurator
Replies: 195
Views: 47295

Re: OpenXsensor Configurator

I am sorry but the developper of the configurator has stopped supporting his tool.
So, the remaining solution is to edit manually the 2 files oXs_config_basic.h and oXs_config_advanced.h

If this is to difficult, you can explain which sensors/protocol you want and I can make the config files for you.
by mstrens
Sun Sep 30, 2018 7:41 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Replace ads1115 by an ads1015
Replies: 1
Views: 447

Re: Replace ads1115 by an ads1015

I presume you mean "not an ads1115" instead of "not an ads1015". I never tested with ads1015 but I exepect that you have to make some changes in the code because resolution is lower (12 bits instead of 16 bits) and perhaps also because conversion speed is not the same. An ads1115 module is less than...

Go to advanced search