Search found 1270 matches

by mstrens
Thu Feb 06, 2014 8:11 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 96815

Re: Introduction to the openx vario/altimeter

I used originally the same version of openxvario as you and it works. I have no X6R receiver but a X8R. Here some points to check: 1) did you activate the option FrskySPORT in the config.h file you should have /***************************************************************************************/ ...
by mstrens
Wed Feb 05, 2014 9:16 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Optional data in the oxs telemetry fields
Replies: 40
Views: 6104

Re: Optional data in the oxs telemetry fields

bgbrik You can search on the web about this error. I think it means that there is a communication error between the PC, the usb device and the Arduino. You must check in the arduino IDE in the menu tools: - in item board : did you select the right type of arduino (it must be pro or pro mini 5 v 16 m...
by mstrens
Wed Feb 05, 2014 7:39 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Optional data in the oxs telemetry fields
Replies: 40
Views: 6104

Re: Optional data in the oxs telemetry fields

bgbrik, This is strange. I expect it is an arduino IDE issue. When I compile the program, I get a much longer report (with some warning but no error) I put in attachment an example of report I receive. Note : I am using version 1.0.5 from Arduino IDE (the version number is displayed on top left of t...
by mstrens
Wed Feb 05, 2014 5:59 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Optional data in the oxs telemetry fields
Replies: 40
Views: 6104

Re: Optional data in the oxs telemetry fields

bgbrik, if adding 2 lines is not enough, you can also try adding all those lines (to declare first all functions) int freeRam () ; void checkButton() ; void readSensors() ; void Reset1SecButtonPress() ; void Reset3SecButtonPress() ; void Reset10SecButtonPress() ; void SaveToEEProm() ; void LoadFromE...
by mstrens
Wed Feb 05, 2014 5:30 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Optional data in the oxs telemetry fields
Replies: 40
Views: 6104

Re: Optional data in the oxs telemetry fields

bgbrik, It seems that some functions in the ino file have to be declared before being used. I don't know why because it is not always the case. I think this can be solved adding 2 lines in the .ino file I tested with this code //#define DEBUG // this line already exists the ino file void checkButton...
by mstrens
Wed Feb 05, 2014 1:13 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Optional data in the oxs telemetry fields
Replies: 40
Views: 6104

Re: Optional data in the oxs telemetry fields

Mike, Thanks for you comment. I made some tests and I saw that internal voltage was not always 100% stable. Still I think that using it remains the best solution (except using an external voltage reference). I try to explain here why. When the raw voltage applied to the Arduino is more than about 5....
by mstrens
Wed Feb 05, 2014 11:16 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Optional data in the oxs telemetry fields
Replies: 40
Views: 6104

Re: Optional data in the oxs telemetry fields

I tried some days ago to implement some enhancements for the OpenXsensor. You can find in attachment the program that I made. This program have following characteristics: - it works only with SPORT protocol ( so with X8R or X6R receivers); it does NOT work with the hub protocol. - it can send more t...
by mstrens
Wed Feb 05, 2014 9:54 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 96815

Re: Introduction to the openx vario/altimeter

Tempo wrote: Question3:Where is definition of Arduino-Pins for SDA or SCL in Code Aserial.cpp ? The definition of Arduino-Pins for SDA and SCL is not in Aserial.cpp (this code is only for Sport interface). Arduino communicates with MS5611 sensor using I2C protocol. The AVR 328P (CPU used in this app...
by mstrens
Wed Feb 05, 2014 9:45 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 96815

Re: Introduction to the openx vario/altimeter

It is difficult to check SDA and SCL with a voltmeter because they normally do not go low very oftenSo the voltmeter will report +5volt. Still if you can write some C or C++ program, you can write a small arduino program in order to force the AVR CPU setting low/high voltage on PA5 and PA6 in order ...
by mstrens
Mon Jan 27, 2014 7:54 pm
Forum: FrSky Taranis radio
Topic: [Solved] Upgrading S.PORT device firmwares (X8R)
Replies: 17
Views: 4554

Re: Upgrading S.PORT device firmwares (X8R)

I did the update using a standard FTDI 232 basic (used e.g. to load a program into an Arduino) instead of the Frsky device.
So I had no driver to install.
Window 7 64 recognises directly this USB FTDI 232 basic.

Perhaps some one else can help you explaining how he did it.
by mstrens
Mon Jan 27, 2014 6:37 pm
Forum: FrSky Taranis radio
Topic: [Solved] Upgrading S.PORT device firmwares (X8R)
Replies: 17
Views: 4554

Re: Upgrading S.PORT device firmwares (X8R)

I had a similar issue. I noticed that the device (X8R, XJT, ...) accept to upgrade only when it startup. So it is important to wait that the software says finding device before connecting the cable to the SPORT connector on the X8R. There are currently discussions on this topic on RCGroups. You can ...
by mstrens
Wed Jan 22, 2014 9:04 am
Forum: FrSky Taranis radio
Topic: Upgrade of X8R firmware using a FDTI232 basic
Replies: 6
Views: 7832

Re: Upgrade of X8R firmware using a FDTI232 basic

Thanks Kilrah, I tested it and it works. I changed the set up of my FTDI (inverting the TX and RX) using the instructions from this web site: http://diydrones.com/profiles/blogs/frsky-s-cppm-at-27msec-firmware-update-with-ft-prog-and-ftdi-cabl. As said in your post (and on Frsky instructions), I mad...
by mstrens
Tue Jan 21, 2014 9:47 pm
Forum: FrSky Taranis radio
Topic: Vario S-port hi precision - altitude shift
Replies: 3
Views: 686

Re: Vario S-port hi precision - altitude shift

It seems that the high precision vario uses a good barometric sensor but the data read from the sensor are not well filtered. Therefore the vario gives false beeps even if the dead band on Taranis is set to -0.5 +0.5. The 2 issues (steps of 0.5 and no good filtering) could be solved with a minor mod...
by mstrens
Tue Jan 21, 2014 9:28 pm
Forum: FrSky Taranis radio
Topic: Upgrade of X8R firmware using a FDTI232 basic
Replies: 6
Views: 7832

Upgrade of X8R firmware using a FDTI232 basic

I put a question on another forum (RCgroup) but I did not yet got an answer. So I try on this forum hoping that some one can provide a reply. Here the question: A new firmware is available for X8R receiver. Is it possible to upload the new firmware in a X8R using a FTDI232 Basic (the one used to pro...
by mstrens
Tue Jan 21, 2014 9:18 pm
Forum: FrSky Taranis radio
Topic: Vario S-port hi precision - altitude shift
Replies: 3
Views: 686

Re: Vario S-port hi precision - altitude shift

I have similar experience with 2 openXsensors using the same MS5611 barometric component.
This component seems very sensitive to temperature shift.
In theory there is some calibration parameters to compensate temperature but it seems it they are not 100% correct.

Michel
by mstrens
Sat Jan 18, 2014 6:19 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Neil, Yes, I see that both data are very similar. It is OK. But it seems that not all data are well received. At some times, the values in the log do not change during more than 20 x 100msec. This issue occurs e.g at 13:56:35. At this time, it concerns all types of data (GPS, vario alt, vertical spe...
by mstrens
Wed Jan 15, 2014 9:20 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Here the result of some tests/changes I made. I looked if it was possible to improve the already excellent oxs regarding the variometer function. I tried several things: -1) increase the frequency of reading the sensor in order to get faster reaction out of Kalman filter: - 1a) start already the pro...
by mstrens
Wed Jan 15, 2014 7:18 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Neil, Thanks for you data. About the altitude drift, the most logical explanation would be that the atmospheric pressure changes over time. Still I presume that that is not the only reason because the drift is so big with your oxs. I notice 7.5 m after 10 minutes and 13 m after 23 min. I made severa...
by mstrens
Sun Jan 12, 2014 9:37 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Neil, thanks for the test results . I had no time yet to analyse them. I will do it begin of next week. The most important is that you found that it works fine. On my side I got the opportunity to fly yesterday with the oxs in a small glider and quite light wind at slope. I found that the oxs gives ...
by mstrens
Tue Jan 07, 2014 9:09 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Nick, I can't do exactly the same test as you did but I changed the code of an openxvario in order to let him send the folowing set of data (nearly you case 5) : 0x10, 0x10 , 0x02 , 0x80, 0x02, 0x00, 0x00 and a CRC that openxvario calculates. On the Taranis display I get on field VFAS ( =field for d...
by mstrens
Tue Jan 07, 2014 8:44 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Bruneaux, Mike, There is no consensus about a new release (as far I know). I do not know the exact reason of the missing interrupt leading to wrong values returned by micros(). I am not sure that they are related to TWI. I noticed that when I change the code inside the "case TRANSMIT : " (see previo...
by mstrens
Tue Jan 07, 2014 1:06 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Nick, I will make a test sending the same data as your but using Openxsensor, X8R and Taranis (which normally use internally an XJT module) and I will keep you inform. I would like first to be sure that I understand correctly what you are dooing. By example, in case 1 your devise send 3 bytes (0X10 ...
by mstrens
Sat Jan 04, 2014 8:20 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Neil, Here the new version. Changes concern : - Vertical speed is calculated each time a new Altitude is calculated (so around every 18 millisecond) - in order to avoid big changes form vertical speed between 2 calculations, I apply an exponential smoothing. So vertical speed is : 96% X previous ver...
by mstrens
Sat Jan 04, 2014 7:04 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Neil, When I analyse your log file, I see that: - vertical speed is normally positive when Altitude increase (and the opposite). This seems OK. Still the value of vertical speed seems NOT OK compared to the change of altitude per enlapsed time. I would have to check but perhaps you have an setup on ...
by mstrens
Sat Jan 04, 2014 6:21 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Bruneaux,
thanks for the info about TWI interrupts but I don't get issues anymore with the function micros() since I changed the code related to the transmit (in "case TRANSMIT :" ,I do not exit the interrupt anymore before 8 bits are send).

Michel
by mstrens
Thu Jan 02, 2014 10:10 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Neil,
thanks for the data.
I will further look at them but I already see some strange results.

What is you feeling about the sensitivity of the vario? Does it react quickly enough?

Michel
by mstrens
Wed Jan 01, 2014 12:13 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

Neil, Here a zip file with all files for my version of the openxsensor. I made several changes compared to the latest released version on the web site. - this version works only using the SPORT (so with an X8R receiver). - it transmits not only the altitude and the vertical speed. I added the voltag...
by mstrens
Wed Jan 01, 2014 10:35 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

NeilRogers, I had a look at your recorded values from yesterday. It is very strange : If you analyse the values about the altitude, you can see that there are several enlapsed times where the altitude do not change and still during those enlapsed time the values for the vertical speed are changing. ...
by mstrens
Tue Dec 31, 2013 6:58 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 68212

Re: OpenXSensor SPORT Interface

I tried to change the code of CASE (TRANSMIT) with the following in order to avoid an exit of the interrupt as long as the 8 bits are not yet transmitted. while ( SwUartTXBitCount < 8) { if( SwUartTXData & 0x01 ) { // If the LSB of the TX buffer is 1: CLEAR_TX_PIN() ; // Send a logic 1 on the TX_PIN...

Go to advanced search