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

    No GPS unit examples?

    PRODUCTS
    3
    14
    25.5k
    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.
    • yelloweliseY
      yellowelise
      last edited by

      this is the response:

      $GNRMC,,V,,,,,,,,,,M4E
      $GNVTG,,,,,,,,,M
      2D
      $GNZDA,,,,,,56
      $GPTXT,01,01,01,ANTENNA OPEN
      25
      $GNGGA,,,,,,0,00,25.5,,,,,,64
      $GNGLL,,,,,,V,M
      79
      $GPGSA,A,1,,,,,,,,,,,,,25.5,25.5,25.502
      $BDGSA,A,1,,,,,,,,,,,,,25.5,25.5,25.5
      13
      $GPGSV,1,1,0079
      $BDGSV,1,1,00
      68
      $GNRMC,,V,,,,,,,,,,M4E
      $GNVTG,,,,,,,,,M
      2D
      $GNZDA,,,,,,56
      $GPTXT,01,01,01,ANTENNA OPEN
      25
      $GNGGA,,,,,,0,00,25.5,,,,,,64
      $GNGLL,,,,,,V,M
      79
      $GPGSA,A,1,,,,,,,,,,,,,25.5,25.5,25.502
      $BDGSA,A,1,,,,,,,,,,,,,25.5,25.5,25.5
      13
      $GPGSV,1,1,0079
      $BDGSV,1,1,00
      68
      $GNRMC,,V,,,,,,,,,,M4E
      $GNVTG,,,,,,,,,M
      2D
      $GNZDA,,,,,,56
      $GPTXT,01,01,01,ANTENNA OPEN
      25

      m5-docsM 1 Reply Last reply Reply Quote 0
      • yelloweliseY
        yellowelise
        last edited by

        https://github.com/yellowelise/M5Stack-GPS-Unit

        this code works!
        config:
        M5Stack Fire with PSRAM DISABLED (g17/g16 conflict)
        AT6558 GPS Unit attached at PORT C

        1 Reply Last reply Reply Quote 0
        • m5-docsM
          m5-docs @yellowelise
          last edited by

          @yellowelise
          Hi, I guest you are indoors and GPS Unit Example prints raw data needed to be transfer to readable data.

          M5Stack documentation URL

          https://docs.m5stack.com

          1 Reply Last reply Reply Quote 0
          • m5-docsM
            m5-docs @ajb2k3
            last edited by

            @ajb2k3 Guy, Thanks your reply!

            M5Stack documentation URL

            https://docs.m5stack.com

            1 Reply Last reply Reply Quote 0
            • yelloweliseY
              yellowelise
              last edited by

              I use tinygps++,
              how can I change gps serial boud rate?
              and how can I use 10hz sample rate?

              m5-docsM 2 Replies Last reply Reply Quote 0
              • m5-docsM
                m5-docs @yellowelise
                last edited by

                @yellowelise

                I think you need to reinitialize GPS Unit for changing baudrate.

                0_1547092812769_set_baudrate.JPG

                M5Stack documentation URL

                https://docs.m5stack.com

                1 Reply Last reply Reply Quote 0
                • m5-docsM
                  m5-docs @yellowelise
                  last edited by

                  @yellowelise

                  Write a reinit() function for reinitialization.

                  M5Stack documentation URL

                  https://docs.m5stack.com

                  1 Reply Last reply Reply Quote 0
                  • yelloweliseY
                    yellowelise
                    last edited by yellowelise

                    @watson
                    No baud in HardwareSerial but Baud in GPS module config, what is the correct NMEA string to config Serial Baud rate communication from GPS to HOST and what is the correct sentence to ser 10hz frequency?
                    es. $GPTXT.......

                    m5-docsM 1 Reply Last reply Reply Quote 0
                    • m5-docsM
                      m5-docs @yellowelise
                      last edited by

                      @yellowelise
                      Hope those will help you.
                      Comes from http://www.icofchina.com/d/file/xiazai/2018-05-23/2b29a8da746eec0ef1dcd9deae895298.zip

                      0_1547439676231_TIM截图20190114122105.png

                      0_1547439601881_baudrate_setting.png

                      0_1547439609177_frequency_setting.png

                      0_1547439686352_gps_nmea.png

                      M5Stack documentation URL

                      https://docs.m5stack.com

                      1 Reply Last reply Reply Quote 1
                      • yelloweliseY
                        yellowelise
                        last edited by

                        GOOOOOOD!!!
                        Works fine for me!
                        tnx very much!

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