Board index FlightGear Support Interfacing

FGFS Interface

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

FGFS Interface

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

FGFS Interface Beta Version 1.0 Overview

64 input
256 output
Based on Rasberry pi 2 (Quad Core ARM 7 + 1 Gb RAM)
Setup in 1U case
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 Thu Oct 25, 2018 11:19 am, edited 3 times in total.
Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 268
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Re: FGFS Interface

Postby rustemy » Mon Jun 20, 2016 6: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: 23
Joined: Fri Jun 21, 2013 1:15 pm
Version: PPA-Edge
OS: Xbuntu 17.04

Re: FGFS Interface

Postby daweed » Mon Jun 20, 2016 7: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)
Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 268
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Re: FGFS Interface

Postby daweed » Thu Jun 23, 2016 5: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 10:07 am, edited 1 time in total.
Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 268
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Re: FGFS Interface

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

FGFS Interface, 7 segments displays FCU test

Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 268
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Re: FGFS Interface

Postby daweed » Tue Aug 30, 2016 12: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 10:08 am, edited 1 time in total.
Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 268
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Re: FGFS Interface

Postby it0uchpods » Tue Aug 30, 2016 12:52 pm

Really cool Daweed.
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3622
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.3.1
OS: Windows 10 x64

Re: FGFS Interface

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

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

Re: FGFS Interface

Postby tauchergreg » Wed Aug 31, 2016 3: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 7:36 am
Location: near ETMN
Callsign: OFD001 ; BRT0192
Version: 20xx
OS: Linux & W7

Re: FGFS Interface

Postby Hooray » Thu Sep 01, 2016 8: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: 11261
Joined: Tue Mar 25, 2008 8:40 am

Re: FGFS Interface

Postby daweed » Thu Sep 08, 2016 10: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 10:09 am, edited 1 time in total.
Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 268
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Re: FGFS Interface

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

Awesome project indeed!
daweed wrote in Thu Sep 08, 2016 10: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: 9306
Joined: Tue Jul 03, 2007 2:55 pm
Location: Amsterdam/Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: FGFS Interface

Postby daweed » Tue Mar 28, 2017 8: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 10:10 am, edited 1 time in total.
Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 268
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Re: FGFS Interface

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

@daweed
Is there a git repo of this project?
www2
 
Posts: 229
Joined: Thu Apr 16, 2009 1:58 pm

Re: FGFS Interface

Postby daweed » Wed Jun 07, 2017 5: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
Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 268
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Next

Return to Interfacing

Who is online

Users browsing this forum: No registered users and 1 guest