Search found 1435 matches

by mstrens
Sat Feb 15, 2014 11:46 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Mike, I am currently integrating as much as possible your version and mine (but not Hub protocol). I try to integrate your changes about hardwareSerial (calling it only for debug). All files have an instruction #include "oxs_config.h". In config.h you added a #define DEBUG. If activated, ...
by mstrens
Sat Feb 15, 2014 10:46 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Mike, I am currently integrating as much as possible your version and mine (but not Hub protocol). I try to integrate your changes about hardwareSerial (calling it only for debug). All files have an instruction #include "oxs_config.h". In config.h you added a #define DEBUG. If activated, i...
by mstrens
Fri Feb 14, 2014 9:12 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Well, well. I saw in the oxs_config.h an offset_1 of 76 and mVoltPerStep_1 of 6.4420 This is why I have that strange values. Set to 0 and 1 result in the following taranis-values: 0 - 1023 Better ;) Edit: VCC = 4.94 --> 494 / 1024 = 0.4824. This as mVoltPerStep brings a perfect match in Taranis. I ...
by mstrens
Fri Feb 14, 2014 8:03 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

I've just committed all the changes I have. I believe it is all working, but I can't test all possible combinations. Changes: Byte stuffing on the SPort interface added. Custom versions of millis(), micros(), init(), delay() and delayMicroseconds() without interrupts. RPM, input MUST be on IO8 (ICR...
by mstrens
Fri Feb 14, 2014 5:03 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 308146

Re: Introduction to the openx vario/altimeter

@Mstrens Been a while since I've flown but the vario sounds on this are ok http://www.youtube.com/watch?v=0aFWjv3ymPo I probably just need to play with the settings for my taranis. What do you recommend for the 4 values for deadband, etc? Thanks for the video. In the mean time I had a look to sever...
by mstrens
Fri Feb 14, 2014 4:30 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 308146

Re: Introduction to the openx vario/altimeter

I'm just thinking about the writing to EEPROM every 10 seconds option. The EEPROM has a write cycle life of 100,000. If you write every 10 seconds, you will reach this total after 1,000,000 seconds. This 1,000,000 / 3600 hours = 278 hours or 11.6 days. So if you leave it running for 11.6 days, you ...
by mstrens
Fri Feb 14, 2014 11:12 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Thanks, got it too. I guess you use somewhere "analogReference(INTERNAL)". Probably, I can play with other Types of analogReference and see what happens. So there remain two solutions. I reduce the A0-Input for all sensor to max 1.1V (with an external divider) or I use AREF and connect it...
by mstrens
Fri Feb 14, 2014 10:49 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Couldn't you guys use the googlecode repo or some other source control/collaborative tool? I've been trying to follow a bit, but to be fair ZIPs and RARs going back and forth in different forum threads is a bit of a nightmare to keep track of... Kilrah, sure it could but currently I do'nt have acce...
by mstrens
Fri Feb 14, 2014 10:22 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Thanks for help. My setup with the poti is like this here: http://arduino.cc/en/Tutorial/AnalogInput I expect reading correct values if useing analogRead() . Unfortunatly, I cannot read your code from above, because .rar is blocked at work. Don't you use this function? If yes, the 5V should give a ...
by mstrens
Fri Feb 14, 2014 9:36 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Nique, I am using a clone of pro mini to. I think that arduino accept on analog port a voltage up to VCC (so here 5v). The Analog digital converter (ADC) can measure a voltage in 1024 steps of a voltage on AREF. Even if there is a pin AREF on the AVR chip, you can't get access to this pin on the per...
by mstrens
Fri Feb 14, 2014 8:32 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Did you mean the MAX14920 ? Damn, that looks easy but needs a lot of additional components for 12S... I was thinking about MAX11068 but I did not look in detail. http://para.maximintegrated.com/results.mvp?fam=batt_stat&295=Status%20Monitor If you do not want to transit the voltage of each cell...
by mstrens
Fri Feb 14, 2014 8:23 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Got the Code from Michel (today 12:31) on my Mini. Without any error. My first Bench-Setup is a Resistor an A0 and an lm35 (temp-sensor) on A1. I set "PIN_Voltage1 0" and "PIN_Voltage2 1". Is that correct? And as I understud, S.Port goes to Digital Pin 4. (Michel, can you tell m...
by mstrens
Thu Feb 13, 2014 6:39 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

I'm being pick up for slope in 5mins, but I managed to compile with sensitivity and Vspd it is just altitude that causes the compile error. I think there may be an issue there, I look when I get a chance, still the vspd is the many interest Neil, If config contains this: #define SETUP_DATA_TO_SEND ...
by mstrens
Thu Feb 13, 2014 5:21 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

If you use the hardware serial it does include two interrupts. These will probably upset the SPort timing. I've just done some changes so that if DEBUG is off, the hardware serial code is no longer included. I presume that this change is small. If you say me how you did (or send a copy of the file ...
by mstrens
Thu Feb 13, 2014 5:15 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

do you really have a mixed rx-setup? I completle run the hangar with x8r. I have a mix (2 X D4 and 4X X8R). I think many people have a mix. For sure it is possible to build several OXS but it would be easier if one OXS can fit directly in both. Any other important thing to me. It should be "ou...
by mstrens
Thu Feb 13, 2014 12:21 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Neil, The version I put in previous mail compiled fine on my side. The first error reported shows that the error in the config file where you define which fields are transmitted. In file included from Aserial.cpp:18: oxs_config.h:197: error: expected unqualified-id before numeric constant I suspect ...
by mstrens
Thu Feb 13, 2014 11:31 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Neil, Thanks. Here the latest version I have. It integrates the changes done by Mike and it allows sending several voltages in the cells fields. You can test it. Take care to adapt the config file because it is probably not you want. Adding the sensitivy could perhaps helps finding what is blocking....
by mstrens
Tue Feb 11, 2014 9:57 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Mike, One improvement for openxsensor that makes sense could be to offer the following: In the config user add 3 options - only Hub protocol (he select this if has only one D serie receivers) - only SPORT protocol (he select this if has only one X serie receivers) - both (in this case the user add a...
by mstrens
Tue Feb 11, 2014 7:42 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Mike,
Thanks,
I did not know about C (total number of cells); I will add it.
I think that YYY and XXX are cell voltages in millivolt divided by 2 (otherwise it can't go above 4095 mv what is not enough for a Lipo cell).
I get correct voltage on taranis when I do so.
Michel
by mstrens
Tue Feb 11, 2014 6:09 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

I thinking about storing the interface and sensor options in th EEPROM. Then we could have just a single firmware that you configure to suit your specific application. Maybe even allow for the configuration to be done over the serial port (more work though). Individual cell voltages would, perhaps,...
by mstrens
Tue Feb 11, 2014 5:09 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Yesterday, Mike used the Rainer code. Yesterday, based on the improvements Mike did around interrupts , I changed my version to incorporate the Mike improvements (so not RPM). On the other side I continued this morning to improve my version. It was already foressen to measure and transmit up to 6 vo...
by mstrens
Mon Feb 10, 2014 9:06 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Optional data in the oxs telemetry fields
Replies: 40
Views: 20422

Re: Optional data in the oxs telemetry fields

Great - it worked first go. I now have everything I was hoping for. A three position switch on Tx for the vario - off/speak height/vario, and a second switch that speaks the battery voltage. A friend and I have now flown our powered gliders probably 20 times with the openxsensor S/W and its perform...
by mstrens
Mon Feb 10, 2014 8:45 pm
Forum: General help (FrSky Taranis radio)
Topic: XR8 rx telemetary sensors
Replies: 296
Views: 176785

Re: XR8 rx telemetary sensors

I reported that I had an issue with openxsensor sending A2 with a X8R after upgrading with the latest firmware from Frskry (the one saying that it improve voltage precision). It was probably a wrong statement. I made a new test to day and the A2 field sent by openxsensor is correctly displayed on ta...
by mstrens
Mon Feb 10, 2014 7:36 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Mike, Neil,
FYI I uploaded my version which integrates all changes done by Mike (I2C, delay, micros, ...) and it seems OK.
It runs for 20 min (on the table) without blocking.
I logged the data and I did not see abnormal stops in the log data.
by mstrens
Mon Feb 10, 2014 6:08 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Neil, I expect that the size of Mike version is less than 30720 because this is the max size. When I compile this version with 1.0.5 I get 18484 (but I am not sure that I did not change the config in the Mike file). Anyway, I integrated all the changes from Mike in my version and it compile good. I ...
by mstrens
Mon Feb 10, 2014 5:42 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Mike, I think that I understand how IDE works. The Arduino wiring.c file is compiled if the project uses at least one function defined in this file and that this function is not redefined into the project. If the wiring.c file is compiled because (it is needed for one function), all functions inside...
by mstrens
Mon Feb 10, 2014 4:28 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

I've just tested this, seems to work: openxsensor.zip Only 5 interrupt vectors now exist: 1 INT0 - used for PPM measurement, set to NOBLOCK 5 PCINT2 - used to detect SPort input 11 Timer 1 COMPA - used in SPort code 18 & 19 - USART, only used whe debugging. Mike. Thanks for the code. I can comp...
by mstrens
Mon Feb 10, 2014 3:21 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

Mike, when I only add your code at the end of Aserial.cpp, I get compilation errors because some functions (millis(), micros(), delays(), init()) are duplicated. I am using Arduino IDE 1.0.5 . I have 2 questions: - Is there an easy way to avoid those compilation errors without removing the "wir...
by mstrens
Mon Feb 10, 2014 2:15 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

This is the code I added at the end of Aserial.cpp void init() { // Timer1 TIMSK1 &= ~( 1<< OCIE1A ) ; TCCR1A = 0x00 ; //Init. TCCR1B = 0xC1 ; // I/p noise cancel, rising edge, Clock/1 #if defined(ADCSRA) // set a2d prescale factor to 128 // 16 MHz / 128 = 125 KHz, inside the desired 50-200 KHz...
by mstrens
Mon Feb 10, 2014 1:44 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor SPORT Interface
Replies: 522
Views: 232732

Re: OpenXSensor SPORT Interface

So, openXsensor doesn't support the D series receivers anymore? :o Also it's home was in google code. Is it moving? Sent from my GT-I9195 using Tapatalk The code you find on google has not been modified since several weeks. This code did not work for X serie receiver but Mike worked on it and he pu...

Go to advanced search