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

    Lora868 Module and Cardkb

    Modules
    3
    4
    1.9k
    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
      PK_Pippin
      last edited by

      Hi new here. Trying to help my son with his M5Stack project. He is trying to use the Lora868 Module with the CardKB but there appears to be a conflict between the two, possible both trying use Pin33. He is using the Core2 and UIFlow. When both are added to a UIFlow project it gives the following error:

      Invalid Version
      File"<string>",line23,in <module>
      File"modules/.lora433.py",line 100, in config Lora433_ERROR:Invalid version.

      Any ideas would be greatly appreciated as he is set on using both the CardKB and the Lora686 module together. Thank you.

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

        Hello @PK_Pippin

        you are correct, there is a conflict on GPIO33 which on M5Core2 is used for external I2C (SCL) and by the Lora868 module as CS.

        The reason is that on the original M5Stack (core) the same two GPIOs (21/22) were used for internal and external I2C. For M5Core2 the two I2C busses have been split and the external I2C now uses GPIO32/33.

        I guess one solution would be to switch to an M5Stack (core) instead of M5Core2 (core2).

        Another solution might be to use the Ext Port for Core2 which gives you Port E (GPIO27/19) to use with the CardKB.

        Please note: While I did check in UIFlow 1.12.5 that Port E is offered for CardKB I do not have the necessary hardware to test either of my two proposed solutions. So there might be other issues I haven't foreseen.

        Thanks
        Felix

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

        I 1 Reply Last reply Reply Quote 2
        • P
          PK_Pippin
          last edited by

          @felmue said in Lora868 Module and Cardkb:

          Thank you for your reply. Will try the Ext Port for Core 2 module as that looks like it might work. Thanks again.

          1 Reply Last reply Reply Quote 0
          • I
            IsoEek @felmue
            last edited by

            @felmue thank you for the suggestion for Ext Port for Core2.

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