1 2 Previous Next 18 Replies Latest reply on Aug 3, 2014 12:22 PM by sicosys

    Looking for a Plugin to read data from a GPS device at USB

    almute

      Hi,

       

      for my project I need a plugin or script which can read the data sended by a GPS device which is attached at an USB port.

      The data from GPS is a simple text file.

       

      Is there anyone who can help me?

       

      Best

       

      Almute

        • 1. Re: Looking for a Plugin to read data from a GPS device at USB
          kmtenor

          Have a look at the Troi File Plugin:

           

          http://www.troi.com/software/fileplugin.html

           

          You'll have to handle the parsing of the data once you get the file imported, but you should be able to read the file itself without much difficulty, particularly if it's always in the same location.

           

          -Kevin

          • 2. Re: Looking for a Plugin to read data from a GPS device at USB
            almute

            Thanks Kevin,

             

            but I think that this toll is not the right one.

             

            As fare as I know there is no file written by the GPS device, which could be accessed.

            What I need is a tool which grabs the data coming in on the USB port. (And I can't spend 700 $ for this feature.)

             

            Almute

            • 3. Re: Looking for a Plugin to read data from a GPS device at USB
              jml

              While you were at the Troi website that Kevin gave, you may have seen the Troi Serial plug-in.  This is one of the few options that can be used although the development license is even more expensive ($999).

               

              What navigation software are you using? Can you get the fix data directly from it?

              • 4. Re: Looking for a Plugin to read data from a GPS device at USB
                almute

                The Troi Serial plug-in is not for USB - I have looked on their website. And I can't spend $1.000 for this. 

                 

                 

                 

                What navigation software are you using? Can you get the fix data directly from it?

                 

                My project doesn't work together with a navigation software. It is a standalone tool for digital logbook on boat.

                 

                I want to attach a GPS mouse and capture the data coming from this device for using them in my logbook. I know the structure of the data but I don't know how I can import the data into FM.

                 

                Almute

                • 5. Re: Looking for a Plugin to read data from a GPS device at USB
                  jml

                  almute wrote:

                   

                  The Troi Serial plug-in is not for USB - I have looked on their website. And I can't spend $1.000 for this. 

                   

                   

                  Almute

                   

                  NMEA 0183 and NMEA 2000 are not for USB either.  You would also need a serail-to-USB converter (e.g. Keyspan HS19, etc.).

                  • 6. Re: Looking for a Plugin to read data from a GPS device at USB
                    almute

                    jml schrieb:

                    NMEA 0183 and NMEA 2000 are not for USB either.  You would also need a serail-to-USB converter (e.g. Keyspan HS19, etc.).

                     

                    Could you please explain this? Every modern GPS mouse is attached to USB.

                     

                    And if I want to use the NMEA data from navigation envirement of the boat they will come in to my computer over TCP/IP (but this will be my next step after I have got the GPS mouse integration to work)

                    • 7. Re: Looking for a Plugin to read data from a GPS device at USB
                      jml

                      Very few boats use the USB output from GPS.  Most use the marine industry standards such as the older NMEA 0183 (serial) protocol or the newer NMEA 2000 (canbus) protocol.  There are also some proprietary communciations like Raymarine's SeaTalk but these have converters to NMEA 0183.  Raymarine's newer communications is SeaTalkng which mostly complies with NMEA 2000.  Even most Garmin GPS units that use a proprietary USB protocol offer a NMEA 0183 seral option.  TCP/IP is only used by a few manufacturers like Furuno and it is generally reserved for RADAR and adhoc WiFi data.

                       

                      Message was edited by: jml (sp)

                      • 8. Re: Looking for a Plugin to read data from a GPS device at USB
                        monkeybreadsoftware

                        What protocol does the GPS device has?

                        What USB Device class?

                         

                        I have made a few plugins for USB in the past.

                         

                        Greetings

                        Christian

                        • 9. Re: Looking for a Plugin to read data from a GPS device at USB
                          almute

                          jml schrieb:

                           

                          Very few boats use the USB output from GPS. 

                           

                           

                          For the first version of my logbook with GPS integration I want to offer the function that the user can plugin a GPS mouse in the USB port and than read the data from this device for filling out the logbook entries.

                           

                          I'm not a "real" developer and I don't know much about hardware interfaces and protocols. So may be that I don't know what is the difference between USB and serial. I thought that this is the kind of adapter (USB or the old serial adapter)?

                           

                          My actual version of the logbook is without GPS integration and work for Mac and Windows. Because I sell much more versions for Mac it is the first step to get the GPS integration to work on Mac.

                           

                          Thanks

                           

                          Almute

                          • 10. Re: Looking for a Plugin to read data from a GPS device at USB
                            almute

                            Hi Christian,

                             

                             

                            Christian Schmitz schrieb:

                             

                            What protocol does the GPS device has?

                             

                            Since I don't know much about the hardware I have copied some feature of a common GPS mouse:

                             

                            • SiRFstarIII™ high performance and low power chipset

                            • Accepts the signals of up to 20 satellites at the same time

                            • Supports NMEA 0183 protocols: GGA, GSA, GSV, RMC, GLL, VTG

                            • USB specification 1.1

                            • 4800 Baud

                             

                             

                            Christian Schmitz schrieb:

                             

                            What USB Device class?

                             

                             

                            Searching in internet a only found the following information:

                             

                            USB to serial adapters don’t have their own USB class

                             

                            And I found this for the USB mouse named above:

                            ---------------

                            Code:

                            Device Descriptor:
                            bcdUSB:             0x0110
                            bDeviceClass:         0x00
                            bDeviceSubClass:      0x00
                            bDeviceProtocol:      0x00
                            bMaxPacketSize0:      0x40 (64)
                            idVendor:           0x067B
                            idProduct:          0x2303
                            bcdDevice:          0x0300
                            iManufacturer:        0x01
                            iProduct:             0x02
                            iSerialNumber:        0x00
                            bNumConfigurations:   0x01

                             

                            ConnectionStatus: DeviceConnected
                            Current Config Value: 0x01
                            Device Bus Speed:     Full
                            Device Address:       0x01
                            Open Pipes:              3

                             

                            Endpoint Descriptor:
                            bEndpointAddress:     0x81
                            Transfer Type:   Interrupt
                            wMaxPacketSize:     0x000A (10)
                            bInterval:            0x01

                             

                            Endpoint Descriptor:
                            bEndpointAddress:     0x00
                            Transfer Type:     Control
                            wMaxPacketSize:     0x0507 (1287)
                            wInterval:          0x0202
                            bSyncAddress:         0x40

                             

                            Endpoint Descriptor:
                            bEndpointAddress:     0x00
                            Transfer Type:     Control
                            wMaxPacketSize:     0x0000 (0)
                            wInterval:          0x0000
                            bSyncAddress:         0x07

                            ------------------

                             

                            As I told in my answer to jml it is more important for me to get the GPS to work on Mac!

                             

                            Thanks

                             

                            Almute

                            • 11. Re: Looking for a Plugin to read data from a GPS device at USB
                              monkeybreadsoftware

                              Sorry, those values don't tell much.

                              The easiest may be to ask the creator of the device on how to use it.

                              Like: Is this an USB device I can connect to and get data? As serial interface? As HID interface?

                               

                              Greetings

                              Christian

                              • 12. Re: Looking for a Plugin to read data from a GPS device at USB
                                almute

                                Thank you. I will try this - and hope that I can use the answer for other GPS devices too.

                                 

                                Greetings

                                 

                                Almute

                                • 13. Re: Looking for a Plugin to read data from a GPS device at USB
                                  almute

                                  Hi Christian,

                                   

                                  I now have receive dthe information for the manufacturer of the common GPS mouse.

                                   

                                  The main information is: It is a serial device with a USB to serial bridge on base of a Prolific chipset.

                                  They sended me screenshots from windows settings and the complete

                                   

                                  ---===>Device Information<===---

                                  English product name: "USB-Serial Controller"

                                   

                                  Does this help for your tips?

                                   

                                  (I saw your answer to my question in German forum from Filemaker Magazin too. Perhaps we could make the discussion there in German. It might be easier for me.)

                                   

                                  Best

                                   

                                  Almute

                                  • 14. Re: Looking for a Plugin to read data from a GPS device at USB
                                    sicosys

                                    are you still interested on that plugin or script?

                                    1 2 Previous Next