Board index FlightGear Development

Arduino LCD and FlightGear

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

Arduino LCD and FlightGear

Postby falafel » Mon Feb 21, 2011 10:09 pm

I just uploaded new code to display FlightGear data in arduino LCD.
Currently displaying Speed, Heading and Altitude.

Image

you can download the code at:

http://gitorious.org/arduinocockpit/arduinocockpit

and watch a video at:

falafel
 
Posts: 72
Joined: Mon Nov 09, 2009 10:42 am
Callsign: falafel
Version: 2
OS: Linux

Re: Arduino LCD and FlightGear

Postby brisa » Tue Feb 22, 2011 9:25 am

wow that looks very nice !

but just a question, where did you buy the LCD + keyboard ? how much is it ?
good job ! :D
User avatar
brisa
 
Posts: 269
Joined: Fri May 16, 2008 7:32 pm
Location: Olgiate Comasco (CO) Italy
Callsign: brisa

Re: Arduino LCD and FlightGear

Postby falafel » Tue Feb 22, 2011 6:44 pm

It is an arduino board and a "DFrobot LCD keypad shield" I got from a local vendor. I think that you can order the same stuff from adafruit online.
falafel
 
Posts: 72
Joined: Mon Nov 09, 2009 10:42 am
Callsign: falafel
Version: 2
OS: Linux

Re: Arduino LCD and FlightGear

Postby falafel » Tue Feb 22, 2011 9:15 pm

Hi there,
Here goes another implementation. This time is sending events to Flightgear.
Great if you are planning on building your own rudders.
Image

code at http://gitorious.org/arduinocockpit

falafel
 
Posts: 72
Joined: Mon Nov 09, 2009 10:42 am
Callsign: falafel
Version: 2
OS: Linux

Re: Arduino LCD and FlightGear

Postby falafel » Thu Feb 24, 2011 1:10 am

LCD + Servo

Image



falafel
 
Posts: 72
Joined: Mon Nov 09, 2009 10:42 am
Callsign: falafel
Version: 2
OS: Linux

Re: Arduino LCD and FlightGear

Postby MAKG » Thu Feb 24, 2011 4:40 pm

Just a thought -- what is really needed along these lines is not avionics which can be made by graphics. But rather, force-feedback controls. Quite a lot of VFR flying is feeling what the control forces do. When pushing out of trim, it takes a lot more muscle than you might think. When you hit a wind gust, you FEEL it in the yoke as much as by the plane moving. It takes some real effort to roll steeply, especially at 100 knots.

At least in the c152 I tried it in yesterday.
MAKG
 
Posts: 1156
Joined: Sun Oct 19, 2008 6:11 pm
Location: California Central Coast

Re: Arduino LCD and FlightGear

Postby falafel » Thu Feb 24, 2011 8:12 pm

Hi MAKG,
It depends on your goal.
There are people interested in building their own hardware cockpit instead of using keyboard and mouse.
falafel
 
Posts: 72
Joined: Mon Nov 09, 2009 10:42 am
Callsign: falafel
Version: 2
OS: Linux

Re: Arduino LCD and FlightGear

Postby MAKG » Thu Feb 24, 2011 11:46 pm

Oh, keyboard and mouse aren't at all realistic. But you aren't making inputs. You're making outputs. And many aircraft already have computer generated outputs (I've even seen an LCD artificial horizon that looks a lot like what you made). The main drawback for those is that the field of view on the FG screen is much too narrow. But there are other ways around that -- for instance an old-style VR display with a head tracker.

There is much room for making realistic inputs with an arduino, though I'd expect finding sturdy enough servos to make rudder pedals will be expensive enough to make those $150 Saitek rudder pedals look attractive.

If you've ever seen a G1000 in real life, it looks just like two flat panel computer displays bolted onto the control panel.
MAKG
 
Posts: 1156
Joined: Sun Oct 19, 2008 6:11 pm
Location: California Central Coast

Re: Arduino LCD and FlightGear

Postby falafel » Fri Feb 25, 2011 7:34 am

MAKG,
In this post there are pictures and link to a POC arduino set with inputs
switches for flaps, hud, airbrake, ... and a potentiometer to play as rudder.

I also find it very useful to use the output when flying airplanes that do not have a cockpit, like T-50 and F-15.

The main thing is to understand that what I did here is a teaser.
I am happy that you have another needs and I hope that will encourage you and others to help us develop a large range of solutions.

Cheers.
falafel
 
Posts: 72
Joined: Mon Nov 09, 2009 10:42 am
Callsign: falafel
Version: 2
OS: Linux


Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest