openXvario development

Development & General Chat for the superb openxvario project.

Moderator: rainer

rdeanchurch
Posts: 750
Joined: Tue Dec 27, 2011 11:22 pm
Country: United States
Location: Carson City, Nv

Re: openXvario development

Post by rdeanchurch »

Anyone know of a 50amp sensor?
JHSA please keep us posted on your 100amp progress.
Also do you have a link to it or at least a make and model?

I've ordered the sensor for the vario and arduino bds.
So if there is a link to a reasonable price and availability of the programmer, I'ld appreciate a link.
Us or cheap shipping from ??? Preferred.

Would this one work without jumping through hoops?
http://www.adafruit.com/products/284
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: openXvario development

Post by jhsa »

It looks like it would work..

About the sensors:
I got my sensors from ebay and I'm waiting for 2 more that were shipped one month ago.. bought from the same seller. I hope they will arrive.... soon.

These are the sensors I bought.. as I said I'm still waiting for 2 of them to arrive..

http://www.ebay.de/itm/280976766690?ssP ... 1439.l2649
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
rdeanchurch
Posts: 750
Joined: Tue Dec 27, 2011 11:22 pm
Country: United States
Location: Carson City, Nv

Re: openXvario development

Post by rdeanchurch »

Thanks you JHSA. Please post your results when you get them.
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
User avatar
rainer
Posts: 391
Joined: Tue Jan 01, 2013 9:20 pm
Country: Germany
Location: near Düsseldorf

Re: openXvario development

Post by rainer »

rdeanchurch wrote:So if there is a link to a reasonable price and availability of the programmer, I'ld appreciate a link.
Us or cheap shipping from ??? Preferred.

Would this one work without jumping through hoops?
http://www.adafruit.com/products/284
No That one won't work here.. you need one that uses the DTR signal. This one uses the RTS Signal instead.

Here is an example of a programmer that should work fine (andhas the possibility to install male+female headers which is nice as well)
http://www.ebay.com/itm/FTDI-Basic-Brea ... 27c708c8e3
rainer.
build your own vario ==> https://github.com/openXsensor/openXsensor/wiki (Formerly https://code.google.com/p/openxsensor/ and https://code.google.com/p/openxvario/)
rdeanchurch
Posts: 750
Joined: Tue Dec 27, 2011 11:22 pm
Country: United States
Location: Carson City, Nv

Re: openXvario development

Post by rdeanchurch »

Well both are on there way now.

Thanks rainer
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: openXvario development

Post by jhsa »

I do apologise, didn't see that little difference between them.. :(

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
rdeanchurch
Posts: 750
Joined: Tue Dec 27, 2011 11:22 pm
Country: United States
Location: Carson City, Nv

Re: openXvario development

Post by rdeanchurch »

No sweat, I've made much bigger mistakes...think 9xr. :oops: :geek:
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
User avatar
maccross
Posts: 11
Joined: Sat Jun 08, 2013 4:37 am
Country: -

Re: openXvario development

Post by maccross »

Excuse me if I'm posting in the wrong place.
I'm trying to built an openXvario to be used with a FrSky FLD-02 and a Arduino Pro mini to take care of the beeps (no 9X Tx).
So far I have the airborne parts over the bench ( Arduino Pro mini + MS5611), it is working (or at least part of it).
I'm not using the PPM signal at all to adjust the Kalman parameters but if I do this:

Code: Select all

97  // #define PIN_PPM 2              // default: 2 the pin to read the PPM Signal on coming from the receiver.           
                               // you can uncomment this line if you want to completly disable the remote control functionality
I get this:
Error compilling
Variometro2.cpp.o: In function `CheckPPMProgMode()':
... .... Variometro2.cpp:654: undefined reference to `ReadPPM()'

Am I missing something?
Thks
MacCross
User avatar
rainer
Posts: 391
Joined: Tue Jan 01, 2013 9:20 pm
Country: Germany
Location: near Düsseldorf

Re: openXvario development

Post by rainer »

Hi MacCross!
Welcome on Board!
If you want to use the oXv without openTx, the best method would be to start with the openXsensor code(still in development) and create a new version of the output module.
you can then use oxs_msfrsky.cpp+.h as the template for the output module.
But the whole openXsensor ist still work in progress. i can submitt a newer version which is closer to release if you want to base it on the branch.

on which file did you base the VarioMetro2.cpp file?
rainer.
build your own vario ==> https://github.com/openXsensor/openXsensor/wiki (Formerly https://code.google.com/p/openxsensor/ and https://code.google.com/p/openxvario/)
User avatar
maccross
Posts: 11
Joined: Sat Jun 08, 2013 4:37 am
Country: -

Re: openXvario development

Post by maccross »

Hi rainer

Thanks for the quick response.
Shall have a deep look at the oXv.

Found a work arround:

choose this:

Code: Select all

10  #define PPM_AllwaysUsed  // PPM Signal always be used to control the sensitivity
                           // Choose this if you want to use a dedicated channel just for 
                           // adjusting the sensitivity
Cheers
User avatar
maccross
Posts: 11
Joined: Sat Jun 08, 2013 4:37 am
Country: -

Re: openXvario development

Post by maccross »

Success !

At least 80% success.

The MS5611 is talking to the FrSky 2 way receiver, the FLD02 is showing the altitude ( in meters, no cm), is also showing the vario rate in centimeters in field T2 (limited to -20, to +999, because... FrSky did so, yet to discover why), and the arduino beeper is beeping announcing sink rate with decreasing tones at 600ms intervals and intermittent beeps (150ms silence) increasing pitch.

Would like to have more steady MS5611 readings but I think I reached the limit using Kalman Q @ .02 and Kalman R @ 1000 , this seems to give a delay of almost 5 seconds.

Thanks rainer! Great work!

Image

Image

Image

Image
Last edited by maccross on Sat Jun 15, 2013 7:55 pm, edited 2 times in total.
User avatar
rainer
Posts: 391
Joined: Tue Jan 01, 2013 9:20 pm
Country: Germany
Location: near Düsseldorf

Re: openXvario development

Post by rainer »

Good job!
Nice to see it working with the FLD-02 display. I wanted to test that for a while, but never had the time to actually do it, good to see its working.
i would recomend of living with some noise. When flying i like it better to have a speedy and reactive climb rate output. 5s in the air is a long time and you probably left the rising air before it would actually trigger.
Rainer.
build your own vario ==> https://github.com/openXsensor/openXsensor/wiki (Formerly https://code.google.com/p/openxsensor/ and https://code.google.com/p/openxvario/)

Post Reply

Return to “OpenXVario - an open source vario supported by the open source firmwares!!”