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

    I connected a passive GPS on a LoPy device on the GPS pin. What is the pin number to read those values?

    Scheduled Pinned Locked Moved LoPy
    lopygpspinpycom
    14 Posts 4 Posters 4.2k 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.
    • L Offline
      lawrence
      last edited by

      I connected a passive GPS on a LoPy device. What is the pin number to read those values?

      1 Reply Last reply Reply Quote 0
      • R Offline
        rskoniec
        last edited by

        If you need pin number in P or G notation you have to give us more details:

        1. Are you using Expansion Board or breadboard for GPS connection?
        2. Can you share a photo of your setup?

        The machine is working as good as it's code.

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          lawrence
          last edited by

          I'm not using an expension board i connected the GPS antenna on the LoPy itself. There are 2 possible antenna possibilities ( LoRa and gps antenna). i'll post a picture after this post.

          R 1 Reply Last reply Reply Quote 0
          • L Offline
            lawrence @rskoniec
            last edited by

            @rskoniec lopy
            i need it in p notation this is wat i tried.

            from machine import Pin
            from machine import UART

            #Interface definitons for GPS
            gps_pps = Pin('P23', mode = Pin.IN)
            gps_enable = Pin('P8', mode=Pin.OUT)
            gps_enable(False)
            gps_uart = UART(1, 9600)
            gps_uart.init(9600, bits=8, parity=None, stop=1)

            gps_enable(True)
            while True:
            if gps_uart.any():
            print(gps_uart.readline())

            S 1 Reply Last reply Reply Quote 0
            • R Offline
              rskoniec @lawrence
              last edited by rskoniec

              @lawrence said in I connected a passive GPS on a LoPy device on the GPS pin. What is the pin number to read those values?:

              I'm not using an expension board i connected the GPS antenna on the LoPy itself. There are 2 possible antenna possibilities ( LoRa and gps antenna). i'll post a picture after this post.

              AFAIK 2 uFL antenna connectors are for WLAN/BT and LoRa. According to your picture you've connected your GPS antenna to uFL WLAN/BT connector.
              Anyway, your setup would be OK if LoPy board would have GPS receiver built-in. AFAIK it hasn't.

              The machine is working as good as it's code.

              L 1 Reply Last reply Reply Quote 0
              • S Offline
                Shaun @lawrence
                last edited by

                @lawrence
                You have connected a passive GPS antenna to the uFL connector meant for a WiFi antenna .
                There is no GPS receiver in the LoPy or WiPy.
                You will be required to connect an entire GPS module to the LoPy

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  lawrence @Shaun
                  last edited by

                  @Shaun tnx for help

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rskoniec
                    last edited by rskoniec

                    This could be good start for GPS adventure: ;o)

                    @johnmcdnz said in LoPy UART for GPS not reading data:

                    @livius It's this
                    http://www.addicore.com/NEO-6M-GPS-p/231.htm
                    available and cheap :-)
                    (I don't buy from that website, just a local supplier of the same thing)

                    @affoltep said in LoPy UART for GPS not reading data:

                    @livius This module here, as well cheap and with integrated antenna.

                    The machine is working as good as it's code.

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lawrence @rskoniec
                      last edited by

                      @rskoniec What antenna do you recommend to use? It have to be as small and light as possible. That was the reason why i chose the passive ufl antenna. Or should i wait until the Pytrack expansion board of Pycom is released?

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        rskoniec @lawrence
                        last edited by rskoniec

                        @lawrence said in I connected a passive GPS on a LoPy device on the GPS pin. What is the pin number to read those values?:

                        @rskoniec What antenna do you recommend to use? It have to be as small and light as possible. That was the reason why i chose the passive ufl antenna. Or should i wait until the Pytrack expansion board of Pycom is released?

                        If we are talking about GPS antenna many GPS-RX modules are in 2 flavours:

                        • with integrated (built-in antenna) sometimes with uFL connector - for example this BTW, I'm using this one SparqEE GPS
                        • with uFL connected external antenna - for example this

                        PyTrack can be pre-ordered here with shipping in this month, so I guess it's up to you how fast you need GPS functionality and amount of money you'll want to spend on it.

                        The machine is working as good as it's code.

                        L 1 Reply Last reply Reply Quote 0
                        • L Offline
                          livius @rskoniec
                          last edited by

                          @rskoniec said in I connected a passive GPS on a LoPy device on the GPS pin. What is the pin number to read those values?:

                          BTW, I'm using this one SparqEE GPS

                          Can you bring some light about it (if you have one) - datasheet is realy poor without anyd details.
                          How fast it is (hot start, cold ...) and how accurate?
                          Power consumption?

                          think about people first, then computers

                          R 1 Reply Last reply Reply Quote 0
                          • R Offline
                            rskoniec @livius
                            last edited by rskoniec

                            @livius said in I connected a passive GPS on a LoPy device on the GPS pin. What is the pin number to read those values?:

                            @rskoniec said in I connected a passive GPS on a LoPy device on the GPS pin. What is the pin number to read those values?:

                            BTW, I'm using this one SparqEE GPS

                            Can you bring some light about it (if you have one) - datasheet is realy poor without anyd details.
                            How fast it is (hot start, cold ...) and how accurate?
                            Power consumption?

                            • Hot start - aprox. 1-2s
                            • Cold start - aprox. 30-40s
                            • Accuracy - aprox. 3-5m (good view open sky)

                            The machine is working as good as it's code.

                            L 1 Reply Last reply Reply Quote 0
                            • L Offline
                              livius @rskoniec
                              last edited by

                              @rskoniec
                              Thank you :)

                              P.S. price?

                              think about people first, then computers

                              R 1 Reply Last reply Reply Quote 0
                              • R Offline
                                rskoniec @livius
                                last edited by

                                @livius said in I connected a passive GPS on a LoPy device on the GPS pin. What is the pin number to read those values?:

                                @rskoniec
                                Thank you :)

                                P.S. price?

                                About 30$

                                The machine is working as good as it's code.

                                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