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

    Core 2 and COM.X LoRaWAN Module 868MHz (ASR6501)

    Core 2
    core2 lorawan
    4
    13
    19.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.
    • H
      hseidel @felmue
      last edited by

      Thank you very much @felmue, I will try the DIP switch settings in the next couple of days.

      @ZONTEX and @felmue, are you aware of a new hardware version (e. g. with longer pins for the M bus) of the COM.X modules to work better with the Core2?

      With best regards,
      Helge

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

        Hello @hseidel

        you are welcome.

        And no, I am not aware of a hardware version w/ longer pins. And to be honest I doubt there is one based on the fact that the two M5GO2 bottoms I own (which are for M5Core2 exclusively) do not have longer pins either.

        Thanks
        Felix

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

        H 1 Reply Last reply Reply Quote 0
        • H
          hseidel @felmue
          last edited by

          Hello @felmue,

          I found some additional information on the M5Stack homepage (https://docs.m5stack.com/#/en/faq).

          "Q36: Is Core2 compatible with other modules
          The depth of Core2's M-Bus terminal is different from standard Cores. For modules which odered AFTER Core2 release are all compatible; For those earlier than the date (Sep 1st, 2020), need to consult with us before applying."

          Thanks
          Helge

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

            Hello @hseidel

            interesting. Thanks for sharing.

            Thanks
            Felix

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

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

              Hello @hseidel

              re-reading FAQ Q36 I think the compatibility is about GPIO compatibility (electrically) and not about pin length.

              BTW: I double checked the length of various modules I have (Battery, Proto, M5GO, M5GO2) and afaikt they all have the same length of pins. Some of them have been bought before M5Core2 came out. Maybe they all have the longer pins already and I do not have modules with shorter pins? Anyways, I do not have a connectivity issue when stacking any of them to my M5Core2, but yes, the connection feels a little weak sometimes.

              Thanks
              Felix

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

              1 Reply Last reply Reply Quote 0
              • H
                hseidel @felmue
                last edited by

                Hi @felmue,
                thank you very much for your support. My Core2 is now running with the COM.X LoRaWAN module.

                Thanks,
                Helge

                F 1 Reply Last reply Reply Quote 0
                • S
                  swasi
                  last edited by

                  Hello @hseidel

                  I'm stuck with the same problem. How did you solve the problem?

                  I'd like to program the device with platformio, but if i set
                  Serial2.begin(115200, SERIAL_8N1, 15, 13);
                  The device hangs and doesn't boot up.

                  Thanks,
                  Sascha

                  1 Reply Last reply Reply Quote 0
                  • F
                    flex @hseidel
                    last edited by

                    @hseidel
                    Hi Helge, did you manage to make it work without using external current supply on the Lorawan module (5V/12V) ?
                    Thanks for your feedback
                    Pascal

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

                      Hello @flex

                      according to M5Stack COM.X LoRaWan Module description an external power supply needs to be used with M5Core2 for it to work properly:

                      "Note: When using the CORE2 or CORE2-FOR-AWS main control to drive the module, please use the DC power input of the base and set the power mode to input mode (refer to the code below), otherwise it will not start normally"

                      My guess is that the LoRaWan chip requires more current than the 5 V boost chip in M5Core2 can provide. There also are two anti parallel diodes (D1 and D2) in the 5 V line (schematic) which drop the voltage by a couple of 100 mV as well.

                      Thanks
                      Felix

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

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        flex @felmue
                        last edited by

                        @felmue
                        Hello Felix,
                        Thank you for your answer!!! As Lora is supposed to be very low energy consumption and the card is described as ultra-low power design, and I also really don't understand what could be the difference between M5Stack and M5Core2 bus voltage load... Do you think it could be a workaround (HS or SW) to definitely make it running on the battery without using that external DC power?

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

                          Hello @flex

                          Sorry, I don't know if it's meant as workaround.

                          M5Stack is not shy to use the term 'ultra low power' or 'very low power' for their products. And that is correct for several ICs used in M5Stack devices, like the ESP32 itself and yes, LoRaWan etc.

                          Unfortunately however, in my experience, the way M5Stack integrates those low power ICs into their products very often isn't ideal to create a low power device. But to be fair, they also need to ensure, that stacking various modules to the older cores (Basic, Fire, etc.) and newer cores like M5Core2 do not destroy each other. So, it could very well be that the two diodes I mentioned before are a precaution.

                          BTW: I myself asked this question a long time ago for M5Core2, but it never got an answer.

                          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