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

    No GPS fix with Pytrack 2.0X and Lopy4

    Scheduled Pinned Locked Moved Expansion Board
    4 Posts 2 Posters 94 Views 2 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.
    • A Offline
      AndyBranch
      last edited by AndyBranch

      Cant get gps fix with my pytrack2.0 and lopy4.
      I am running 1.20.2r1 on my lopy and the default fw on my pytrack2.
      External GPS antenna attached to pytrack.

      So far i have tried the following actions:

      • Updated/reinstalled fw on Lopy4
      • formated flash and uploaded libs and main.py (from https://github.com/pycom/pycom-libraries/tree/master/pytrack-2)
      • set the timeout to 60sec.

      When running the main.py (pytack example from github), i dont get any errors/exeptions.
      It only prints:

      Reading file status
      Failed to read project status, uploading all files
      Creating dir lib
      [1/5] Writing file lib/L76GNSS.py (4kb)
      [2/5] Writing file lib/LIS2HH12.py (6kb)
      [3/5] Writing file lib/pycoproc.py (11kb)
      [4/5] Writing file lib/pytrack.py (1kb)
      [5/5] Writing file main.py (1kb)
      Upload done, resetting board...
      OKets Jun  8 2016 00:22:57
      
      rst:0x7 (TG0WDT_SYS_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
      configsip: 0, SPIWP:0xee
      clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
      mode:DIO, clock div:1
      load:0x3fff8020,len:8
      load:0x3fff8028,len:2140
      ho 0 tail 12 room 4
      load:0x4009fa00,len:19760
      entry 0x400a05bc
      
      RTC Set from NTP to UTC: (1970, 1, 1, 0, 0, 4, 961033, None)
      Adjusted from UTC to EST timezone (1970, 1, 1, 2, 0, 4, 3, 1) 
      
      (None, None) - (1970, 1, 1, 0, 0, 7, 16027, None) - 2549632
      (None, None) - (1970, 1, 1, 0, 0, 7, 330666, None) - 2549568
      (None, None) - (1970, 1, 1, 0, 0, 7, 678854, None) - 2549584
      (None, None) - (1970, 1, 1, 0, 0, 7, 844375, None) - 2549584
      (None, None) - (1970, 1, 1, 0, 0, 8, 9843, None) - 2549600
      (None, None) - (1970, 1, 1, 0, 0, 8, 175526, None) - 2549600
      (None, None) - (1970, 1, 1, 0, 0, 8, 341066, None) - 2549600
      (None, None) - (1970, 1, 1, 0, 0, 8, 506551, None) - 2549616
      (None, None) - (1970, 1, 1, 0, 0, 8, 672133, None) - 2549616
      (None, None) - (1970, 1, 1, 0, 0, 8, 837607, None) - 2549632
      (None, None) - (1970, 1, 1, 0, 0, 9, 3179, None) - 2549632
      (None, None) - (1970, 1, 1, 0, 0, 9, 168955, None) - 2549648
      (None, None) - (1970, 1, 1, 0, 0, 9, 334473, None) - 2549648
      (None, None) - (1970, 1, 1, 0, 0, 9, 500011, None) - 2549648
      (None, None) - (1970, 1, 1, 0, 0, 9, 665455, None) - 2549664
      (None, None) - (1970, 1, 1, 0, 0, 9, 830890, None) - 2549664
      (None, None) - (1970, 1, 1, 0, 0, 9, 996474, None) - 2549680
      (None, None) - (1970, 1, 1, 0, 0, 10, 162138, None) - 2549680
      (None, None) - (1970, 1, 1, 0, 0, 10, 327705, None) - 2549696
      (None, None) - (1970, 1, 1, 0, 0, 10, 493331, None) - 2549696
      (None, None) - (1970, 1, 1, 0, 0, 10, 658834, None) - 2549712
      (None, None) - (1970, 1, 1, 0, 0, 10, 824270, None) - 2549712
      (None, None) - (1970, 1, 1, 0, 0, 10, 989888, None) - 2549712
      (None, None) - (1970, 1, 1, 0, 0, 11, 155525, None) - 2549728
      (None, None) - (1970, 1, 1, 0, 0, 11, 320990, None) - 2549728
      (None, None) - (1970, 1, 1, 0, 0, 11, 486523, None) - 2549744
      (None, None) - (1970, 1, 1, 0, 0, 11, 652061, None) - 2549744
      (None, None) - (1970, 1, 1, 0, 0, 11, 817488, None) - 2549760
      (None, None) - (1970, 1, 1, 0, 0, 11, 983095, None) - 2549760
      (None, None) - (1970, 1, 1, 0, 0, 12, 148668, None) - 2549760
      (None, None) - (1970, 1, 1, 0, 0, 12, 314102, None) - 2549776
      (None, None) - (1970, 1, 1, 0, 0, 12, 479589, None) - 2549776
      (None, None) - (1970, 1, 1, 0, 0, 12, 645130, None) - 2549792
      (None, None) - (1970, 1, 1, 0, 0, 12, 810557, None) - 2549744
      (None, None) - (1970, 1, 1, 0, 0, 13, 124744, None) - 2549552
      (None, None) - (1970, 1, 1, 0, 0, 13, 438753, None) - 2549568
      (None, None) - (1970, 1, 1, 0, 0, 13, 786821, None) - 2549584
      (None, None) - (1970, 1, 1, 0, 0, 13, 952368, None) - 2549584
      (None, None) - (1970, 1, 1, 0, 0, 14, 117983, None) - 2549584
      (None, None) - (1970, 1, 1, 0, 0, 14, 283568, None) - 2549600
      (None, None) - (1970, 1, 1, 0, 0, 15, 53802, None) - 2549232
      (None, None) - (1970, 1, 1, 0, 0, 17, 30264, None) - 2549232
      (None, None) - (1970, 1, 1, 0, 0, 19, 6196, None) - 2549232
      (None, None) - (1970, 1, 1, 0, 0, 21, 131200, None) - 2549232
      (None, None) - (1970, 1, 1, 0, 0, 23, 73297, None) - 2549232
      (None, None) - (1970, 1, 1, 0, 0, 25, 84133, None) - 2549232
      (None, None) - (1970, 1, 1, 0, 0, 27, 61281, None) - 2549232
      

      This goes on for hours.
      Anyone have any ideas? What have i missed?

      Thanks,
      Andy

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gijs
        last edited by

        Hi,
        I think you have done everything correctly! The issue is probably related to a limited GPS signal received indoors.

        When I use my Pytrack 2.0 X inside, even with external antenna, it does not work, however once I step 1 foot outside, it seems like the signal is instantly (like, within 10 seconds) picked up, and we are located in a heavily industrial environment.

        Let me know
        Gijs

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

          Thanks for the answer Gijs, and you are right.
          It seems like the external active antenna dont work? Do i have to change anything in the code to activate it? i have it under clear sky but no fix.

          When i brought the hole kit outside i a got GPS fix pretty fast. I guess it's using the built-in gps?

          Thanks
          Andy

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gijs
            last edited by

            I can imagine you are confused and I'll update the docs. The antenna is switched using the SMA connector. There is an internal switch in the connector that detects whether an external antenna is connected and switches the signal from the internal antenna to the external one. Next to that, there is a jumper that supplies powers for active antennas.

            1 Reply Last reply Reply Quote 1

            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