oXs as a styabilizer

Development & General Chat for the superb openxvario project.

Moderator: rainer

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

oXs as a styabilizer

Post by jhsa » Mon Mar 02, 2015 4:09 pm

Hi guys, just reading other threads about people having trouble to configure some stabilizer boards for the aircraft. Some only control one aileron, some need a servo reverser on some servos.. I think it is a pain.. My question is, Would it be possible to also do it with the oXs?
Maybe using a sensor like this one?

http://www.ebay.com/itm/MPU-6050-Module ... 4189b86158

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


User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: oXs as a styabilizer

Post by KAL » Mon Mar 02, 2015 4:35 pm

Do you know Open Flight Stabilizer?

Once created for the Orange Stabilizers but meanwhile ported to a few other boards.
Can be configured by stick input or by hacked programming box for Turnigy ESCs
Only down point: It supports only gyros, no acceleration sensors. So no auto leveling...

Maybe it can be ported (at least parts of it) ?

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

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

Re: oXs as a styabilizer

Post by jhsa » Mon Mar 02, 2015 4:53 pm

That's the idea, a DIY unit we can build. not just buy the hardware. If it could be part of the oXs possibilities would be wonderful. A platform that you can cofigure to do whatever you need. sensors, lights, vario. Of course there are pins limitation, so maybe not all at the same time ;) but there are also i2c configurable pin extenders :-)

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

User avatar
kalle123
Posts: 718
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: oXs as a styabilizer

Post by kalle123 » Mon Mar 02, 2015 5:04 pm

Multiwii stabilizer (pro mini + mpu6050) for flying wing ...

3 modes - pass through - gyro - acc
Bildschirmfoto38.jpeg
mw.jpg

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

Re: oXs as a styabilizer

Post by jhsa » Mon Mar 02, 2015 5:08 pm

Ok, that's for flying wing.. and for the other airplane types? also supports them?
As I said, if we could select in oXs what we wanted it to do, it would be great ;) why having 2 arduinos for stab, vario and voltage for example, if you could have only one that does it all? :D
That is the point, I'm not looking for other projects. My idea is to use the oXs.. I would do it if I could code.. So my hope is that the developers like the idea.. I think it is an excellent and useful idea.

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


User avatar
kalle123
Posts: 718
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: oXs as a styabilizer

Post by kalle123 » Mon Mar 02, 2015 5:23 pm

jhsa wrote:Ok, that's for flying wing.. and for the other airplane types?
Hi João.

Especially for you. :mrgreen:

Airplane ... aileron, elevator and rudder
Bildschirmfoto39.jpeg
Airplane.jpeg

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

Re: oXs as a styabilizer

Post by jhsa » Mon Mar 02, 2015 6:04 pm

I think you are missing the point, if oXs could do it we wouldn't need 2 arduinos in the plane, right? Can that also make vario and voltage and current, or even RPM?


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

User avatar
kalle123
Posts: 718
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: oXs as a styabilizer

Post by kalle123 » Mon Mar 02, 2015 7:00 pm

I personally think, you are overdoing it.

Flight stabilization is one thing and oXs the other ...

What is next on your wishlist? Flying autonomous with adding baro, mag and gps? Stuffed into oXs? Please NO!!

I personally am totally happy the way oXs is doing as a sensor device and not, as we say here in Germany, as a "Eierlegende Wollmilchsau" :lol:


br KH

User avatar
Kilrah
Posts: 9832
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: oXs as a styabilizer

Post by Kilrah » Mon Mar 02, 2015 7:18 pm

You will need 2 arduinos anyway because one won't have enough memory nor power to combine all functions. Stabilization is a lot more demanding than simple telemetry.

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

Re: oXs as a styabilizer

Post by jhsa » Mon Mar 02, 2015 10:22 pm

kalle123 wrote:I personally think, you are overdoing it.

Flight stabilization is one thing and oXs the other ...
What about light controller? because it is what it does now as well.Added recently :)
What is next on your wishlist? Flying autonomous with adding baro, mag and gps? Stuffed into oXs? Please NO!!
You have no idea what is on my list next.. Surprise.. I think many will like it ;)
But don't worry, I don't like the so called drones, so no, I wouldn't request autonomous flight.. Hmmm, one moment, baro and GPS are already supported by oXs, right?? ;)

Anyway, the stab was just an idea, as it was the LED controller that it was implemented recently.. The idea is not even for me because I fortunately don't need that kind of help to fly my models. Just thought it could help some people and make the oXs even more versatile. For me it is the same as I won't use it. The idea is here, and it is up to the developer(s) to do it or not..
It's not the first time my ideas were classed as crazy and impossible to be implemented by some.. But some are there, and being used.. :mrgreen:

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

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

Re: oXs as a styabilizer

Post by jhsa » Mon Mar 02, 2015 10:31 pm

Kilrah wrote:You will need 2 arduinos anyway because one won't have enough memory nor power to combine all functions. Stabilization is a lot more demanding than simple telemetry.
I didn't say you would be able to use ALL functions at the same time.. I know the arduino has limitations.. But if the multiwii has support for many types of aircraft, plus camera gimbals, etc, I guess The oXs, using the same platform, could probably also do a aircraft stabilization system, and also some telemetry. The options that aren't used are not compiled, right??

We all know one person that is known for doing miracles shrinking code.

As I said before, it is just an idea like many others.. :)

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

mstrens
Posts: 1225
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: oXs as a styabilizer

Post by mstrens » Tue Mar 03, 2015 8:57 am

FYI, currently oXs supports many sensors but not a GPS.
There is already another project that allows to connect a GPS to an arduino pro mini and let the data being sent over sport protocol.
If you want to build a GPS, the easier is to use this project.

There are also several open source solutions for flight controler. The easiest is to use them.

oXs has grow quite a lot the last year (several baro, airspeed sensor, ...) and I think that it is even not possible to activate simultanously all existing functionalities when debug mode is active (lack of memory).
Furthermore, handling of SPORT interface is quite time critical because the UART is supported by software because the hardware UART does not support inverted signal).

In order to get more power, it would be possible to replace the arduino pro mini by another board e.g. based on a stm32 MCU. Still currently I do not know about a board that is as cheap and as small as the arduino pro mini. Futhermore for the arduino is easily available (e.g. ebay) and have a free IDE that (nearly) every body can use.

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

Re: oXs as a styabilizer

Post by jhsa » Tue Mar 03, 2015 10:34 am

Now, that is a good answer, thank you, even if having similar projects available is not a good point. There are a lot of light controller projects around too ;) And I do find a stabilizer much more useful than lights, But that is my logic. You are the developer and I, of course respect your decision. I will go and cry in the corner :mrgreen: Not a big deal for me as I know how to fly a model. And real airceraft.. ;)

On qnother subject, a while ago I did ask if someone could please write a little article about the oXs so we could include it on the er9x manual. Well no one did unfortunately :( so I hope the little one we wrote is accurate and appropriate.
Thank you for your help..

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

hillflyer
Posts: 4
Joined: Sat Jul 02, 2016 7:36 pm
Country: Germany

Re: oXs as a styabilizer

Post by hillflyer » Sat Jul 02, 2016 8:05 pm

Hello kalle123,
I have a flying wing (Puma from Robert Schweissgut)
and I would like to experiment with a flight stabilizer for it.
Do you have a bit more information on your Multiwii project?
Schematic, Arduino code...
That would be really nice.
Greetings,
Hillflyer

User avatar
kalle123
Posts: 718
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: oXs as a styabilizer

Post by kalle123 » Sun Jul 03, 2016 8:11 am

Hi Hillflyer.
Had a Pixel (RIP) and have a Simply and a Chinook II here .... ;)

That is NOT my project, just build it for experimenting with it.
Hardware is a promini + MPU-6050 (Yellow arrow on top is flight direction...)
Bildschirmfoto8.jpeg
Using 4 signals from a rx. THR, AIL, ELE and Channel 5 for settings (passtru, angle mode - look on mw pages for explanation!)
THR is directly connected to bl control (NOT over mw!)
AIL and ELE signal from rx go to pin 4 and 5 and channel 5 from rx to pin 7
Pin 11 and 12 supply signal to servos.
Bildschirmfoto9.jpeg
#1 Input of AIL + ELE
#2 Input channel 5 and (here) 5V from battery.
#3 Output to servos of AIL + ELE
#4 connecting to uart to send data to mw gui.

Here is my config.h for that application
config.h.zip
(20.96 KiB) Downloaded 36 times
rest is standard mw 2.4
For testing functions, I used this here .....
Bildschirmfoto10.jpeg
Hope, this helps a bit.
And, as this has nothing to do with oXs, for further questions please contact me by pm.

br KH

hillflyer
Posts: 4
Joined: Sat Jul 02, 2016 7:36 pm
Country: Germany

Re: oXs as a styabilizer

Post by hillflyer » Sun Jul 03, 2016 8:37 pm

Thank you, this is very helpful stuff to get me started!
Once I get a prototype together,I will PM you if i have more questions.
Hillflyer

User avatar
kalle123
Posts: 718
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: oXs as a styabilizer

Post by kalle123 » Mon Jul 04, 2016 6:16 am

hillflyer wrote:Thank you, this is very helpful stuff to get me started!
Once I get a prototype together,I will PM you if i have more questions.
Hillflyer
You are welcome ... :)

br


Post Reply

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