Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    GPS time from PyTrack

    Scheduled Pinned Locked Moved Expansion Board
    pytrackrtcgps time
    17 Posts 5 Posters 3.5k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jmpratt
      last edited by

      So does the GPS on the PyTrack communicate via a WiPy UART?

      sebS 1 Reply Last reply Reply Quote 0
      • sebS Offline
        seb @jmpratt
        last edited by

        @jmpratt

        It uses I2C to communicate

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jmpratt @seb
          last edited by

          @seb Thanks. Is there a list of I2C commands that the GPS module supports?

          sebS 1 Reply Last reply Reply Quote 0
          • sebS Offline
            seb @jmpratt
            last edited by

            @jmpratt
            http://www.quectel.com/UploadImage/Downlad/Quectel_L76-L_I2C_Application_Note_V1.0.pdf

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jmpratt @seb
              last edited by

              @seb Does Pycom have any example code that uses the GPS on the PyTrack? All I can find is the code that uses the accelerometer.

              sebS 1 Reply Last reply Reply Quote 0
              • sebS Offline
                seb @jmpratt
                last edited by

                @jmpratt

                Check https://github.com/pycom/pycom-libraries

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jmpratt @seb
                  last edited by

                  @seb Got it. Thanks!

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jmpratt
                    last edited by

                    Ok, I'm confused. Here's a link for a project using the PyTrack with the micropyGPS module: https://github.com/ozeta/iot-gps-receiver. If the PyTrack uses I2C to communicate with the GPS chip, how can micopyGPS communicate with the chip via the UART?

                    sebS 1 Reply Last reply Reply Quote 0
                    • sebS Offline
                      seb @jmpratt
                      last edited by

                      @jmpratt

                      I see no mention of UART in the linked code

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        jmpratt @seb
                        last edited by

                        @seb It looks like he's using both the micropyGPS and L76GNSS modules, which doesn't make any sense to me. Here he talks about seeing output on a UART with a PyTrack and the micropyGPS module: https://github.com/inmcm/micropyGPS/issues/7

                        Is he using the L76GNSS module to pull a NMEA sentence and then send it to the micropyGPS module for handling?

                        Anyone know of a way to contact an author on GitHub?

                        robert-hhR sebS 2 Replies Last reply Reply Quote 0
                        • robert-hhR Offline
                          robert-hh @jmpratt
                          last edited by

                          @jmpratt said in GPS time from PyTrack:

                          Anyone know of a way to contact an author on GitHub?

                          Raise an issue, then the owner will be notified.

                          1 Reply Last reply Reply Quote 0
                          • sebS Offline
                            seb @jmpratt
                            last edited by seb

                            @jmpratt

                            The L76GNSS library provided by pycom reads the NMEA sentences via I2C, there is no UART involved. The linked to code uses L76GNSS to get the sentenaces, and then micropyGPS to parse them

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              jmpratt @seb
                              last edited by

                              @seb Ok. Thanks for the confirmation. I appreciate the help.

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                andrethemac @jmpratt
                                last edited by

                                @jmpratt I've had the same question, and was looking for a library that didn't use to much memory. So I wrote it myself (based upon the default library and @Neuromystix idea's. https://github.com/andrethemac/L76GLNSV4

                                best regards

                                J 1 Reply Last reply Reply Quote 1
                                • J Offline
                                  jmpratt @andrethemac
                                  last edited by

                                  @andrethemac Thanks for letting me know! Your library is just what I was looking for.

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 1 / 1
                                  • First post
                                    Last post

                                  Pycom on Twitter

                                  Pycom