On Sat, 2 Apr 2011, Harry Campigli wrote:

> Robertto,
>
> Another way is to drop a Microchip Pic in your com box, if you use one of
> the smaller 18f 40 pin versions you have heaps of analog and bidirectional
> digital io pins, and  construction wise you only need add an xtal and an
> rs232 or Ethernet chip to the Pic. Power it with 5v from your pc supply if
> you like. Easy to breadbord with off the shelf matrix board and wire wrap
> wire.
>
> You can code it in C and knock up (clone) a custom io routine to compile
> into FG which reads and writes direct to the property tree and  talk to it
> on serial or network.
>
> I run my sim hardware which is all genuine gutted radios and Boeing panels
> etc with pics in this way.
>
> You are welcome to my source code for the FG IO and the pics. You will need
> to complie FG, and the pic xcompiler is windows based not linux but seems to
> run ok in an emulator ok.
>

Harry, the big advantage with the Arduino platform is ease of programming. 
You don't need any special hardware to program the ATMega328 as it's got a 
protected bootloader on it that allows you to download the sketches 
(that's what Arduino programs are called) right to the board over a serial 
cable.  That and Arduino Shields can really expand on what you can do. 
>From 64 channel digital I/O Shields (the Centipede Shield) to an Ethernet 
Shield with a TCP/IP stack on it.

g.


-- 
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.simpits.org/geneb - The Me-109F/X Project

ScarletDME - The red hot Data Management Environment
A Multi-Value database for the masses, not the classes.
http://www.scarletdme.org - Get it _today_!

Political correctness is a doctrine, fostered by a delusional, illogical
minority, and rabidly promoted by an unscrupulous mainstream media, which
holds forth the proposition that it is entirely possible to pick up a turd
by the clean end.

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to