Author Topic: USB-GPS Working in PilotAware  (Read 77017 times)

Richard

Re: USB-GPS Working in PilotAware
« Reply #60 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.
« Last Edit: September 26, 2015, 09:32:48 pm by Richard »
Richard.
Europa XS

ibelmore

Re: USB-GPS Working in PilotAware
« Reply #61 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


Richard

Re: USB-GPS Working in PilotAware
« Reply #62 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.....
« Last Edit: September 27, 2015, 03:33:13 pm by Richard »
Richard.
Europa XS

Admin

Re: USB-GPS Working in PilotAware
« Reply #63 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

Robski

Re: USB-GPS Working in PilotAware
« Reply #64 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...
Rob
If the good Lord had intended man to fly He would have given him more money.

Mig29fuk

  • Full Member
  • ***
  • Posts: 114
  • Total likes: 29
  • G-MYUP. White Ox Mead Airstrip. Near Bath
    • View Profile
Re: USB-GPS Working in PilotAware
« Reply #65 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
G-MYUP
White Ox Mead Airstrip
Bath. England

trapdoor

Re: USB-GPS Working in PilotAware
« Reply #66 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.

Mig29fuk

  • Full Member
  • ***
  • Posts: 114
  • Total likes: 29
  • G-MYUP. White Ox Mead Airstrip. Near Bath
    • View Profile
Re: USB-GPS Working in PilotAware
« Reply #67 on: September 29, 2015, 08:12:23 pm »
Thanks for that info. I'll keep it in the PA Box of bits!
Gerry
G-MYUP
White Ox Mead Airstrip
Bath. England

Wadoadi

Re: USB-GPS Working in PilotAware
« Reply #68 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

rollingcircle

Re: USB-GPS Working in PilotAware
« Reply #69 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.

Admin

Re: USB-GPS Working in PilotAware
« Reply #70 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

SteveN

Re: USB-GPS Working in PilotAware
« Reply #71 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


Admin

Re: USB-GPS Working in PilotAware
« Reply #72 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

trapdoor

Re: USB-GPS Working in PilotAware
« Reply #73 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.

Admin

Re: USB-GPS Working in PilotAware
« Reply #74 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