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

    Failed to use CAN with M5Stack

    Scheduled Pinned Locked Moved PRODUCTS
    6 Posts 2 Posters 10.4k Views 1 Watching
    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 Offline
      Hayashi
      last edited by

      返信: M5Stack with CAN
      I tried the follow library, changed pin to GPIO17/16
      https://github.com/nhatuan84/arduino-esp32-can-demo

      But it does not work. I used oscilloscope to check the output from pin GPIO 17/16, There is no any output.
      Could someone give me an example code that works, and a picture of connection.
      Thanks!

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

        @hayashi
        Hi hayashi

        I want to confirm which module you used?
        Is that one?
        https://www.aliexpress.com/store/product/M5Stack-New-COMMU-Module-Extend-RS485-TTL-CAN-I2C-Port-with-MCP2515-TJA1051-SP3485-Development-Board/3226069_32954475633.html?spm=a2g1y.12024536.productList_5885011.subject_1

        M5Stack documentation URL

        https://docs.m5stack.com

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          Hayashi @m5-docs
          last edited by

          @watson
          I didnot use any extend module, only connect M5Stack to a CAN-tranceiver. Also I am going to buy that module. Could you tell me how to use that module?

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

            @hayashi
            I have some test program about thisCOMMU module. Recently, I'll add those example codes to m5stack's documentation.

            M5Stack documentation URL

            https://docs.m5stack.com

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              Hayashi @m5-docs
              last edited by

              @watson
              Thank you, please inform me if you upload that sample codes.
              I have another question, why there is a CAN controller MCP2515 on the extend module? Does not M5STACK include CAN controller?

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

                @hayashi
                Hey, here's the example about CAN.
                https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/COMMU/Arduino/CAN

                M5Stack documentation URL

                https://docs.m5stack.com

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post