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

    M5 Dial and wired ethernet is possible?

    Units
    3
    4
    1.8k
    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.
    • K
      kokany
      last edited by

      Hello all!

      Is it possible M5 Dial extend with any wired ethernet module, like a W5500?
      I'm open to any solution.

      Thank you!

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

        Hello @kokany

        short answer: not easily / not together with the display.

        Long answer: the issue I see is that the SPI pins used for the display are not accessible from the outside. This means it would need a second SPI instance using the pins available on port A and B. Unfortunately the M5-Ethernet library uses the first SPI instance hard-coded. See here.

        So yes, M5Dial can be extended with Ethernet, but not together with the display or one would need to modify the M5-Ethernet library accordingly.

        Please note: it's entirely possible there is another way I do not see right now.

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 0
        • M
          MitchBuckanon
          last edited by

          Hi all,

          like you, @kokany, I'm very interested in this solution of adding an Ethernet port to the M5Dial, as I won't be in an environment with Wi-Fi coverage.

          Have you found a viable and stable solution since your last post, or is @felmue's solution the most reliable?

          I know this is an old thread, but I can't find it discussed anywhere else.

          Thanks a lot to the community; it's great to be able to help each other on a forum like this.

          Mitch

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

            Hello @MitchBuckanon

            Arduino Espressif library now contains Ethernet drivers for W5500 and it seems W5500 can be used without RST or INT.

            I successfully ran ETH_W5500_Arduino_SPI example with Base LAN module connected to M5Dial via port A and B. I only needed to adapt SCLK, MOSI, MISO and CS to the proper GPIOs and set RST and INT to -1 (eg not used).

            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