Author Topic: PilotAware & Dynon.....An Update  (Read 1667 times)

PaulSS

PilotAware & Dynon.....An Update
« on: March 10, 2023, 06:53:09 pm »
I thought I’d do a quick write up about PilotAware and the Dynon SkyView (HDX) and my recent experience of connecting the two. I appreciate this has been done before but this is my attempt to bring it up-to-date and share a couple of my experiences, in the hope that it may help those wanting to do the same. Much is a repetition of what has been written by Russ & Co (useful stuff when the search function is used) but there were a couple of ‘discoveries’ during my installation that might prove helpful.

My plan was to have traffic piped from my PAW to the HDX (easily done) and feed my PAW with GPS information from the HDX (turned out okay…..in the end). It is well documented that one requires an FTDI USB to serial adapter in order to be able to connect the two systems.

I had already discovered that, although they are capable, the USB ports in the PAW are not configured for transmit and receive. This means that two USB to serial adapters are required; one for traffic and one for GPS. With an iGrid dongle, ADSB dongle and two FTDI USB to serial adapters, my PAW USB ports are now full.

I decided to use Serial Port 3 on the HDX for my PAW connections. From the PAW ‘traffic’ FTDI I connected the orange (Tx) wire to the D37 Pin 7 (Rx). The FTDI ‘GPS In’ wire (yellow Rx) was connected to HDX D37 Pin 8 (Tx). The black wires in both FTDIs were combined and fed to an HDX ground.

I configured Serial Port 3 on the HDX as serial input to have ‘Flarm Traffic’ at 4800 Baud rate, with the PAW USB port 4 set to ‘Flarm Out’ at 4800. The HDX serial out was set as ‘Dynon GPS 250’ (‘cos that’s the GPS I have connected to the Dynon system) and automatically set itself to a Baud rate of 38,400. So I reset everything to 38,400. The PAW USB Port 2 was set to GPS/38,400.

Everything was turned on and a very disappointing nada with the GPS going to the PAW but a very satisfying ‘Flarm OK’ on the HDX and traffic appearing on the map.

There was MUCH investigating, including Lee at his house proving the GPS into the PAW is possible (thanks Lee) but it still refused to behave. Baud rates were changed, serial out was changed to NMEA etc etc etc but the PAW Home page still showed a nasty, red GPS. Knowing the traffic option was good I removed the ‘Traffic FTDI’ from the PAW, swapped the ‘GPS FTDI’ into USB Port 4, reconfigured to GPS and green flashing lights on the FTDI!! The GPS block turned green on the PAW Home page and the GPS position counters all started doing what they are supposed to do. All this was with NMEA as the serial out. Switched back to Dynon GPS 250 and the transmit counters stopped. ‘Traffic’ FTDI plugged into PAW USB 2 and Flarm OK came up. It seems that, on my PAW at least, the GPS In does not like USB Port 2.

Lee informed me that GPS into the PAW can be configured as ‘Flarm In’ on the PAW USB setting or ‘GPS’. It just ignores the non-Flarm bits on ‘Flarm In’ and grabs the GPS information. Every day a school day, as they say. What I discovered is if you set it to ‘Flarm In’ then on GPS line of the Home page you get something like ‘Flarm Rcv’ or similar and the counter goes up as it receives GPS info. If you set the PAW USB to ‘GPS’ then the GPS line on the Home page says something like ‘GPS Rcv’ (and the counters go up). The OCD in me had to have it set to GPS, as that’s what I’m feeding into PAW.

SO, after all of that waffle, what works?

The wiring is all good as above but you still need two FTDI USB to serial converters……until the USBs are taught to give and take. One for traffic out and one for GPS in.

I have the GPS in plugged into PAW USB 4. The USB port is set to GPS and I upped the Baud rate 115200 (because I can). In the HDX I have Serial Out set to NMEA Full and the Baud rate set to 115200. When 'Dynon GPS 250' is deselected you can change the Baud rate to your heart's content.

Traffic Out FTDI is plugged into PAW USB 2. The USB port is set to Flarm Out and the Baud rate set at 115200, to keep everything the same. In the HDX I have Serial In set to ‘Flarm Traffic’ and a Baud rate of 115200.

I now have ‘Flarm OK’ on the HDX and traffic showing on the map. On the PAW Home page I have a green GPS blob and the GPS counters increasing. It looks like it’s working well.

The ONLY snag I can see is if I want a USB port in future (e.g. 978 MHz dongle). The only way round this is to have the USBs configured to transmit AND receive, that way the traffic and GPS can use one FTDI, freeing up a USB for something else. This will be necessary for anyone who wants to use a USB port for an FTDI (traffic out, GPS out to a Mode S transponder etc), as one of the ports is always going to be used for the GPS, one for the ADSB and, for anyone who wants to keep up with the latest capabilities, the iGrid dongle.

If we could have some nice weather, I can go out and play with all my lovely new toys  ;D.

exfirepro

Re: PilotAware & Dynon.....An Update
« Reply #1 on: March 12, 2023, 08:48:45 am »
Thanks Paul,

An interesting read!

Good to hear you have finally got it all talking.

For those not familiar with the Forum search - here's a link to the previous extensive thread on this subject...

http://forum.pilotaware.com/index.php/topic,823.msg9885.html#msg9885

...or just click on the 'Home' button and put Dynon in the Search Box.

Best Regards

Peter

skyboy999

Re: PilotAware & Dynon.....An Update
« Reply #2 on: March 14, 2023, 04:42:21 pm »
Hi Paul, Are you seeing ‘tail numbers’ on Skyview? Despite having the SV parameter set to ‘YES’, I don’t, although they show fine on Skydemon. Just trying to identify if I have. Glitch or it is a feature…

PaulSS

Re: PilotAware & Dynon.....An Update
« Reply #3 on: March 14, 2023, 05:41:02 pm »
No, I don't see any of the registrations/tail numbers on the map or PFD. I have got 'show tail numbers' turned on. I did notice they weren't showing but I have to admit I'm not too concerned, as they appear on my SkyDemon display.

Maybe they'd show if the SV-ADSB was installed but I think that's more for the US brigade, where much 'stuff' can be had over ADSB/TIS.

I don't necessarily think it's a feature but, on the plus side, I don't think you have a glitch  :)

steveu

Re: PilotAware & Dynon.....An Update
« Reply #4 on: March 14, 2023, 10:12:10 pm »
The ONLY snag I can see is if I want a USB port in future (e.g. 978 MHz dongle). The only way round this is to have the USBs configured to transmit AND receive, that way the traffic and GPS can use one FTDI, freeing up a USB for something else. This will be necessary for anyone who wants to use a USB port for an FTDI (traffic out, GPS out to a Mode S transponder etc), as one of the ports is always going to be used for the GPS, one for the ADSB and, for anyone who wants to keep up with the latest capabilities, the iGrid dongle.

Would the Pi support a USB hub?

Re: PilotAware & Dynon.....An Update
« Reply #5 on: April 08, 2023, 07:22:28 pm »
Does this mean that I can put 2 WiFi dongles into a USB hub and plug the hub into any of the available ports ?
I have the Pilotaware classic Raspberry pi 2.
I have my mode S Trig transponder using  port 1 , my ADSB using port 2 and my GPS port 3 and pilot aware WiFi using port 4.
I want to use the Igrid WiFi, so I will require 5 USB connections.
Apart from the USB hub and the IGrid WiFi dongle ,will i require any other hardware ?
Will i need to change anything in the configuration page ?
Will this setup work at all ?

JCurtis

Re: PilotAware & Dynon.....An Update
« Reply #6 on: April 09, 2023, 10:48:12 pm »
I’d look to upgrade the Pi to one with built in WiFi, then you won’t need 5 USB ports.
Designer and maker of charge4.harkwood.co.uk, smart universal USB chargers designed for aviation.  USB Type-A and USB-C power without the RF interference. Approved for EASA installs under CS-STAN too.

exfirepro

Re: PilotAware & Dynon.....An Update
« Reply #7 on: April 14, 2023, 09:45:04 am »
@steveu,

I’d be a bit wary of adding an unpowered hub to a Pi as that would inevitably increase the current draw on the Pi PSU - not to mention whether the PAW software would support it anyway (Lee?).

@owengordonmathews,

Same comments as above re adding USB hub.

As per @JCurtis post above, the accepted route for adding iGrid to a Classic which is already feeding position to a transponder (or direct Flarm-In from a FLARM device) is to either upgrade to a Rosetta or replace the Pi2B motherboard in the Classic with a Pi3B (as used in Rosetta) which has its primary WiFi inbuilt on the board. You can then reuse the original WiFi dongle from your Classic in the ‘freed up’ USB port on the now-upgraded Classic to drive iGrid.

Take a note of the 12 digit MAC address of the original Classic (begins with B827EB.... ) before you disassemble your Classic and send that, plus the MAC of your new 3B, plus your name and email to support@pilotaware.com and they will transfer the details and send you a new licence key to swap the remaining period of your current licence over to the new unit. It’s also a good idea to take screenshots of your Classic Config Setup before taking it apart to make it easier to set up the ‘new’ unit.

Best Regards

Peter
p.s. this also works with the Pi3B+ if you can’t get a Pi3B, though it isn’t recommended as the 3B+ draws more power than the 3B. It definitely WON’T work with any of the Pi4s