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

    LoPy GPS Pytrack - No Coordinates found

    Scheduled Pinned Locked Moved LoPy
    lopygpspytrack
    9 Posts 5 Posters 2.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.
    • C Offline
      CodeManiac64
      last edited by

      0_1522919388142_No Coordinates found.PNG
      So I can't get any coordinates from the other LoPy that I got, I wanted to know why I can't get any. I found this example that I'm currently using and followed the instructions. https://github.com/sandyjmacdonald/lopy-gps-maps

      I believe the issue could be that I need to connect to the IP adress of the LoPy receiver, but I don't know where I do that in this example. Could someone help me with this? I'm a beginner with GPS API in python and really want to learn more!

      Thanks in advance!

      • CodeManiac64
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        stefan85e @CodeManiac64
        last edited by

        @codemaniac64
        Can this help in someway!?

        https://docs.pycom.io/chapter/pytrackpysense/apireference/sleep.html

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

          I am afraid this is not pycom code so we are not able to provide support for it, please check out our examples here:

          https://github.com/pycom/pycom-libraries/tree/master/pytrack

          If these give you issues then please report back

          S 1 Reply Last reply Reply Quote 0
          • K Offline
            kbman99
            last edited by

            Your issue may simply be that the GPS is not able to get a signal from a satellite. From what I've experienced, I can not get a signal unless there is very little in the way. For example, I live in a small condominium at the bottom floor out of 4 floors and the building is quite old so the walls are thick concrete and it's not exactly a tech friendly structure. I am unable to get GPS signal even at the window of my room, however I can receive signal whilst driving around in my car.

            One way you can test your GPS is to have this code set to run on boot, then hook up an external battery. If your LoPy finds no known WiFi networks in the area it will act as an access point so you can simply connect to the LoPy's WiFi on your phone, and you should be able to download and run a telnet/SSH application and telnet into the LoPy (IP should be 192.168.4.1 login: micro password: python) and view the REPL. From here you will see the output of the device on the go. This requires no internet or anything, just your phone and a bit of walking around.

            Other than this, you could get a GPS signal repeater if you require that your device stays indoors. You can find cheap ones and I know there have been some recommended on here for this exact issue.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              stefan85e @kbman99
              last edited by

              @kbman99 Thanks alot for the information we will look into that on monday :)

              1 Reply Last reply Reply Quote 0
              • A Offline
                agmatthews
                last edited by

                @CodeManiac64 have a look at https://forum.pycom.io/topic/2992/pytrack-gps-library-only-works-with-glonass-derived-positions
                If you are using the L76 library and only getting GPS fixes (no GLONASS) you will get no coordinates

                1 Reply Last reply Reply Quote 0
                • S Offline
                  stefan85e @seb
                  last edited by

                  @seb What is that I get out here the nr to the left?

                  0_1523271001461_c17a17dc-d48b-4064-8d43-07c3a48e92f4-image.png

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

                    @stefan85e

                        print("{} - {} - {}".format(coord, rtc.now(), gc.mem_free()))
                    

                    GPS Co-Ords - Current time from RTC (unset in your case) - Memory free

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      stefan85e @seb
                      last edited by

                      @seb I notice that the cordination has abit delay first time you upload it... and it start working once you reboot it :)

                      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