Search found 1206 matches

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

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

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

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

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

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

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

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

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

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

Re: GPS & Arduino Pro mini

As far I know, when Arduino is connected to ftdi, it is powered by ftdi directly (bypassing the regulator).
So if ftdi is 3.3 v, arduino vcc is 3.3 v
by mstrens
Thu Sep 20, 2018 9:08 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS & Arduino Pro mini
Replies: 30
Views: 757

Re: GPS & Arduino Pro mini

Sorry, the version on my pc is not the same as on github.
I will update the version on github to morrow
by mstrens
Thu Sep 20, 2018 8:43 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS & Arduino Pro mini
Replies: 30
Views: 757

Re: GPS & Arduino Pro mini

after oXs program has been uploaded, you can connect arduino to ftdi and to gps simultanously. In order to debug you have to: - uncomment the line #define DEBUG in oXs_config_advanced.h - check that line #define DEBUGSENDDATA is uncommented in oXs_gps.cpp - upload the program in arduino (without gps...
by mstrens
Thu Sep 20, 2018 7:02 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS & Arduino Pro mini
Replies: 30
Views: 757

Re: GPS & Arduino Pro mini

So, with "upload" , arduino is correctly uploaded.
It is the same as what I get.

If oXs still does not communicate with openTx, we have to start some debugging.
by mstrens
Thu Sep 20, 2018 4:35 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS & Arduino Pro mini
Replies: 30
Views: 757

Re: GPS & Arduino Pro mini

I use a ftdi too to upload sketch.
I use "upload" with usbasp.
Please note that you have to disconect the gps (at least the signal on arduino Rx) when you upload in order to avoid conflict on the arduino Rx pin between the signal from ftdi and the signal from gps.
by mstrens
Thu Sep 20, 2018 6:54 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GPS & Arduino Pro mini
Replies: 30
Views: 757

Re: GPS & Arduino Pro mini

As Carbo said, your config seems ok.
Please note that there can be some delay between gps led starts blinking and oXs starts sending data. I think there are several of fixes.
So, I suggest that you wait a little more.
If it still does not work, let me know and we will try some debug options.
by mstrens
Thu Aug 09, 2018 6:55 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GY-521 and NO_BARO : MPU-6050 setup freeze
Replies: 5
Views: 476

Re: GY-521 and NO_BARO : MPU-6050 setup freeze

I2C scan is only performed in the MS5611 part of the code. That is the reason why I asked to activate the MS5611 even if it was not connected. This test shows that your mpu6050 is working. You are even getting the acceleration offsets on pc terminal. It could be that there are some conflicts when de...
by mstrens
Wed Aug 08, 2018 7:35 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GY-521 and NO_BARO : MPU-6050 setup freeze
Replies: 5
Views: 476

Re: GY-521 and NO_BARO : MPU-6050 setup freeze

First it would be good to know if your mpu-6050 can be detectd on the I2C bus. One easy way to test it is the folowing: - in the config_basic, declare that you have a first baro sensor = MS5611 (but do not connect a MS5611) - in oXs_MS5611, activate the option #define DEBUGI2CMS5611 - in oXs_config_...
by mstrens
Sat Aug 04, 2018 2:57 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXsensor fully loaded. Is it possible?
Replies: 2
Views: 292

Re: OpenXsensor fully loaded. Is it possible?

a sonar sensor is not supported by oXs. oXs can support an airspeed sensor (simultanously with baro and GPS and others sensors). There are 2 kind of sensors that can be used for airspeed. A digital one and an analog one (this one is cheaper but less accurate; it requires also a cheap ads1115 module)...
by mstrens
Wed Jul 25, 2018 10:25 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: HoTT sensor types
Replies: 3
Views: 913

Re: HoTT sensor types

Currently oXs emulate only the GAM protocol.
In theory it shouls be possible to emulate other protocol predefined by Hott too.
Do you have an idea of the protocol(s) that you want.
by mstrens
Wed Jul 11, 2018 6:21 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Alt/Vspd and Cells won't co-exist
Replies: 16
Views: 936

Re: Alt/Vspd and Cells won't co-exist

I just made a test with an oXs having only a MS5611. I used your config. It seems to work: I got Alt, vspeed, vfas (=0) and current (=0). I did not got cells because oXs does not send cells data if voltages are not in expected ranges. Could it be that your arduino are running with a AVR168 MCU inste...
by mstrens
Tue Jul 10, 2018 4:25 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Alt/Vspd and Cells won't co-exist
Replies: 16
Views: 936

Re: Alt/Vspd and Cells won't co-exist

Your config seems ok. It seems that you a using a AVR328 at 8mHz (3.3Volt). Perhaps the MCU has no enough power to perform all calculations in due time. I don't think this is the reason but if you have a 16mHz (5v) arduino, it could make sense to test it. Otherwise we can try to activate some debug ...
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: 1253

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

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

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

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

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

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

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

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...

Go to advanced search