Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-04 Thread Roberto Inzerillo
My suggestion: get a board from http://www.diolan.com/i2c/u2c12_doc/u2c_spi_config_ss_fun.html Bookmarked, I will read more about those products, but looks to beexpensive, I'm going for a cheaper (more homemade) solution. Suggestion accepted anyway, will think about. and 7-segment driver

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-04 Thread castle
My suggestion: get a board from http://www.diolan.com/i2c/u2c12_doc/u2c_spi_config_ss_fun.html Bookmarked, I will read more about those products, but looks to beexpensive, I'm going for a cheaper (more homemade) solution. Suggestion accepted anyway, will think about. IIRC it was around

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-03 Thread Jon Stockill
On 31/03/11 21:28, Roberto Inzerillo wrote: Hallo everybody, I purchased a few rotary encoder and a bunch of 7segment displays to build a physical replacement of the Bendix KX165. I'm using Arduino which feeds data to FGFS on a serial connection. I'd like to update

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-03 Thread Jon Stockill
On 03/04/11 15:04, Roberto Inzerillo wrote: Good to know Jon, I'll be glad to talk about that with you. I like your hardware approach, getting your hands dirty on a naked ATMega16 should be fun too :-) It's interesting, and results in *much* smaller code than you'd get using the arduino

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-03 Thread castle
I think you're really beating yourself up the hard way. ;-) My suggestion: get a board from http://www.diolan.com/i2c/u2c12_doc/u2c_spi_config_ss_fun.html and 7-segment driver chips from Maxim (7219) with an SPI interface (drives 8 alpha-numeric per chip) or a Maxim 6954 that drives 16

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Torsten Dreyer
Hallo everybody, I purchased a few rotary encoder and a bunch of 7segment displays to build a physical replacement of the Bendix KX165. I'm using Arduino which feeds data to FGFS on a serial connection. I'd like to update instrumentation/comm[0]/frequencies/standby-mhz property using the

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Roberto Inzerillo
Hallo Torsten :-) in the meanwhile I've reviewed what I've done in the past with the Seneca NLG, that NASAL code ... it was fun :-) I think I'll try this approach first. Von: Torsten Dreyer tors...@t3r.de I suggest not to send the raw encoder data to FlightGear but to compute the

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Gene Buckle
Von: Gene Buckle ge...@deltasoft.com I used outbound UDP from FG to send data from the sim to my host interface software and then a telnet based command channel that would be used to set properties. I was not happy with Telnet performance, not even after pumping it's speed up. It has some

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Curtis Olson
On Fri, Apr 1, 2011 at 8:12 AM, Gene Buckle ge...@deltasoft.com wrote: What could you possibly be sending via telnet that would require performance? Seriously, the _only_ time you should be sending data TO the simulator is if a control state changed. I seriously doubt it's physically

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Gene Buckle
On Fri, 1 Apr 2011, Curtis Olson wrote: On Fri, Apr 1, 2011 at 8:12 AM, Gene Buckle ge...@deltasoft.com wrote: What could you possibly be sending via telnet that would require performance? Seriously, the _only_ time you should be sending data TO the simulator is if a control state changed.

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Arnt Karlsen
On Fri, 1 Apr 2011 06:29:52 -0700 (PDT), Gene wrote in message alpine.lfd.2.00.1104010622240.22...@grumble.deltasoft.com: On Fri, 1 Apr 2011, Curtis Olson wrote: On Fri, Apr 1, 2011 at 8:12 AM, Gene Buckle ge...@deltasoft.com wrote: What could you possibly be sending via telnet that

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Roberto Inzerillo
What could you possibly be sending via telnet that would require performance? Seriously, the _only_ time you should be sending data TO the simulator is if a control state changed. I seriously doubt it's physically possible for you to fiddle with enough switches knobs simultaneously to

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Gene Buckle
On Fri, 1 Apr 2011, Roberto Inzerillo wrote: What could you possibly be sending via telnet that would require performance? Seriously, the _only_ time you should be sending data TO the simulator is if a control state changed. I seriously doubt it's physically possible for you to fiddle with

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Melchior FRANZ
* Gene Buckle -- Friday 01 April 2011: Using something like Leo Bodnar's joystick interface would be a good start. I think it does work with Linux MacOS as well as Windows. It does on Linux. The BU0836* expert for Linux is even a former FlightGear developer:

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Roberto Inzerillo
Actually ... there is, I kinda like the idea of building my own hardware Yoke and Pedals, and not use any plastic toy at all. You know, just for fun, no need, out of curiosity :-) Oh sure, I completely understand that! What I was saying though is that you're going to be much better off

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Gene Buckle
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

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Gene Buckle
On Fri, 1 Apr 2011, Melchior FRANZ wrote: * Gene Buckle -- Friday 01 April 2011: Using something like Leo Bodnar's joystick interface would be a good start. I think it does work with Linux MacOS as well as Windows. It does on Linux. The BU0836* expert for Linux is even a former FlightGear

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Gene Buckle
On Fri, 1 Apr 2011, Roberto Inzerillo wrote: But I really like to make my own hack with FGFS ... I never really got into ICs, C++ programming and PICs before. I'm learning a lot using Arduino as middleware, it pulls down the learning curve and makes people like me more confortable with the

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Arnt Karlsen
On Fri, 1 Apr 2011 12:24:11 -0700 (PDT), Gene wrote in message alpine.lfd.2.00.1104011222580.1...@grumble.deltasoft.com: On Fri, 1 Apr 2011, Roberto Inzerillo wrote: But I really like to make my own hack with FGFS ... I never really got into ICs, C++ programming and PICs before. I'm

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Roberto Inzerillo
http://ppjoy.blogspot.com/ Is this PPjoy you're talking about? That's exactly it! ..it's at http://ppjoy.bossstation.dnsalias.org/ , Actually that's a very old web page, the author of PPjoy later on used his blog instead ... which is not very up to date anyway, latest test released were

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-04-01 Thread Gene Buckle
On Sat, 2 Apr 2011, Roberto Inzerillo wrote: http://ppjoy.blogspot.com/ Is this PPjoy you're talking about? That's exactly it! ..it's at http://ppjoy.bossstation.dnsalias.org/ , Actually that's a very old web page, the author of PPjoy later on used his blog instead ... which is not very

[Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-03-31 Thread Roberto Inzerillo
Hallo everybody, I purchased a few rotary encoder and a bunch of 7segment displays to build a physical replacement of the Bendix KX165. I'm using Arduino which feeds data to FGFS on a serial connection. I'd like to update instrumentation/comm[0]/frequencies/standby-mhz property using the

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-03-31 Thread Curtis Olson
I don't know if this is the best approach or not, but when I tackled this task for the ATC Flight Simulator interface (FAA certified flight sim based on FlightGear) I dug in and wrote some C++ code. I created a structure where I could load an xml file that associated the raw physical hardware

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-03-31 Thread Gene Buckle
On Thu, 31 Mar 2011, Roberto Inzerillo wrote: Hallo everybody, I purchased a few rotary encoder and a bunch of 7segment displays to build a physical replacement of the Bendix KX165. I'm using Arduino which feeds data to FGFS on a serial connection. I'd like to update

Re: [Flightgear-devel] KX165 - serially feeding data to increment a property value. How?

2011-03-31 Thread Gene Buckle
Here's the protocol file I was using - this basically sets up FG to pump this data out via UDP at whatever update rate you want. I used outbound UDP from FG to send data from the sim to my host interface software and then a telnet based command channel that would be used to set properties.