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

    M5Stack Core Basic as Meshtastic Device

    Cores
    4
    9
    2.0k
    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.
    • C
      ckuehnel
      last edited by

      To use an M5Stack Core Basic as a Meshtastic device I connected a LoRa868 V1.1 to the Core. The DIP switches should be set to Core Basic. But my tries resulted always in critical fault #3. This means no LoRa module is connected. My DIP switch setup is not correct. How to set the DIP switch for M5Stack Core Basic?

      kurikoK 1 Reply Last reply Reply Quote 0
      • kurikoK
        kuriko @ckuehnel
        last edited by

        @ckuehnel
        what's you mean for "critical fault #3"?

        Good morning, and welcome to the Black Mesa Transit System.

        C 1 Reply Last reply Reply Quote 0
        • C
          ckuehnel @kuriko
          last edited by

          @kuriko After starting the app an the Core the screen shows the Meshtastic start screen followed by the output Critical Fault #3.

          M 1 Reply Last reply Reply Quote 0
          • M
            M3HBI @ckuehnel
            last edited by

            @ckuehnel I also have this module and can not get it to work with the same Critical Failure #3

            I have tried a few selections but unable to get this to work.

            Hopefully someone can help

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

              Hi guys

              I don't think you can use pre-compiled Meshtastic firmware as some GPIOs used in pre-compiled firmware cannot be selected in LoRa868 V1.1 module.

              From the M5Stack Meshtastic variant.h file and the previous LoRa module I understand the following GPIOs are used:

              SCK   : GPIO18
              MISO  : GPIO19
              MOSI  : GPIO23
              CS/NSS: GPIO5
              IRQ   : GPIO36
              RST   : GPIO26
              

              However the newer LoRa868 V1.1 module doesn't allow to select GPIO36 as IRQ nor GPIO26 as RST.

              So I think you either need to compile Meshtastic firmware (with the correct GPIOs) yourself, get the older LoRa868 module or modify the V1.1 hardware.

              Note: I do not have the necessary hardware to test this myself - so my above conclusions could be incorrect.

              Thanks
              Felix

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

              M C 2 Replies Last reply Reply Quote 0
              • M
                M3HBI @felmue
                last edited by

                @felmue

                Thanks for the heads up. I will send the LoRa module back i haven't time to dig deep, I was hoping it would be a straight forward thing lol.

                To be honest meshtastic around here is dead I have a node and only one person on for the 1000 days uptime lol

                1 Reply Last reply Reply Quote 0
                • C
                  ckuehnel @felmue
                  last edited by

                  @felmue said in M5Stack Core Basic as Meshtastic Device:

                  Hi guys

                  I don't think you can use pre-compiled Meshtastic firmware as some GPIOs used in pre-compiled firmware cannot be selected in LoRa868 V1.1 module.

                  From the M5Stack Meshtastic variant.h file and the previous LoRa module I understand the following GPIOs are used:

                  SCK   : GPIO18
                  MISO  : GPIO19
                  MOSI  : GPIO23
                  CS/NSS: GPIO5
                  IRQ   : GPIO36
                  RST   : GPIO26
                  

                  However the newer LoRa868 V1.1 module doesn't allow to select GPIO36 as IRQ nor GPIO26 as RST.

                  So I think you either need to compile Meshtastic firmware (with the correct GPIOs) yourself, get the older LoRa868 module or modify the V1.1 hardware.

                  Note: I do not have the necessary hardware to test this myself - so my above conclusions could be incorrect.

                  Thanks
                  Felix

                  Is there an answer from M5Stack specialists?

                  kurikoK 1 Reply Last reply Reply Quote 0
                  • C
                    ckuehnel
                    last edited by

                    Using the LoRa868 (old version) w/ Core Basic works as expected w/ precompiled meshtastic firmware. Thanks to @felmue for his hints.

                    If you want to use precompiled firmware then look into variants.h for the used GPIO and check your Core and LoRa Module whether the IO fits or not.

                    1 Reply Last reply Reply Quote 0
                    • kurikoK
                      kuriko @ckuehnel
                      last edited by

                      @ckuehnel
                      https://github.com/m5stack/meshtastic-firmware/tree/develop
                      go to this repo and build the firmware yourself
                      pin config is at variants/m5stack_corebasic/variants.h

                      Good morning, and welcome to the Black Mesa Transit System.

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