PilotAware

British Forum => General Discussion => Topic started by: Admin on September 13, 2015, 12:47:54 pm

Title: USB-GPS Working in PilotAware
Post by: Admin on September 13, 2015, 12:47:54 pm
Hi All

Just finished testing the integration of the UBlox-7 USB-GPS, one of these
http://www.ebay.co.uk/itm/USB-GPS-Receiver-VK-172-Ublox7-Fast-10Hz-GPS-Glonass-RasPi-Win-7-8-CE-Linux-/252080341676?hash=item3ab128c2ac

And it works nicely.
This means I am now running the NAV software on my WiFi Ipad, position info and traffic info supplied by PilotAware, from the USB-GPS

At the moment this is hardwired to use a specific USB port on PilotAware

Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: SteveN on September 13, 2015, 01:00:41 pm
Brilliant Lee :)
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on September 13, 2015, 01:01:40 pm
Neat!  :) keep us posted on s/w availability :)
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on September 13, 2015, 01:41:54 pm
Excellent news. Happy to buy one in if you need additional testing/testers.

Mark.
Title: Re: USB-GPS Working in PilotAware
Post by: SteveN on September 13, 2015, 02:01:03 pm
I have a Globalsat ND-100S. These USB dongles are WAAS/EGNOS and knock the pants off the tablets especially in vertical resolution.
Title: Re: USB-GPS Working in PilotAware
Post by: Kevin W on September 13, 2015, 04:41:18 pm
Great stuff, thanks Lee, looking forward to testing that.
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on September 13, 2015, 05:03:12 pm
Hi Lee,

One of these MIGHT be more useful than another dongle hanging out of the side of the RPi...

http://www.ebay.co.uk/itm/281788291544

I'm slightly worried about the mechanical robustness of the USB ports with dongles and things hanging unsupported, especially on our fairly 'vibratory' aircraft coaming. This sort of GPS would also mean it could be positioned somewhere on the coaming to get a good signal.

Would you envisage almost any USB GPS working?
Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 14, 2015, 09:34:56 pm
Great News on the GPS .... Still a lot of thing hanging out of the Box.  How about adding the GPS internal and using something like this...

http://www.ebay.co.uk/itm/Ublox-NEO-7M-GPS-Aircraft-Module-For-Arduino-MWC-IMU-APM2-5-Antenna-3v-5v-/291522612415?hash=item43e01a0cbf

Richard
Title: Re: USB-GPS Working in PilotAware
Post by: Wadoadi on September 14, 2015, 11:15:31 pm
Like everyone is saying this is great! Well done Lee.
I assume the reason for it being USB is the lack of serial ports on the RPI!?

If people wanted to use a non USB GPS is there a GPIO - UART board available?

Sorry I'm new to the RPI, so leaning as I go!
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 15, 2015, 09:57:14 am
I assume the reason for it being USB is the lack of serial ports on the RPI!?

This is absolutely the problem.
I cannot find a GPS that uses SPI or I2C that has support for the RPi today.

One thought at the moment is to have an ARF with a SPI interface, thus freeing the UART.
There is already an SRF with a SPI interface, and the ARF is basically SRF + Amplifier
Title: Re: USB-GPS Working in PilotAware
Post by: Wadoadi on September 15, 2015, 10:31:37 am
personally I'm happy with the USB GPS (I have order one ready to test!), I will use sort leads between the DVB-T and the GPS to remove strain and probably apply some silicon to ensure they don't work there way out over time!

The other option is something like an I2C -> URART chip -> GPS but adds more complexity and expense as I doubt it will be off the shelf!
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 15, 2015, 11:59:21 am
personally I'm happy with the USB GPS (I have order one ready to test!), I will use sort leads between the DVB-T and the GPS to remove strain and probably apply some silicon to ensure they don't work there way out over time!

The other option is something like an I2C -> URART chip -> GPS but adds more complexity and expense as I doubt it will be off the shelf!

I have just ordered one of these to try as well ....
http://www.aliexpress.com/item/VK-162-GPS-engine-board-Module-with-Antenna-USB-G-Mouse/32439292777.html
Title: Re: USB-GPS Working in PilotAware
Post by: Wadoadi on September 15, 2015, 04:03:35 pm
Is the support for the GPS in the current release? or is there a Beta with it in?
I hope to have my GPS end of this week :)
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 15, 2015, 04:44:37 pm
Is the support for the GPS in the current release? or is there a Beta with it in?
I hope to have my GPS end of this week :)

I could get a beta uploaded for you to try
Let me know if you want to give that a go.
Title: Re: USB-GPS Working in PilotAware
Post by: Wadoadi on September 15, 2015, 05:20:36 pm
I'm only running it on the ground and without the ARF board until @JCurtis has them ready.

but yes i would like to try it and if it also helps you too that would be great, my USB GPS is due for delivery this Friday. 
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on September 15, 2015, 05:45:55 pm
Is the support for the GPS in the current release? or is there a Beta with it in?
I hope to have my GPS end of this week :)

I could get a beta uploaded for you to try
Let me know if you want to give that a go.

I'm happy to buy in a GPS and trial the beta - I'd prefer a GPS that is both GPS and GLONASS though if possible - hence my interest in this one: http://www.ebay.co.uk/itm/281788291544

Can you confirm if this is likely to work or will require additional coding? Assume it is presented as a USB serial interface?
Title: Re: USB-GPS Working in PilotAware
Post by: stephenmelody on September 15, 2015, 06:55:08 pm
Does this negate the need for the system to be connected to skydemon (or equivalent) for positioning.

I'm considering building a test rig and not having to connect to SD would make life a lot easier for me.

Thanks,

SM.
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on September 15, 2015, 10:20:50 pm
Is the support for the GPS in the current release? or is there a Beta with it in?
I hope to have my GPS end of this week :)

I could get a beta uploaded for you to try
Let me know if you want to give that a go.

I'm happy to buy in a GPS and trial the beta - I'd prefer a GPS that is both GPS and GLONASS though if possible - hence my interest in this one: http://www.ebay.co.uk/itm/281788291544

Can you confirm if this is likely to work or will require additional coding? Assume it is presented as a USB serial interface?

+1
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 15, 2015, 10:54:24 pm
Does this negate the need for the system to be connected to skydemon (or equivalent) for positioning.

Yes, I ran my PilotAware on my hour long commute using the usb gps
Seemed to work well
Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 15, 2015, 10:56:57 pm
I'm happy to buy in a GPS and trial the beta - I'd prefer a GPS that is both GPS and GLONASS though if possible - hence my interest in this one: http://www.ebay.co.uk/itm/281788291544
Can you confirm if this is likely to work or will require additional coding? Assume it is presented as a USB serial interface?

If it is presented as a serial device it should work, devil is always in the detail
Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: seabeggar69 on September 16, 2015, 12:31:15 am
Connecting RY835AI GPS to Raspberry Pi via GPIO

Maybe this will help as this GPS/AHRS is hard wired

Still would like to RX 978 MHZ using your product :)

https://www.reddit.com/r/stratux

then this thread

https://www.reddit.com/r/stratux/comments/3kuud3/connecting_ry835ai_gps_to_raspberry_pi_via_gpio/

"After my USB connector broke on the RY835AI, I successfully got the RY835AI GPS to send NMEA to the Raspberry Pi by using the Raspberry Pi's serial port. Here's how you can set it up:

SSH into raspberry pi and type "sudo raspi-config".

Go to "Advanced Options", Serial, Select "NO".

Reboot Raspberry Pi.

Connect RXD pin on RY835AI to pin 8 on Raspberry Pi (http://pi.gadgetoid.com/pinout), Connect TXD pin on RY835AI to pin 10 on Raspberry Pi.

Stratux still doesn't work with this change. First you need to tell it use a different serial port for the GPS data. So in ry835ai.go you have to go the the initGPSSerial method and change the serial port to /dev/ttyAMA0.
The code needs to be changed though, for some reason (at least on my raspberry pi i'm only getting about 8 bytes of data from the serial Read command). Will keep trying and see if i can get this working."

TADA !

The reading data from the raw serial port seems to work differently than the USB serial - some difference in buffering I assume. You can replace the gpsSerialReader function in ry835ai.go with the version in the same function here: https://github.com/ssokol/stratux/blob/ultimategps/main/ultimategps.go
That uses the scanner stream reader and seems to work well reading from the raw port.
Title: Re: USB-GPS Working in PilotAware
Post by: Wadoadi on September 16, 2015, 07:58:48 am
I successfully got the RY835AI GPS to send NMEA to the Raspberry Pi by using the Raspberry Pi's serial port. Here's how you can set it up:.

Thanks, but if my understanding is correct the issue here is the serial port pins 8 & 10 on GPIO are already in use with the wireless ARF board and the RPI only has one serial port, hence the need to use a USB GPS.
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 16, 2015, 03:18:02 pm
Wadoadi
This is correct, the GPIO UART is already in use, so cannot connect a GPS
Title: Re: USB-GPS Working in PilotAware
Post by: Kevin W on September 17, 2015, 01:13:48 pm
Is the support for the GPS in the current release? or is there a Beta with it in?
I hope to have my GPS end of this week :)

I could get a beta uploaded for you to try
Let me know if you want to give that a go.

+1 for that beta please :)
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on September 21, 2015, 11:30:46 am
My UBlox-7 USB stick arrived this morning - after taking longer than I'd have expected to download its ephemeris data, it's up and working.

Would be useful if possible on the status page to show things like No of current birds being received (GPS & GLONASS) and whether it's a 2D/3D fix and perhaps DoP? Not sure if that's possible off this module though but I assume it's just some kind of interrogation of the GPS?
Title: Re: USB-GPS Working in PilotAware
Post by: Kevin W on September 21, 2015, 01:00:19 pm
I agree, would be usefull.  Mine is also working ok, although when it looses gps fix it sends a lat and long of zero, sending my sky demon screen off to the north pole.  Need to wok out how to send no valid position rather than a position sky demon assumes to be vaalid of 0:0 :)

Cheers
Kev
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 21, 2015, 01:41:05 pm
Regarding the 0/0 Lat/Long
At the moment I am not really error checking the quality of the Fix
Another ToDo ....

I used mine at the weekend (ublox-7) and it worked perfectly.
I had an incoming A/C showing 300ft below to my left, and I could not get a visual for the life of me,
I was thinking oh not a S/W bug, and then something zoomed past on my port side at about 500 Metres, and disappeared to my rear.
It must have been a GA sending ADS-B

Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on September 21, 2015, 03:39:56 pm
Regarding the 0/0 Lat/Long
At the moment I am not really error checking the quality of the Fix
Another ToDo ....

I used mine at the weekend (ublox-7) and it worked perfectly.
I had an incoming A/C showing 300ft below to my left, and I could not get a visual for the life of me,
I was thinking oh not a S/W bug, and then something zoomed past on my port side at about 500 Metres, and disappeared to my rear.
It must have been a GA sending ADS-B

Neat.
Being not far from Oxford, I see their training Piper Senecas are transmitting ADS-B. It's a shame Hinton Para's PAC doesn't - it would be worth having PilotAware just for seeing where that was!
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on September 21, 2015, 07:17:44 pm
OK, I'm less than happy with the U-Blox7 GPS module I have - it has 'crashed' (i.e., stopped getting a fix) 4 times now this afternoon, green light stopped flashing and putting me at 0:0 lat/long (North Pole!) - it will re-acquire and start working on a reboot of the PilotAware box so it's def. not the fact that it's lost sky view, but can take an age on a power-off restart.

Considering it's supposed to be both GPS and GLONASS, it's a bit of a PoS really and not as reliable as the in-built GPS in the iPad or my Bad Elf Pro+
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on September 21, 2015, 07:54:30 pm
OK, I'm less than happy with the U-Blox7 GPS module I have - it has 'crashed' (i.e., stopped getting a fix) 4 times now this afternoon, green light stopped flashing and putting me at 0:0 lat/long (North Pole!) - it will re-acquire and start working on a reboot of the PilotAware box so it's def. not the fact that it's lost sky view, but can take an age on a power-off restart.

Considering it's supposed to be both GPS and GLONASS, it's a bit of a PoS really and not as reliable as the in-built GPS in the iPad or my Bad Elf Pro+

Oh goodo - that's what I ordered to be compatible with you guys! LOL
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 21, 2015, 08:22:49 pm
Don't Panic !

This is not as bad as you are thinking, and is also a pretty complex situation.

So firstly some background.
In the initial version of PilotAware I use Location Services (via CollisionAware) to get my position.
The Location Services data may be supplied by WiFi data, Cellular Data, internal GPS or
an external BT GPS - the source of this info is under the control of iOS.
Location services is a 'high level' API, which insulates the programmer from worrying about
things such as 'quality of fix', '2D/3D fix', 'number of satellites in view' etc.
The location information is used internally by PilotAware in order to calculate relative distance &
height from other traffic.

The Navigation tools, SkyDemon, RunwayHD, EasyVFR, Air Navigation Pro - all work differently
when communicating to a traffic device such as PilotAware or Flarm, let me describe how they
get their information when connected to PilotAware

SkyDemon:
Uses Position Data from PilotAware
Uses Traffic Data from PilotAware

RunwayHD:
Uses Position Data from Location Services
Uses Traffic Data from PilotAware

EasyVFR, AirNavigation Pro
Uses Position Data from - Configurable
Uses Traffic Data from PilotAware

So in order to provide Position Data to SkyDemon (and others) I have to convert the Location
Services data back into a set of NMEA sentences.
This is in effect 'faking the data', and in so doing, because I am insulated from the low level
details, I simply have to say 'Fix data is OK', '3D fix' '5 Satellites in view', because in reality,
Location services has already determined this for me.

Now the important Part !

In the initial implementation of the GPS integration, I ignored the fix/quality data being supplied
by the GPS device, and simply fed back the data to whichever tool was using this data,
(in reality only SkyDemon), which explains what you are seeing. The GPS is telling me the data is
bad, but I fake it and say the data is good and passit on.

THIS IS WRONG, but was done for expediency to simply prove the interface was this working.

What needs to happen is either
1. Pass the data along with the fix/quality information
2. Filter the data based upon the fix/quality information

I have not yet decided which is the best approach, I am guessing SkyDemon will ignore the
GPS data if the fix/quality indicates it is poor, but maybe I should make that decision internally.

Thx
Lee

Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 21, 2015, 08:27:34 pm
OK, I'm less than happy with the U-Blox7 GPS module I have - it has 'crashed' (i.e., stopped getting a fix) 4 times now this afternoon, green light stopped flashing and putting me at 0:0 lat/long (North Pole!) - it will re-acquire and start working on a reboot of the PilotAware box so it's def. not the fact that it's lost sky view, but can take an age on a power-off restart.

Considering it's supposed to be both GPS and GLONASS, it's a bit of a PoS really and not as reliable as the in-built GPS in the iPad or my Bad Elf Pro+

Follow up question on my last posting.
By any chance were you running CollisionAware AND an external GPS, or just the external GPS ?
Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on September 21, 2015, 08:32:54 pm
Hi Lee,

All understood. But that doesn't get past the fact that my GPS dongle appears to be unreliable in keeping a fix. It's currently sitting in full view of the sky, by a window overlooking the Bristol Channel, with NO goo fix - no green flashing LED, nada. It will come back (maybe) for a period, and then drop out again.

Both my iPad and my Bad Elf have a good fix, my Bad Elf is reporting currently a lock with 24 birds (both GPS and GLONASS) and most of those are showing 80% or greater signal strength.

So either there is something awry with my module, or they just aren't up to much. It just seems odd that rebooting the device gets it working again - for perhaps 10 minutes, then it start dropping out again.

I don't have a PC to plug it into to monitor it's sky view.

Oh, in answer to your last question, no. Not running any other app just using the external GPS....
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 21, 2015, 10:44:31 pm
BTW regarding the usb/gps, you can quite happily hot plug this device.
It will recognise removal and  re-insertion.
Would be interesting to see if this re-awakes the gps
Title: Re: USB-GPS Working in PilotAware
Post by: falcoguy on September 22, 2015, 08:41:11 am
I am thinking of looking at this.

Do you think the following might work - the aerial can be better positioned than having USB on board - I will eventually hide the unit away.

http://www.ebay.co.uk/itm/USB-GPS-RECIEVER-FOR-LAPTOP-ANDROID-LATEST-UBLOX7-CHIP-FAST-WAT-PROOF-2-MTR-LEAD-/291555386081?hash=item43e20e22e1

or will only the dongle labelling RasPi work?

Dave T
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 22, 2015, 09:07:57 am
I am thinking of looking at this.

Do you think the following might work - the aerial can be better positioned than having USB on board - I will eventually hide the unit away.

http://www.ebay.co.uk/itm/USB-GPS-RECIEVER-FOR-LAPTOP-ANDROID-LATEST-UBLOX7-CHIP-FAST-WAT-PROOF-2-MTR-LEAD-/291555386081?hash=item43e20e22e1

or will only the dongle labelling RasPi work?

Dave T

Hi Dave,

I have the same thing coming on a slow boat from china, from here
http://www.aliexpress.com/item/VK-162-GPS-engine-board-Module-with-Antenna-USB-G-Mouse/32439292777.html
So have not had time yet to try.
I think somebody else reported using this on the forum ....
Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 24, 2015, 01:33:13 pm
So either there is something awry with my module, or they just aren't up to much. It just seems odd that rebooting the device gets it working again - for perhaps 10 minutes, then it start dropping out again.


Trapdoor,
    I have the same problem, The GPS arrived today and on trying it drops as you have described.  There seems to be some work to do here to get it working. I will try a moving test later but i expect the same problem.

Any Ideas Lee?
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 24, 2015, 02:32:46 pm
So either there is something awry with my module, or they just aren't up to much. It just seems odd that rebooting the device gets it working again - for perhaps 10 minutes, then it start dropping out again.


Trapdoor,
    I have the same problem, The GPS arrived today and on trying it drops as you have described.  There seems to be some work to do here to get it working. I will try a moving test later but i expect the same problem.

Any Ideas Lee?

Hi Richard,
Are you saying you do not get a green pulsing led ?
Also can you confirm you have it plugged into the correct USB port (it is currently hardwired) ?

also how long were you running ?
the time to first fix can be upto 15 minutes
https://en.wikipedia.org/wiki/Time_to_first_fix

There is nothing really to be done in the software to be honest other than read from the device
Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 24, 2015, 04:53:00 pm
Lee,
   I will do some more testing. Yes green light flashing OK no problems there. It just supplys North 00.00000 South 00.0000 in sky demon. It worked OK for about 1 min.

I'm Not running ColisionAware App.
 Mobile data turned off also same thing with mobile data turned on in the IPad.
Using latest release

I will try some moving tests later on to see if the problem is still there.

Everything connects OK as far as I can see. The numbers in the web interface for the GPS keep changing as it re-fresh is this correct?

Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on September 24, 2015, 05:59:03 pm
I find:


I'm not convinced the quality of these cheap dongles is up to much. It's possible some may be OK but I'm sure I have a dud or suspect one. Compared to my Bad Elf Pro+ which is also GPS/GLONASS this thing is junk. OK, the Bad Elf is 40 times more expensive ... so no comparison really I suppose.
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on September 24, 2015, 06:29:25 pm
Still waiting for my "piece of junk" to arrive!  :o
Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 24, 2015, 07:20:44 pm
ok, It may not be too bad after all......

Just been testing again.  This time put it in the middle of the garden while I set in the house where it is warmer..... About 6m away through the window.

OK ran SD on its own with cellular data off on the Ipad (So it will not use the internal GPS)
Also Not running the Collision Aware app.

It was left running for over 1 hour (while monitoring) No drop outs of any kind from the GPS
No Connection dropouts from any where  :o
Received ADS-B Traffic from over 100 miles away (Approx.)

Tried the smaller ADS-B Areal recommended in one of the threads..... Traffic was intermittent and kept disappearing and re appearing at different intervals. OK I know its not tuned to the correct frequency. I feel it is not good enough for use, though it does tidy up the PilotAware device, That's just my choice.

The next step is to try it in the air. (It will soon be summer ::) )
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on September 24, 2015, 07:31:34 pm
Which antenna are you using for the ADS-B one? You can't use the small helical that is meant for the ARF module but I get excellent results with a decent Siretta Delta2C antenna which is meant for Cellular (it's almost the correct frequency and better tuned than the one that comes with the DVB-T module) - http://www.ebay.co.uk/itm/361362426353

I get traffic out to the South East of Ireland using that antenna and I'm on the Bristol Channel coast   :D
Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 24, 2015, 08:12:07 pm
Trapdoor,
    I'm using the same as you.... The one you recommended in the ebay link.
Its strange that I get intermittent reception from the small antenna but fantastic reception from the original supplied antenna.  I have altered the the original by shortening the wire and removing the magnet in the base then stuck it to the box. This may have helped with reception with the shorter coax cable.
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on September 24, 2015, 08:41:23 pm
How are you connecting the 2C antenna to the module?

I'm currently connected using an MCX to SMA pigtail as the MCX to SMA straight adapter + antenna wasn't 'strong' enough directly into the module.

Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 24, 2015, 08:52:38 pm
I have connected directly to the unit as you did in one of your earlier photos.
So far I have been unable to find the correct pigtail as to what you have used. Where did you obtain your from?

Yes I agree the direct connection is loose and not a good fix. An alternative would be to simply connect with glued heat shrink to secure them together with out soldering together which is not really an option.
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 25, 2015, 10:21:30 am
Richard

I am interested in how well your GPS/UBLOX is performing ?

Mine took a loooongggg time to get its initial fix, way more than the supposed 12.5 minutes.
Now that it appears to have stored the ephermeris/almanac data it is working superbly

Initial fix from cold is about 1 minute - usually the time PilotAware takes to boot.
interested to know your findings

Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: Wadoadi on September 25, 2015, 09:45:20 pm
just to chime in on both the GPS and the DVB-T aerial!

I have only thus far had the GPS indoors and it has had a good fix, but tonight i went for a drive with it and had the PI plugged into a 6.3 A * 3 USB adapter it was fine at first but then no flashing light.  I'm wondering if it is power related and if the PI  is shutting down the power to the port or the voltage is dropping to the port? I say this because on the way home no issues the only difference was I did not plug my iPhone in to the USB adapter in the car!

re the DVB-T aerial at home i have this http://www.ebay.co.uk/itm/ADS-B-1090Mhz-Antenna-MCX-Plug-2-5dbi-High-gains-MOUNT-Connector-Booster-Magnet-/201090043498?hash=item2ed1e68e6a (http://www.ebay.co.uk/itm/ADS-B-1090Mhz-Antenna-MCX-Plug-2-5dbi-High-gains-MOUNT-Connector-Booster-Magnet-/201090043498?hash=item2ed1e68e6a) and it works great picking up contacts 50-75 miles out but with this one http://www.ebay.co.uk/itm/141743253671?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT (http://www.ebay.co.uk/itm/141743253671?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT) i get nothing at home or out in the car.
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 26, 2015, 01:28:31 pm
just to chime in on both the GPS and the DVB-T aerial!

I have only thus far had the GPS indoors and it has had a good fix, but tonight i went for a drive with it and had the PI plugged into a 6.3 A * 3 USB adapter it was fine at first but then no flashing light.  I'm wondering if it is power related and if the PI  is shutting down the power to the port or the voltage is dropping to the port? I say this because on the way home no issues the only difference was I did not plug my iPhone in to the USB adapter in the car!

re the DVB-T aerial at home i have this http://www.ebay.co.uk/itm/ADS-B-1090Mhz-Antenna-MCX-Plug-2-5dbi-High-gains-MOUNT-Connector-Booster-Magnet-/201090043498?hash=item2ed1e68e6a (http://www.ebay.co.uk/itm/ADS-B-1090Mhz-Antenna-MCX-Plug-2-5dbi-High-gains-MOUNT-Connector-Booster-Magnet-/201090043498?hash=item2ed1e68e6a) and it works great picking up contacts 50-75 miles out but with this one http://www.ebay.co.uk/itm/141743253671?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT (http://www.ebay.co.uk/itm/141743253671?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT) i get nothing at home or out in the car.

OK, this is very interesting, I have had a similar experience.
I have a dual USB adapter, when I plug ONLY PilotAware into this - all is good
If I add my iPhone 6 Plus - it is bad, and this is what I see...

My Adapter has an internal cutoff, when I plug in the iPhone 6, it draws a huge current
triggering the limiter in the aux plug, which shuts off for about 5 seconds, this of course
kills PilotAware.
My USB adapter also has an LED indicating when it is providing power, if I plug just my
iPhone into the adapter I can watch the LED, on.....off....on....off....

This sounds like exactly the same issue you are seeing !

Thx
Lee

Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 26, 2015, 04:08:42 pm
I am interested in how well your GPS/UBLOX is performing ?

Mine took a loooongggg time to get its initial fix, way more than the supposed 12.5 minutes.
Now that it appears to have stored the ephermeris/almanac data it is working superbly

Initial fix from cold is about 1 minute - usually the time PilotAware takes to boot.
interested to know your findings

Lee,
   I managed to complete a moving test today (frustrated I could not Fly because of the air Show)

OK.... First boot... GPS got a fix from cold in exactly 0:2:20 mins
 Linking direct to the Iphone, without colisionAware even installed. Problem... No GPS received to the IPhone?????
OK, I plugged the GPS/UBLOX into the top right USB port (Looking directly at the ports) BINGO.... all worked well with no dropout at all.
Return journey, Started the PilotAware again in the same configuration... All working. I thought it was a fluke so put the GPS/UBLOX back into the top left USB and it will not work. Just seeking GPS, I replug back into the top right while hot and instantly all was up and running. ????? On the return journey it did drop GPS, so I simply pressed go fly again and all was well, So 1 drop on a 30min trial.
I have the DVB TV plugged into the bottom left port under the GPS and the wifi in the bottom Right port.
Can this make a difference to how it is working?
 

Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 26, 2015, 04:37:43 pm
Gps is currently hardwired to top right in released build
Next release you can plug wherever you like

Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 26, 2015, 04:42:10 pm
Haaaaa. OK. Thank you Lee, I did not Know. I will Try a flight test tomorrow.
Title: Re: USB-GPS Working in PilotAware
Post by: ibelmore on September 26, 2015, 06:33:32 pm
Hi Lee

Been following this with interest, I now have my GPS/GLONASS U-blox 7

Could I get a copy of the GPS Beta  please.

Ian
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 26, 2015, 06:36:49 pm
Hi Lee

Been following this with interest, I now have my GPS/GLONASS U-blox 7

Could I get a copy of the GPS Beta  please.

Ian

Hi Ian
This should be in 20150919. Just need to make sure you use the top right usb port
Look on the pilotaware home page, and you should see info regarding gps.

I should have a new release up by Sunday with the latest code

Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: ibelmore on September 26, 2015, 07:28:38 pm
Hi Lee

Top right and now it works well.

Thanks
Ian
Title: Re: USB-GPS Working in PilotAware
Post by: ibelmore on September 26, 2015, 07:40:11 pm
One more question for those more technically astute than me, how can I tell if sky demon is getting its gps signal from the pilotaware unit or the inbuilt gps?

Is it possible to disable the iPads onboard gps? (Version with SIM card)

If I turn location services off, I lose all gps info.

Ian
Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 26, 2015, 08:06:11 pm
Ian
   If you turn off cellular data this will turn off your GPS in the iPad or iPhone. Or your pilot aware needs the collision aware app to get GPS from your iPad. So if you can get GPS connected to your iPad without running the collision aware app you will be connected with the GPS on your pilotaware device.

I hope this makes sense.
Title: Re: USB-GPS Working in PilotAware
Post by: ibelmore on September 26, 2015, 08:11:46 pm
Richard

Thanks for your reply, I used to think that but I gave been running my iPad with cellular data off for over a year and it still receives a GPS signal.

Maybe it's because there is no SIM card installed. I will try putting one in and leaving the data off.

Edited to add, still getting a GPS signal from the iPad with SIM card in and mobile data off.

Ian
Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 26, 2015, 08:54:52 pm
Ho. I will try that at this end. Looks like I gave you some fals info. Sorry I should have tested first. But what is correct, SD will not receive the GPS data without the collision aware app running. I'm assuming you are connecting via FLARM to your Pilotaware device.
Title: Re: USB-GPS Working in PilotAware
Post by: ibelmore on September 26, 2015, 09:09:44 pm
Richard

Yes, connect via collision aware and Flarm.

Back to the rugby

Ian
Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 26, 2015, 09:24:35 pm
Ok to ensure you are connected to your U-blox 7 GPS don,t use the collisionaware app if you get GPS in SD. It is using U-bloc 7

I'm sure this is correct.
Title: Re: USB-GPS Working in PilotAware
Post by: ibelmore on September 26, 2015, 09:32:44 pm
Richard

I think I get you are saying.

I understand there is No need for collisionaware with u-blox plugged into pilotaware

If I 'Go Flying' in sky demon with 'FLARM' I get pilotaware GPS data

If I 'Go Flying' in sky demon with 'Location Services' I get iPad GPS data

Or am I barking up the wrong tree?

Ian

Title: Re: USB-GPS Working in PilotAware
Post by: Richard on September 27, 2015, 03:21:34 pm

 1. If I 'Go Flying' in sky demon with 'FLARM' I get pilotaware GPS data

2. If I 'Go Flying' in sky demon with 'Location Services' I get iPad GPS data


Ian,
 Q1 yes as long as you don't run the collisionaware app.

Q2 Yes as long as you do run collisionaware app.

The Idea off adding the GPS to PilotAware is for Ipad or Android devices that do not have built in GPS. OK you can use a standalone GPS such as Garmin of bad-elf if you have one, for someone who does not, Just use PilotAware with out having to spend £100+ in a separate GPS device.  If at some point we can connect Pilotaware to our transponders It will provide the GPS for the ADS-B output all in one box. I really hope it will get to this at some point in the future.....
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on September 28, 2015, 11:02:02 am
I think I should clarify here, please bear in mind this is for SkyDemon, other Nav software
may use location services or be configurable

Quote
If I 'Go Flying' in sky demon with 'FLARM' I get pilotaware GPS data
This is correct.
The GPS data supplied from PA could be derived from
- on board GPS
- CollisionAware GPS Sharing App
- NMEAGPS Sharing App

Quote
If I 'Go Flying' in sky demon with 'Location Services' I get iPad GPS data
Almost, you get Location Services data, this could be derived from the internal GPS
or an external BT GPS device
Title: Re: USB-GPS Working in PilotAware
Post by: Robski on September 29, 2015, 05:18:09 pm
Me again! The dim one!

Read this thread and I think I understand what's ocurring but...

Is an external GPS dongle recommended over collisionAware (for Android)? If so do we have a recommended device?

I ask as I'm ordering up bits to build my PA this afternoon...
Title: Re: USB-GPS Working in PilotAware
Post by: Mig29fuk on September 29, 2015, 07:29:40 pm
Lee Hi!
All going well with my Pilot Aware and just about to add Pressure Module (not convinced its needed).
The last little challenge was USB-GPS. I connected a Global Sat BU-353S4 Module.
It draws 90mA, it has SIRF IV Chip Set.
In short it doesn't seem to join up with PA. I've attached a Configuration Page to see if error status means anything.
It's not a real worry as if its no good it will have another home.
If you could spare a quick look I'd be very happy.
Regards
Gerry
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on September 29, 2015, 07:43:33 pm

In short it doesn't seem to join up with PA. I've attached a Configuration Page to see if error status means anything.


It's because it is identified as a USB serial port (Prolific PL2303) - same issue with my MTK chipset GPS.

Lee is embodying a fix for this in a future release.
Title: Re: USB-GPS Working in PilotAware
Post by: Mig29fuk on September 29, 2015, 08:12:23 pm
Thanks for that info. I'll keep it in the PA Box of bits!
Gerry
Title: Re: USB-GPS Working in PilotAware
Post by: Wadoadi on September 29, 2015, 11:41:07 pm
Me again! The dim one!

Read this thread and I think I understand what's ocurring but...

Is an external GPS dongle recommended over collisionAware (for Android)? If so do we have a recommended device?

I ask as I'm ordering up bits to build my PA this afternoon...

I don't if it's preferred in general but I personally would prefer it!
The one that is currently being used is the UBLOX-7 here it is on Amazon http://amzn.to/1QK1Eyh
Title: Re: USB-GPS Working in PilotAware
Post by: rollingcircle on October 01, 2015, 11:13:46 pm

I cannot find a GPS that uses SPI or I2C that has support for the RPi today.


Apologies if this is old news - just registered, catching up with developments - but you might want to look at one of these:

http://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR12.TRC2.A0.H0.XI2C+GPS.TRS0&_nkw=I2C+GPS&_sacat=0

in combination with one of these:

http://www.ebay.co.uk/itm/Ublox-NEO-6M-GPS-Module-Aircraft-Flight-Controller-APM2-for-Arduino-/252100899673?hash=item3ab2627359

The former is essentially a minimal Arduino which reads parses NMEA or UBLOX protocol from the GPS and behaves as an I2C slave, responding with positioning data packets to an I2C master.  The drone brigade have been using these for a while to remove NMEA parsing duties from the flight controllers, but now that high speed 32 bit ARM controllers are becoming the norm as opposed to wheezing 8 bit Atmega systems the GPS parsing is now generally done by the flight controller.  The I2C-GPS breakouts and the UBlox GPS modules are cheap as chips from China, if you can't wait then let me know as I've got a few spare units kicking around and I'll send a pair over to you.

Will probably need some logic-level shifting for the Pi, but that's easily done.
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 02, 2015, 08:54:47 am
Took delivery of my G-Mouse GPS yesterday, one of these
http://www.aliexpress.com/item/VK-162-GPS-engine-board-Module-with-Antenna-USB-G-Mouse/32439292777.html

Plugged it in and got a fix within seconds, also recognised as this in USB
USB Bus 001 Device 007: ID 1546:01a6    U-Blox AG

So this works well in addition to the Ublox Dongle which appears as this
USB Bus 001 Device 008: ID 1546:01a7    U-Blox AG
Title: Re: USB-GPS Working in PilotAware
Post by: SteveN on October 03, 2015, 08:51:11 am
Lee Hi!
All going well with my Pilot Aware and just about to add Pressure Module (not convinced its needed).
The last little challenge was USB-GPS. I connected a Global Sat BU-353S4 Module.
It draws 90mA, it has SIRF IV Chip Set.
In short it doesn't seem to join up with PA. I've attached a Configuration Page to see if error status means anything.
It's not a real worry as if its no good it will have another home.
If you could spare a quick look I'd be very happy.
Regards
Gerry

My SirfIII GPS locks fine but does not work with PA either.   Running on my other Pi this is some raw output from 'gpsmon', a utility bundled with the gpsd-clients package.

/dev/ttyUSB0 4800 8N1

$GPVTG,,T,,M,0.00,N,0.0,K,A*13
$GPGGA,074737.000,5134.8553,N,00234.6896,W,1,08,1.1,32.1,M,49.0,M,,0000*77
$GPGLL,5134.8553,N,00234.6896,W,074737.000,A,A*47
$GPGSA,A,3,25,26,29,31,23,05,16,21,,,,,2.0,1.1,1.7*3C
$GPRMC,074737.000,A,5134.8553,N,00234.6896,W,0.00,,031015,,,A*68
$GPVTG,,T,,M,0.00,N,0.0,K,A*13
$GPGGA,074738.000,5134.8553,N,00234.6896,W,1,08,1.1,32.1,M,49.0,M,,0000*78
$GPGLL,5134.8553,N,00234.6896,W,074738.000,A,A*48
$GPGSA,A,3,25,26,29,31,23,05,16,21,,,,,2.0,1.1,1.7*3C
$GPRMC,074738.000,A,5134.8553,N,00234.6896,W,0.00,,031015,,,A*67
$GPVTG,,T,,M,0.00,N,0.0,K,A*13
$GPGGA,074739.000,5134.8553,N,00234.6896,W,1,08,1.1,32.1,M,49.0,M,,0000*79
$GPGLL,5134.8553,N,00234.6896,W,074739.000,A,A*49
$GPGSA,A,3,25,26,29,31,23,05,16,21,,,,,2.0,1.1,1.7*3C
$GPGSV,3,1,11,26,62,293,36,29,53,064,39,31,48,206,36,21,46,159,28*7A
$GPGSV,3,2,11,16,31,294,21,25,23,114,19,05,12,051,29,20,12,100,17*74
$GPGSV,3,3,11,23,12,304,32,09,06,339,20,27,03,246,20*4D
$GPRMC,074739.000,A,5134.8553,N,00234.6896,W,0.00,,031015,,,A*66

Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 03, 2015, 09:14:29 am
Hi Steve
I understand the problem.
The issue is that this device is not known to the USB system as a GPS.
If you issue the command lsusb, I am guessing it will be listed as either a pl2303 or an ftdi. These are simply usb/rs232 bridges.

I can fix this, simply need a bit of configuration to indicate to PAW, connect to this device at this baud rate.

So I will fix this, just difficult for me to test

Thx
lee
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on October 03, 2015, 09:16:47 am

So I will fix this, just difficult for me to test


Lee, do you want me to send you my MTK3337 GPS mouse for testing? Email me on the usual address if you do.
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 03, 2015, 09:52:12 am

So I will fix this, just difficult for me to test


Lee, do you want me to send you my MTK3337 GPS mouse for testing? Email me on the usual address if you do.

Hi Mark,
I think I can fix this pretty easily in the web interface
I need a simple way of configuring a physical usb port by type,
eg gps(in) or transponder(out)
And baud rate
4800, 9600, 57600

I think that would suffice ?

and this would probably only be required on rs232 devices, it seems the ublox devices come configured as coomunication devices /dev/ACMx

I can send you software to test, more easily than you sending hardware  :)

Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: Mig29fuk on October 03, 2015, 09:56:24 am
Lee
I have another USB GPS with same serial 2303 need.
Will test new Software if that helps.
Gerry
Title: Re: USB-GPS Working in PilotAware
Post by: SteveN on October 03, 2015, 10:23:18 am
Hi Steve
I understand the problem.
The issue is that this device is not known to the USB system as a GPS.
If you issue the command lsusb, I am guessing it will be listed as either a pl2303 or an ftdi. These are simply usb/rs232 bridges.

I can fix this, simply need a bit of configuration to indicate to PAW, connect to this device at this baud rate.

So I will fix this, just difficult for me to test

Thx
lee


Yep!

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

happy to help test when you have a binary if reqd :)

Steve
Title: Re: USB-GPS Working in PilotAware
Post by: stephenmelody on October 03, 2015, 12:26:03 pm
Do I have a problem???

PilotAware (20150924), Expires 20161101
______________Interface______________   __________________Status__________________
NAVIGATION   Off
ADS-B (DVB-T)   On
RXTX (ARF)   On
Pressure Altitude (BMP)   Off
ADSB Sentences   1628(+4)
GPS Sentences (TCP)   0(+0)
GPS Sentences (UDP)   0(+0)
GPS Sentences (USB)   1509(+41) Fix="Invalid" Mode="Not Available" Satellites=0
USB Bus 001 Device 002: ID 0424:9514   Standard Microsystems Corp.
USB Bus 001 Device 001: ID 1d6b:0002   Linux Foundation 2.0 root hub
USB Bus 001 Device 003: ID 0424:ec00   Standard Microsystems Corp.
USB Bus 001 Device 004: ID 0bda:2838   Realtek Semiconductor Corp. RTL2838 DVB-T
USB Bus 001 Device 006: ID 1546:01a7   U-Blox AG
USB Bus 001 Device 005: ID 148f:5370   Ralink Technology, Corp. RT5370 Wireless Adapter


I also have this on the screen... excuse the reflection!! http://www.stephenmelody.co.uk/gps.jpg (http://www.stephenmelody.co.uk/gps.jpg)
Title: Re: USB-GPS Working in PilotAware
Post by: stephenmelody on October 03, 2015, 12:58:11 pm
Ignore me... stuck it outside and it's working now!! :D
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 03, 2015, 02:40:24 pm
Is this the first time you have plugged this in ?
the first acquisation from the factory can take a very looonnnggg time.
For mine I think it was 30 minutes.
Title: Re: USB-GPS Working in PilotAware
Post by: stephenmelody on October 03, 2015, 02:41:58 pm
Thanks Lee, but my issue was it couldn't see the sky... sometimes I'm pretty stupid.

Doesn't seem to pick up the GPS inside my house, although my iPad does... maybe that's because it's using wifi/location services to fix a position.

Only took a couple of seconds to get a GPS fix once it was better located.
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 03, 2015, 02:43:33 pm
Hi Steve, Mark
and anyone else interested. I have a release just waiting for build completion, which will enable the connection of GPS devices through /dev/ttyUSBx (PL2303 devices)

Once it is available I will post a message here.

You can configure through the web interface, which slot will have the GPS inserted.
This device is then opened by PilotAware and used as the GPS source

Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 03, 2015, 02:44:43 pm
Thanks Lee, but my issue was it couldn't see the sky... sometimes I'm pretty stupid.

Doesn't seem to pick up the GPS inside my house, although my iPad does... maybe that's because it's using wifi/location services to fix a position.

Only took a couple of seconds to get a GPS fix once it was better located.

Yes IOS devices take their location from WiFi as well, I presume that is what is used inside your house

Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 03, 2015, 04:57:19 pm
Hi Steve, Mark
and anyone else interested. I have a release just waiting for build completion, which will enable the connection of GPS devices through /dev/ttyUSBx (PL2303 devices)

Once it is available I will post a message here.

You can configure through the web interface, which slot will have the GPS inserted.
This device is then opened by PilotAware and used as the GPS source

Thx
Lee

New release is here, should be available from about 17:30 03/10/15
http://forum.pilotaware.com/index.php/topic,114.0.html
Title: Re: USB-GPS Working in PilotAware
Post by: stephenmelody on October 03, 2015, 06:06:03 pm
Installed on one unit and running,  second one coming up in the next few minutes...

couple of points...

1 - LOVE the keyboard free install, makes life much easier and stops me having to search round the house for it.

2 - "Searching for GPS=/dev/unknown" seems to show up in the log constantly... is it suppressible if you don't have a USB GPS?

What will editing the RF settings do??
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 03, 2015, 07:28:23 pm
2 - "Searching for GPS=/dev/unknown" seems to show up in the log constantly... is it suppressible if you don't have a USB GPS?

Oooops, quick patch to come along I think.

Quote
What will editing the RF settings do??

This is really only intended for the testing mode, so please keep it at the default.
This will probably be removed in a later version, but I wanted the flexibility in field trials to change power & datarate

I think your GPS was working already anyway, so this does not really add anything for you as far as GPS is concerned.

And finally, I agree, the non-interactive install is great !

Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: Mig29fuk on October 03, 2015, 07:46:23 pm
Lee
GlobalSat BU-353S4 working great! Many thanks. It's SIRF lV.
Its showing remarkably accurate Altitude against known location height.
Thanks again.
Gerry
Title: Re: USB-GPS Working in PilotAware
Post by: Flyguyal on October 05, 2015, 07:02:25 pm
Hi Lee, I've just received my U-blox7. Does it matter which USB slot it goes in?
Title: Re: USB-GPS Working in PilotAware
Post by: Pete on October 05, 2015, 07:11:34 pm
Hi Lee

Just received my GPS Dongles (2) today,both acquired fixes within 5 mins and from inside the house ( Sat on window sill)

One thing puzzles me, the dongle you supplied me at Rally has always been perfect and  others I obtained kept giving the "Connection Lost to SD" and eventually "Butterfly Connection Lost"
I'm currently testing one of those suspect dongles with USB GPS Dongle and so far (2hrs ) hasn't lost connection? Is this a coincidence fix as the WiFi dongles aren't working so hard with as much data by using USB GPS dongle?
New s/w is loaded on all units BTW and it has some great improvements. Thanks for your efforts on this.
Title: Re: USB-GPS Working in PilotAware
Post by: N6010Y on October 05, 2015, 07:15:11 pm
Hi Lee,

Awaiting the arrival of my USB GPS Dongle.

Similar question to the above; does it matter what USB slot the GPS is plugged into.

The new software allows configuration of the USB ports but:

1.  The web interface shows that I have 5 USB ports fitted and not the 4 on the B+ board. and,
2.  Off the 4 fitted, how are the numbered, so I know which port to configure to the GPS in?

TVM (Ta Very Much)

Hugh
Title: Re: USB-GPS Working in PilotAware
Post by: falcoguy on October 06, 2015, 10:16:25 am
Just to add info
I have bought one of the white uBlox 7 GPS/GNSS dongles.  After leaving it to start up we have been using it on a pilotware in Johns van.

Working brilliantly with very stable input to skydemon.

Dave t
Title: Re: USB-GPS Working in PilotAware
Post by: The Westmorland Flyer on October 10, 2015, 06:38:25 pm
I'm managing to confuse myself over what bits perform what function. In my config I have XGPS150 bluetooth GPS which in normal operation talks to the iPad running SD. The iPad is the type that does not have built in GPS. All that works fine and has done for years.

In this case, do the GPS data get sent from the iPad to PAW via the CollisionAware interface? What about the traffic data? I set a FLARM key 6000 so does that mean some other session is being established across the WiFi link? I'm trying to understand what data go where and how all these interfaces interact. Is there some sort of system diagram that shows all this stuff?

I'm also wondering whether to get a WAAS GPS to fit onto PAW and use that instead of (as well as?) the XGPS150. My concern is that it seems to be a bit of a palava getting all these interfaces running and my pre-flight checks are complicated enough already! If I understood how it all hangs together then I'd feel a lot more competent getting and keeping the system running in flight.

Thanks for any insight!
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on October 10, 2015, 08:27:25 pm
If you want an easy life I'd suggest buying one of the uBlox GPS dongles and plugging that into the PAW. Then you just connect to the PAW Wifi and run SkyDemon or similar - no other app required
Title: Re: USB-GPS Working in PilotAware
Post by: The Westmorland Flyer on October 10, 2015, 08:48:13 pm
Hi Ian,

That's certainly one option to explore although I would want to engineer high reliability of the power supply to the RPi before trusting a key navigation facility to it.

In that configuration, how do the GPS position data get to the iPad/SD? Obviously over the WiFi connection but does it go via CollisionAware or does it have its own application protocol stack? I'm guessing I still need to run CollisionAware to get the traffic into SD? In short, I don't really understand what CollisionAware does!
Title: Re: USB-GPS Working in PilotAware
Post by: stephenmelody on October 10, 2015, 09:14:40 pm
Collisionaware just takes the GPS location and passes it to the RPi (as far as I can tell).

In my main unit config, I have a USB GPS, and then I just connect to the RPi on wifi, Go-Flying with FLARM (as it's called) and i'm way. the GPS dongle knows where it is and the RPi passes everything across the wifi.
Title: Re: USB-GPS Working in PilotAware
Post by: The Westmorland Flyer on October 11, 2015, 09:05:10 am
Collisionaware just takes the GPS location and passes it to the RPi (as far as I can tell)
Yes, that seems to make sense now that I've drawn a couple of system diagrams. The name confused me, implying that it did rather more. On that basis it's pretty clear that the best solution is to have the GPS plugged directly into the RPi and then engineer a high level of power integrity for the RPi in the cockpit. Fewer interfaces to set up/go wrong. Many thanks.
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on October 11, 2015, 09:23:04 am
Yes the app is to get the GPS info from the tablet/phone over to PAW which then uses it and passes info back to the tablet for SkyDemon etc.

So if you have the USB GPS no CollisionAware app is needed as the PAW gets GPS info from that and not the tablet.
Title: Re: USB-GPS Working in PilotAware
Post by: scsirob on October 11, 2015, 04:08:04 pm
Is the current version also supposed to work with FTDI USB serial ports? I have one of those with a uBlox attached to it, and it shows up in the status screen, but no GPS is detected  :-\ .
=====
PilotAware (20151003), Expires 20161101

______________Interface______________    __________________Status__________________
NAVIGATION    Enabled
ADS-B (DVB-T)    Unavailable
RXTX (ARF)    Unavailable TX=0 RX=0 CRCFAIL=0
Pressure Altitude (BMP)    Unavailable (Manual) QNH=1013mb QNE=0ft GNSS=0ft
ADSB Sentences    0(+0)
GPS Sentences (TCP)    0(+0)
GPS Sentences (UDP)    0(+0)
GPS Sentences (USB)    0(+0) Fix="Invalid" Mode="Undefined" Satellites=0
USB Bus 001 Device 002: ID 0424:9514    Standard Microsystems Corp.
USB Bus 001 Device 001: ID 1d6b:0002    Linux Foundation 2.0 root hub
USB Bus 001 Device 003: ID 0424:ec00    Standard Microsystems Corp.
USB Bus 001 Device 004: ID 0403:6001    Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
USB Bus 001 Device 005: ID 0df6:005f    Sitecom Europe B.V.

Anything I can do to make this work?
Title: Re: USB-GPS Working in PilotAware
Post by: SteveN on October 11, 2015, 04:29:44 pm
Some serial USB will work but mine won't. I just ordered a Ublox and chucked my PL3203 GPS in the spares box.

I think Lee will have to specify the Ublox rather than try to accommodate anything we happen to have lying about. IMHO he has more important fish to fry.
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 11, 2015, 05:39:38 pm
Usbtty devices are not detected automatically
You need to specify the port and baud rate on the config page
thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: The Westmorland Flyer on October 11, 2015, 05:52:14 pm
Yes the app is to get the GPS info from the tablet/phone over to PAW which then uses it and passes info back to the tablet for SkyDemon etc.
Thanks Ian. Makes perfect sense now and explains your earlier point about going for the easy life. It makes attaching the GPS to the RPi by far the best solution. That's what I'll do!
Title: Re: USB-GPS Working in PilotAware
Post by: scsirob on October 11, 2015, 06:22:27 pm
Usbtty devices are not detected automatically
You need to specify the port and baud rate on the config page
thx
Lee

Thanks Lee.. But which physical port is 1,2,3 or 4? Or is it just trial and error in this case?
Title: Re: USB-GPS Working in PilotAware
Post by: scsirob on October 11, 2015, 06:33:51 pm
I just confirmed that the FTDI port is configured as ttyUSB0. When I try to configure the usb port is tries accessing /dev/usbp1 or whichever the first one I set to be a GPS. It does not try to access ttyUSB0 where USB serial port converters usually register. What am I doing wrong?

Edit: I got it going! The GPS was at port 3, and the trick was that PAW needed to be rebooted before it opened the GPS port properly. Trying to configure and save one port after another did not work. The good news is that apparently a FTDI-based serial USB converter can work.
Title: Re: USB-GPS Working in PilotAware
Post by: Paul_Sengupta on October 11, 2015, 08:10:58 pm
Following on from tWF's confusion, I also have some queries.

As I understand it, if you have a non-GPS iPad, you can use the GPS on the PAW to feed the iPad for your navigation software...is this correct?

Now say, like John, you have an XGPS-150/160 connected to the iPad. Which GPS does the iPad use?

Similar question with iPads or Android tablets which do have the built in GPS. Which GPS does it use for navigation?
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on October 11, 2015, 08:13:33 pm
Hopefully Lee will correct me if I'm wrong but if you have the GPS dongle it will use that.

If you don't then the CollisionAware app takes the GPS from whatever the tablet is using and forwards that to the PAW
Title: Re: USB-GPS Working in PilotAware
Post by: captchaos on October 12, 2015, 11:17:25 am
I have been using the GPS off the ipad and collisionaware. However, the GPS fix in SD occasionally freezes and as I understand this may be because the fix is passed back to SD from PA. I have therefore ordered a GPS dongle to see if this improves things.

However, is there a way to have the PA unit use the GPS dongle for its fix and the ipad to use its internal GPS for its fix? This would be to ensure the SD nav is not impacted if the PA unit has a problem.
Title: Re: USB-GPS Working in PilotAware
Post by: scsirob on October 12, 2015, 12:08:54 pm
My uBlox 6 GPS seems to work OK (using it with EasyVFR), except on the console I get massive amounts of "$GPTXT,01,01,01,NMEA unknown msg*58" lines logged, interleaved with valid NMEA messages. When I attach the GPS directly to my PC, all it generates is valid NMEA messages. What might this be?
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on October 12, 2015, 12:22:47 pm
My uBlox 6 GPS seems to work OK (using it with EasyVFR), except on the console I get massive amounts of "$GPTXT,01,01,01,NMEA unknown msg*58" lines logged, interleaved with valid NMEA messages. When I attach the GPS directly to my PC, all it generates is valid NMEA messages. What might this be?

Hi - I'm interested in the fact you're running EasyVFR - my friend has this and we can't get it to work. We always get no position info in Easy VFR on his iPad as soon as we try to use FLARM/PAW. Everything works fine with his unit on my SkyDemon or with his EasyVFR using the normal navigation by internal GPS in the iPad.

Pretty sure we've got everything set up right but am intrigued as to how yours is working and what we might have missed!
Title: Re: USB-GPS Working in PilotAware
Post by: scsirob on October 12, 2015, 01:19:44 pm
My setup is a bit different. I run EasyVFR on a mini-PC with Windows 8.1 and a 7" touchscreen.
(http://www.rtist.nl/images/InFlight.JPG)

The image shows PocketFMS, I have updated the system since then.

EasyVFR connects to PAW using Ethernet, using the settings mentioned in the "First time booting" thread. When I connect, I get a green 'GPS Flarm' indicator.

Officially, EasyVFR does not support PAW yet, but that is about to change soon.
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on October 12, 2015, 01:44:10 pm
Ah - that explains it - great - thanks
Title: Re: USB-GPS Working in PilotAware
Post by: scsirob on October 13, 2015, 07:15:12 am
Anyone with ideas how to get rid of the "$GPTXT,01,01,01,NMEA unknown msg*58" messages? Is this a software issue, or perhaps a uBlox setting?
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 13, 2015, 10:43:53 am
Anyone with ideas how to get rid of the "$GPTXT,01,01,01,NMEA unknown msg*58" messages? Is this a software issue, or perhaps a uBlox setting?

Hi Rob,
The parser throws out messages which cannot be successfully parsed.
This was so that nothing slips through the net, I can silence the GPTXT messages, there is actually no use in these messages for PAW

thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: Flyguyal on October 13, 2015, 10:29:19 pm
Took my pilot aware out for a spin at the weekend using the USB gps and it worked a treat.
Title: Re: USB-GPS Working in PilotAware
Post by: the_top_pilot on October 14, 2015, 12:37:29 pm
Lee,

I am running the USB-GPS Dongle and it is working a treat. a lot less hassle than my GNS2000. One less thing to carry any worry about power for.

Steve
Title: Re: USB-GPS Working in PilotAware
Post by: fly2alpha on October 16, 2015, 12:26:01 pm
I am a newbie with a non GPS iPad mini linked to a PAW unit with a u-blox7 GPS dongle in the PAW. I am running Sky Demon on the iPad and have powered up the PAW. The GPS has a pulsing green light OK. However, when I try to obtain the GPS data etc from the PAW using the Flarm setting I am getting an error message - Failed to establish a connection with the Butterfly Connect Unit - probably something simple and would be grateful for a steer on this.  Chris (G-BKGA/EGBE)
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 16, 2015, 01:00:53 pm
I am a newbie with a non GPS iPad mini linked to a PAW unit with a u-blox7 GPS dongle in the PAW. I am running Sky Demon on the iPad and have powered up the PAW. The GPS has a pulsing green light OK. However, when I try to obtain the GPS data etc from the PAW using the Flarm setting I am getting an error message - Failed to establish a connection with the Butterfly Connect Unit - probably something simple and would be grateful for a steer on this.  Chris (G-BKGA/EGBE)

May be a silly question, but you have connected to the PilotAware WiFi ?

What version are you using ?

Can you connect Safari to the address http://192.168.1.1 this is the internal web server.
Post a screenshot if you can

Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: fly2alpha on October 16, 2015, 01:21:28 pm
Thanks Lee and yes to your queries. However, I have sorted it now - found the answer in your post on the 'First Time Booting' thread. I had simply not found your Sky Demon set up advice previously. Have followed that and everything sprang into life instantly! Air testing next and then going on to look into using the onboard PDA that I mentioned to you. I have ascertained that it has the RS232 interface ability and there is a dedicated lead that I am trying to source. Will let you know how I get on. Also looking into coupling to my Trig transponder, with ADS-B out. Regards, Chris   
Title: Re: USB-GPS Working in PilotAware
Post by: The Westmorland Flyer on October 17, 2015, 12:52:09 pm
My U-Blox USB GPS arrived in this morning's post and was quickly added to system 1. Within a couple of minutes it had acquired 6 satellites and is now showing DGPS fix, 3D, 12 satellites. Altitude accuracy seems to be within 10ft or so, so it looks like EGNOS is working. Does "DGPS fix" mean that it's using EGNOS?

System 2 is complete just awaiting a licence number then I'll be able to start doing some flight tests. Exciting times :)
Title: Re: USB-GPS Working in PilotAware
Post by: DavidC on October 18, 2015, 03:49:24 pm
I seem to be having a lot more trouble with my uBlox GPS dongle than many others.
It just won't pickup a signal (indoors, where the iPad works fine).

Attach diagnostic screen trace with error messages and iPad web status page.
Using latest 3 Oct software
When turning on Collision Aware App, it works fine and displays airliners in the vicinity with full callsign.

Config page has default setting for all USB ports.

Any suggestions?

Title: Re: USB-GPS Working in PilotAware
Post by: DavidC on October 18, 2015, 04:08:31 pm
Got it working  ;D

Which of
a) plugging the GPS dongle into the top right hand side USB port (looking into the sockets)
b) being patient enough to wait for it to download the ephemeris data (up to 15 mins on first/cold start someone said)
c) moving the dongle nearer the window

I don't know, but it seems to work. Will try it out for reliability on my next flight.
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on October 26, 2015, 02:31:25 pm
Got it working  ;D

Which of
a) plugging the GPS dongle into the top right hand side USB port (looking into the sockets)
b) being patient enough to wait for it to download the ephemeris data (up to 15 mins on first/cold start someone said)
c) moving the dongle nearer the window

I don't know, but it seems to work. Will try it out for reliability on my next flight.

I would think b and c !
Title: Re: USB-GPS Working in PilotAware
Post by: stephenmelody on October 26, 2015, 03:08:24 pm
I would agree on B and C, no green flashing light, no GPS info - took me a while to remember that when I got mine!! I've had the GPS dongle plugged into various USB ports so I would discount A.

Also, the ipad has assisted GPS, which can use wifi and cellular services to triangulate your position, giving you a much quicker time to first fix than just a GPS dongle, which needs to see the satellites..., also why it works exceptionally well indoors.
Title: Re: USB-GPS Working in PilotAware
Post by: trapdoor on October 26, 2015, 04:05:00 pm
I have a G-Mouse based on the MTK chipset, and one of the 'recommended' uBlox7 GPS dongles.

The MTK chipped GPS has an almost instantaneous startup, position fix is spot on, as is 'direction'. Whereas the uBlox7 dongle can sometimes take 5 minutes to come up on a cold start and sometimes goes in and out of GPS lock several times before it becomes reliable. It also has a tendency to 'wander' in both position and direction, and often shows a groundspeed (albeit very low) when the thing is just sitting there.

Given a choice, I'll use the MTK chipset G-Mouse as it appears to be 100% reliable both on the ground and in the air, and is easier to position for a sky view - and is unlikely to get knocked out or be shielded by the roof on my all-metal aircraft.
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on October 26, 2015, 04:14:01 pm
I have a G-Mouse based on the MTK chipset, and one of the 'recommended' uBlox7 GPS dongles.

The MTK chipped GPS has an almost instantaneous startup, position fix is spot on, as is 'direction'. Whereas the uBlox7 dongle can sometimes take 5 minutes to come up on a cold start and sometimes goes in and out of GPS lock several times before it becomes reliable. It also has a tendency to 'wander' in both position and direction, and often shows a groundspeed (albeit very low) when the thing is just sitting there.

Given a choice, I'll use the MTK chipset G-Mouse as it appears to be 100% reliable both on the ground and in the air, and is easier to position for a sky view - and is unlikely to get knocked out or be shielded by the roof on my all-metal aircraft.

Interesting! I don't see any of those issues with the uBlox.
Title: Re: USB-GPS Working in PilotAware
Post by: stephenmelody on October 26, 2015, 04:16:19 pm
me neither... aside the groundspeed, but I would often get that at home with the built in GPS on the ipad (1 or 2 kts).

the only issue I did have was when it went a bit crazy on me, see this post: http://forum.pilotaware.com/index.php/topic,191.msg2714.html#msg2714
Title: Re: USB-GPS Working in PilotAware
Post by: ianfallon on October 26, 2015, 04:21:03 pm
easier to position for a sky view

An appealing property for sure. We have 3 antennas on a PAW and really all of them need it  :)
Title: Re: USB-GPS Working in PilotAware
Post by: Robski on October 26, 2015, 04:23:50 pm
We have 3 antennas on a PAW and really all of them need it  :)
Can you expand on this, please?
All ADS-B? All P3I? 2 + 1? 1 + 2? Does the GPS figure in the count?
If some are interconnected how are they linked together?
Ta!
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on October 26, 2015, 04:43:13 pm
4 Antenna really

GPS
DVB-T
P3I
WiFi

Thx
Lee
Title: Re: USB-GPS Working in PilotAware
Post by: bendavis on October 26, 2015, 06:06:20 pm
I have a G-Mouse based on the MTK chipset, and one of the 'recommended' uBlox7 GPS dongles.

The MTK chipped GPS has an almost instantaneous startup, position fix is spot on, as is 'direction'. Whereas the uBlox7 dongle can sometimes take 5 minutes to come up on a cold start and sometimes goes in and out of GPS lock several times before it becomes reliable. It also has a tendency to 'wander' in both position and direction, and often shows a groundspeed (albeit very low) when the thing is just sitting there.

I too have those issues with my uBlox, taking an age to fix from cold, then shows a small amount of movement, only 2 / 3 mph then settles for a bit. None of which I got when using the iPads gps source.

Ben
Title: Re: USB-GPS Working in PilotAware GlobalSat BU-353S4
Post by: Winged_Jaguar on December 21, 2015, 10:41:37 am

GlobalSat BU-353S4 working great! Many thanks. It's SIRF lV.
Its showing remarkably accurate Altitude against known location height.
Thanks again.
Gerry

Following Gerry's success, my BU-353S4 did not appear to be automatically recognised as a GPS device in the most recent releases (Nov-Dec'15). In the device table it shows as a Prolific Technology, Inc. PL2303 Serial Port. I did get it working by going into the PAW Configuration Menu and changing the Port Table entry for the device from AUTO to GPS (default speed 4800 baud) and following this with a reboot. To repeat information detailed elsewhere you need to know which number port your BU-353S4 is plugged into. Looking at the USB ports with the Ethernet port to the left: Port 1 top left; Port 2 bottom left; Port 3 top right; Port 4 bottom right.

The Bad Elf GPS Pro+ 2300 also works but is correctly detected automatically without needing to update the table.

Chris
G-DATG


Title: Re: USB-GPS Working in PilotAware
Post by: roweda on December 21, 2015, 01:45:57 pm
Quote
I too have those issues with my uBlox, taking an age to fix from cold, then shows a small amount of movement, only 2 / 3 mph then settles for a bit. None of which I got when using the iPads gps source.

The GPS receivers in Android tablets also have a tendency to show minor movement when stationery, where as iPad GPS are more stable.
Title: Re: USB-GPS Working in PilotAware
Post by: Robski on December 24, 2015, 08:15:39 am
The GPS receivers in Android tablets also have a tendency to show minor movement when stationery, where as iPad GPS are more stable.
That should say in SOME Android tablets!

My Samsung phone and Google Nexus 7 tablet are rock solid!

I should hope an iPad is better than a cheap tablet, given the price premium.
Title: Re: USB-GPS Working in PilotAware
Post by: exfirepro on December 24, 2015, 10:51:53 am
Not a PAW reference as neither of us had PAW at the time, but iPads built in gps isn't infallible either - out in France this summer I was using my (wi-fi only) nexus 7 to drive SD with only 1 dropout the whole trip. A colleague using a 4G iPad mini 3 kept losing gps fix and eventually had to borrow a bad elf to cure the problem for the rest of the trip.

Since adopting PAW I have had very reliable gps performance using a u-Blox 7 dongle on my PAW with both the Nexus and my i-Pad mini 3 - both of which are wi-fi only (the Nexus has a gps chipset but the i-Pad Mini doesn't).

Unless there is a strong technical reason not to (Lee?), I for one will continue to use a dedicated gps to feed my PAW no matter which display device I am using.

Regards

Peter
Title: Re: USB-GPS Working in PilotAware
Post by: Admin on December 24, 2015, 11:04:18 am
Unless there is a strong technical reason not to (Lee?), I for one will continue to use a dedicated gps to feed my PAW no matter which display device I am using.

To be honest, my recommendation is the U-Blox (dongle or g-mouise) plugged into PAW.
On a secondary issue, my MAC maintenance agreement and software developer license is up for renewal in 30 days time.
I have developed a single (free) app for iOS to be able to share the GPS data from iOS devices to PAW.
I do not intend to continue paying out on this, when I do not view this as a core part of PilotAware.

I guess if anyone wants to take on the maintenance of the GPS sharing app ....

Thx
Lee