🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5Stack ATOM GPS Kit - not getting logging working

    Atom
    3
    3
    422
    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.
    • P
      phantompants
      last edited by

      Hi
      I am trying to get a simple GPS logger function working so I can geolocate photos and utilize elevation/speed info in GoPro videos when I'm travelling.

      I bought the M5Stack ATOM GPS Kit, and have tried numerous coding attempts, including using ChatGPT to assist, but can't get it to do what I need.

      Current code is here https://github.com/phantompants/M5AtomGPSKit/blob/main/M5-AtomicGPS-ExampleCode-GPX-Elevation-ChatGPT-Coding.ino

      What is wrong with this code, it compiles and loads but I don't get the LEDs or logging?

      ChatGPT (Code Pilot) Prompt:
      Need code to make a GPS logger with an ATOM GPS Development Kit (M8030-KT), ensure it logs GPS data as a GPX compatible file, including Latitude, Longitude, Elevation and Speed.

      Ensure it is configured for the southern hemisphere.

      Using Arduino IDE 2.3.2.

      Segment and name the GPS files into days based on Sydney Australia time in format "YYYYMMDD GPX Data.gpx"

      Enable logging on power up and use the Atom Lite button click:

      • For on and initialising - Single Click enable
      • For shutdown and power-off - Double click and show a red LED on the Atom Lite.
        Enable Atom Lite LED
      • For on and initialising - show a green LED on the Atom Lite
      • For shutdown and power-off - show a green LED on the Atom Lite
      • When receiving GPS data and writing to the SD Card Flash the Atom Lite LED blue
      • When writing to the SD Card is failed or full Flash the Atom Lite LED purple.
      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF
        felmue @phantompants
        last edited by felmue

        Hello @phantompants

        well, from what I can tell AI didn't catch that you wanted to use an M5Stack ATOM GPS Kit and failed to setup the correct GPIOs etc.

        Please find a GPS example using an Atomic GPS Kit here.

        Please note: It only reads and prints GPS data. I'll leave the rest for you to figure out.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        ajb2k3A 1 Reply Last reply Reply Quote 0
        • ajb2k3A
          ajb2k3 @felmue
          last edited by

          @felmue it also sounds like you trying to use it inside a building which block the GPS signals. You need to hang the GPS antenna out of a window to get a GPS signal

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post