Search found 1226 matches

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...
by mstrens
Mon Sep 24, 2018 6:49 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS & Arduino Pro mini
Replies: 30
Views: 1752

Re: GPS & Arduino Pro mini

I think it is because oXs detects a conflict in the config. Message says that when VFAS_SOURCE is defined, then the config must also ask for a voltage measurement (because VAFA is just a voltage measurement). In order to avoid the error when "Arduino measures voltage" is set to NO, you have to set #...
by mstrens
Sat Sep 22, 2018 7:30 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS & Arduino Pro mini
Replies: 30
Views: 1752

Re: GPS & Arduino Pro mini

If the gps can be reconfigure in U-center ( in order to select ubx messages at 38400 instead of nema messages at 9600), then it should work with oXs. I already got a bad gps but even if it was sell as a ublox, it was a fake one and it could not be reconfigure with U-center. Please note that It is i...
by mstrens
Sat Sep 22, 2018 7:23 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS & Arduino Pro mini
Replies: 30
Views: 1752

Re: GPS & Arduino Pro mini

If the gps can be reconfigure in U-center ( in order to select ubox messages at 38400 instead of nema messages at 9600), then it should work with oXs. I already got a bad gps but even if it was sell as a ublox, it was a fake one and it could not be reconfigure with U-center. Please note that It is i...
by mstrens
Fri Sep 21, 2018 8:42 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS & Arduino Pro mini
Replies: 30
Views: 1752

Re: GPS & Arduino Pro mini

When arduino is powered by ftdi, Vcc from ftdi is directly connected to arduino Vcc and there is no voltage on arduino Raw (arduino raw is connected to the input of a voltage regulator on the arduino board) After having uploaded the program via ftdi, I normally use a battery as power source. In fact...
by mstrens
Fri Sep 21, 2018 8:09 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS & Arduino Pro mini
Replies: 30
Views: 1752

Re: GPS & Arduino Pro mini

I just better checked and I saw that I made a mistake in my previous post. You have to check that you have #define DEBUGPARSEGPS uncommented (instead of checking #define DEBUGSENDDATA). Normally it is already the case with the version on github. Please note that at startup you should get some messag...

Go to advanced search