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

    COM GPS with COM LoRaWAN module

    PROJECTS
    2
    2
    3.6k
    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
      arkieguy
      last edited by arkieguy

      I'm wanting to build a mapper for the Helium Network (its like TTN). Basically, I want a Core (or Core 2) utilizing a COM.GPS and a COM.LORAWan 915. My hope would be that it could be configured to work without external power (seems like the Core 2 requires that the GSP, so it may be out of the running).

      Has anyone got a COM.GPS working with a COM.LoRaWAN module? If so, can you explain or share your switch settings? Also, is this possible using UIFlow?

      I've used EasyLoader to flash the COM.GPS sample code but all I get is "INVALID" responses on every field. I am getting a flashing blue light on the GPS module and I think I have the switches set to 5/13 (which appears to be the default setting for the Arduino sketch).

      Any help would be greatly appreciated.

      Here's a picture of the switch settings I currently have on the GPS: https://photos.app.goo.gl/oKvUyTe9gzCbrAxv6

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        Hello @arkieguy

        if you use an M5Stack 5 / 13 should work.

        However if you use an M5Core2 you'll need to change the DIP switches in the COM.GPS to 16 / 17. The reason for that is that the Arduino code for M5Core2 uses GPIO 13 / 14 which translate to 16 / 17 in the module.

        from Arduino example for M5Stack:

        Serial2.begin(9600, SERIAL_8N1, 5, 13);
        

        from Arduino example for M5Core2:

        Serial2.begin(9600, SERIAL_8N1, 13, 14);
        

        Please also check this GPIO comparison sheet I've put together a while ago.

        Thanks
        Felix

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

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