Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    No GPS data received: check wiring

    Technical Discussion
    2
    4
    498
    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.
    • W
      Wellco last edited by

      If I try any of the GPS examples code, on a T-Beam Supreme S3 L76K GPS version, I get

      No GPS data received: check wiring
      

      in the serial monitor window.

      I thought any of the examples would work out the box, but clearly not.

      I'm using IDE 2.3.2 on macOS

      Can anyone point be in the right direction?

      teastain2 1 Reply Last reply Reply Quote 0
      • teastain2
        teastain2 @Wellco last edited by

        @wellco Hi, I am just a community contributor, but I am usually all there is and I don't have one of your boards to test!
        What exact GPS sketch are you using? 'TinyGPS' gives that error because the char received timeout is 5 seconds.
        This could be if your unit is indoors.
        If you are outdoors, try doubling the timeout.
        -Terry

        W 1 Reply Last reply Reply Quote 0
        • W
          Wellco @teastain2 last edited by

          @teastain2 Thanks for contribution.

          I think the example I was using was not a good example. At least that's how it seems. Since my post last I have seen that there are two lots of examples folders:

          ../LilyGo-LoRa-Series-master/lib/TinyGPSPlus,

          and

          ../LilyGo-LoRa-Series-master/examples/GPS/

          Which is a bit confusing.

          Anyway the folder ../examples/GPS/ has two lots of examples, one for the L76K and one for the Ublox.

          So I am using

          ../LilyGo-LoRa-Series-master/examples/GPS/TinyGPS_KitchenSink ( I think this is correct for my board with the L76K GPS module)

          This example gives me a different problem though. It runs the initBoard function but never returns to void setup() where it should print out some simple header info. Well nothing appears in the serial monitor window.

          Screenshot 2024-03-25 at 18.52.37.png

          So while I haven't resolved my original issue I think I should probably go with the example that's specific to my GPS module (L76K).

          This is the first time I have ever tried to program an Arduino/ESP32 so sorry if I am asking making a schoolboy mistake..

          Many thanks, Wellco

          W 1 Reply Last reply Reply Quote 0
          • W
            Wellco @Wellco last edited by

            @wellco ..answering myself here, it may help others.

            I now have the right output in the serial window. Many frustrating hours were spent trying to make it work. Somehow Tools\USB CDC On Boot: Enable, had reset to disabled. It took me a while to realise this.

            Then (this is the vague bit) sometimes I need to click the RST, Boot and Power buttons in various sequences. This is what usually works if the serial monitor window is blank.

            1. Press the RST button momentarily and wait for 20 seconds. If window is still blank ..
            2. Press the power button and hold for 6 secs. Release and press momentarily, wait for 20 seconds. If window is still blank ..
            3. Unplug the USB hold down the Boot down and plug the USB cable back in. Upload you sketch again.
            4. Hurl device against a solid wall with as much force as you can muster ☺

            Joking apart; there is also another button sequence that might help and that's the documented one. Hold RST down, press and hold the Boot button. Release the RST button, and finally release the Boot button.

            Hope this helps somebody..

            Cheers Wellco

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB | Contributors