Board index FlightGear Support Interfacing

FGFS Interface

Connecting two computers, using generic protocol, connecting with Matlab?

FGFS Interface

Postby daweed » Sun Jun 19, 2016 10:06 pm

FGFS Interface Beta Version 1.0 Overview

64 input
256 output
Based on Rasberry pi 3 B+ (Quad Core ARM 7 + 1 Gb RAM)

Software written in python
Working with class system (A virtual switch is created working on a device (hadware interface) connected to a property in the fg tree, acting on the real switch will modify the virtual switch state that can be easily sent to FG)
Generic protocol communication media
RJ45 Lan interface

Hardware interfaces are based on I2C MCP23017 driver for input and I2C HT16K33 driver for output

In progress
- Power & input / ouput connectors
- Stackable system

Full view
Image

RPI2

Output board (x2) based on I2C HT16K33 driver

Input board (x2) based on I2C MCP23017 i/O driver

Power in dev mode

RJ45 on the faceplate

I ll release documentation technical drawings & pcb plans when all will tested and ok, this the first one, i already saw some details i need to correct. I am building a blog where all will be available

this is the first prototype, and i think system can be stackable throught the RPI I/O port
Daweed

Edit 2018/10/25 : Pictures will be re upload soon
Last edited by daweed on Mon Feb 24, 2020 1:54 pm, edited 5 times in total.
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: FGFS Interface

Postby rustemy » Mon Jun 20, 2016 7:48 am

This is looking pretty good so far Daweed.
How many analogue/digital inputs/outputs are you looking to provide using this? Are you planing on driving gauges, steppers or servos? with this as well?

Please keep posting as you progress. I am building a SimPit and am very interested in how you go.

Rustemy
rustemy
 
Posts: 24
Joined: Fri Jun 21, 2013 2:15 pm
Version: PPA-Edge
OS: Linux Mint 20.2 Uma

Re: FGFS Interface

Postby daweed » Mon Jun 20, 2016 8:31 am

Hello rustemy
this layout have 64 input (or output) / 256 output
But there is driver motor can be added (the full gpio port is always translate for one board to another.

with this type of hardware driver and a python class to manage, this can be quickly introduce in the interface
https://www.adafruit.com/product/2348 & python class seems to exist already

Fact is that all elements are defined in config file which a read by the main loop are created & affected to pin defined.

So with a good class to create "virtual" motor, it should be easy to manage (it need for somehting like gauges to have information coming from FG too)
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: FGFS Interface

Postby daweed » Thu Jun 23, 2016 6:35 pm

RPI & hardware interface connected

Hardware drivers installed
    2 HT16K33 (leds driver)
    4 MCP23017 (GPIO expander)
Last edited by daweed on Thu Oct 25, 2018 11:07 am, edited 1 time in total.
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: FGFS Interface

Postby daweed » Sat Jun 25, 2016 10:37 pm

FGFS Interface, 7 segments displays FCU test

Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: FGFS Interface

Postby daweed » Tue Aug 30, 2016 1:06 pm

Next step : Building some quick panel to test the all thing

and a lot of soldering :

The interface itself, setup in a 1U Rack case :

Input : 64
Output : 256

Since thesse pics have been shot, QNH management & FCU have been added to close the all 64 input.

I didnt shoot video for the moment, because LED are too powerfull [ but i have found a solution, so movie will come soon ]

Here what actually happen when shooting the interface :

I found a way to setup Brightness on the HT16K33 driver.

See u next time for the video
Last edited by daweed on Thu Oct 25, 2018 11:08 am, edited 1 time in total.
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: FGFS Interface

Postby Octal450 » Tue Aug 30, 2016 1:52 pm

Really cool Daweed.
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5583
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

Re: FGFS Interface

Postby biloute974 » Tue Aug 30, 2016 6:09 pm

Nice job ;)
Intel I7 7700 - 16Gb DDR4 - Nvidia GTX970 - FG 2017.4.0 from D&C
biloute974
 
Posts: 193
Joined: Mon Feb 23, 2015 9:49 am
Callsign: U974
Version: 2016.1.0
OS: Mint 17.2

Re: FGFS Interface

Postby tauchergreg » Wed Aug 31, 2016 4:01 pm

:D :D :D :D :D
C160 Transall , Twin Otter DHC6, both with small modification
EF2000
ETMN & EDXN under development
User avatar
tauchergreg
 
Posts: 58
Joined: Tue Jul 03, 2012 8:36 am
Location: near ETMN
Callsign: OFD001 ; BRT0192
Version: 20xx
OS: Linux & W7

Re: FGFS Interface

Postby Hooray » Thu Sep 01, 2016 9:19 pm

You may want to consider turning your postings into a dedicated wiki article, we do have an increasing number of hardware/embedded related articles, i.e. for peopel wanting to build cockpit hardware
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: FGFS Interface

Postby daweed » Thu Sep 08, 2016 11:03 am

I will have a try on the wiki, but i searched how to create a new page and failed ... :)

Here a full set properly assembled and wired
Last edited by daweed on Thu Oct 25, 2018 11:09 am, edited 1 time in total.
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: FGFS Interface

Postby Gijs » Thu Sep 08, 2016 11:07 am

Awesome project indeed!
daweed wrote in Thu Sep 08, 2016 11:03 am:i searched how to create a new page and failed ... :)

See http://wiki.flightgear.org/Help:Your_fi ... ew_article
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9544
Joined: Tue Jul 03, 2007 3:55 pm
Location: Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: FGFS Interface

Postby daweed » Tue Mar 28, 2017 9:48 am

Hello there

Some news

A new recipes

Take a Raspberry pi

A segment display manager (HT16K33)

Some 7 segments, displays, and some push button

Inputs & Outputs (3 x MCP23017)

2 pairs of rotary encoder

A ladle of cable, spacer and screws and a good dose of python


U will get .....

Last edited by daweed on Thu Oct 25, 2018 11:10 am, edited 1 time in total.
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: FGFS Interface

Postby www2 » Tue Jun 06, 2017 9:07 pm

@daweed
Is there a git repo of this project?
www2
 
Posts: 319
Joined: Thu Apr 16, 2009 2:58 pm
OS: Ubuntu

Re: FGFS Interface

Postby daweed » Wed Jun 07, 2017 6:22 am

Hello,

First public package should be done soon, i have just begin to write the documentation on the FG Wiki.

http://wiki.flightgear.org/FG_interface

The documentation is in writing, thank you for your patience.

I read twice before publish, but my English is not as good as it should, so feel free to read it , and if can make a feedback ...

I had to explain how and why.

Now will begin the "technical" documentation (Class description and how to use)

Regards

Daweed
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Next

Return to Interfacing

Who is online

Users browsing this forum: No registered users and 3 guests