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

    Where is LAN Module example??

    Scheduled Pinned Locked Moved PRODUCTS
    lan module
    10 Posts 4 Posters 27.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.
    • N Offline
      nnn
      last edited by

      I would like to try "LAN Module with W5500 Chip".
      Where is LAN Module example??

      1 Reply Last reply Reply Quote 0
      • S Offline
        sheepDog
        last edited by

        +1

        I am looking also for the example.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sheepDog
          last edited by

          Hello,

          can anyone help with a working LAN Module example for W5500?

          1 Reply Last reply Reply Quote 0
          • S Offline
            sheepDog
            last edited by

            Hello M5Stack-Admin,

            the link for the LAN-Modul at your homepage is corrupt.

            This part didn't work:

            Documents 
            ...
            Example
            Arduino Example
            

            Please look at "Documents" at this page: https://github.com/m5stack/m5stack-documentation/blob/master/en/product-documents/modules/m5stack_lan_module.rst

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              nnn @sheepDog
              last edited by

              I found an example of W5500, but it did not work.

              W5500 example is
              https://github.com/adafruit/Ethernet2

              But,I get the following error in my environment.

              Failed to configure Ethernet using DHCP

              My code is

              
              #include <SPI.h>
              #include <Ethernet2.h>
              
              byte mac[] = {  
                0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02 };
              
              
              void setup() {
                Serial.begin(115200);
                if (Ethernet.begin(mac) == 0) {
                  Serial.println("Failed to configure Ethernet using DHCP");
                  // no point in carrying on, so do nothing forevermore:
                  for(;;)
                    ;
                }
                Serial.print("My IP address: ");
                for (byte thisByte = 0; thisByte < 4; thisByte++) {
                  Serial.print(Ethernet.localIP()[thisByte], DEC);
                  Serial.print("."); 
                }
                Serial.println();
              }
              
              void loop() {
              
              }
              
              
              N 1 Reply Last reply Reply Quote 0
              • N Offline
                nnn @nnn
                last edited by

                And, Arduino Example page in M5Stack LAN Module is "Page not found".
                M5Stack-Admin,I want you to correspond.
                https://github.com/m5stack/m5stack-documentation/blob/master/en/product-documents/modules/m5stack_lan_module.rst

                1 Reply Last reply Reply Quote 0
                • N Offline
                  nnn
                  last edited by

                  My problem was solved below.

                  https://github.com/m5stack/M5Stack/tree/master/examples/Modules/W5500

                  https://github.com/m5stack/m5stack-documentation/issues/4

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

                    Here is the LAN example
                    https://github.com/m5stack/M5Stack/tree/master/examples/Modules/W5500

                    I have updated at the m5stack document website
                    please visit https://m5stack.readthedocs.io/en/latest/product-documents/modules/m5stack_lan_module.html

                    M5Stack documentation URL

                    https://docs.m5stack.com

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

                      @nnn Thank you!

                      M5Stack documentation URL

                      https://docs.m5stack.com

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Matthew
                        last edited by

                        Hi!
                        Here is an example (Korean but you can using code, Simple Chat Server)

                        https://www.wiznetian.com/m5stack-lan-λͺ¨λ“ˆμ„-μ΄μš©ν•œ-κ°„λ‹¨ν•œ-μ±„νŒ…-μ„œλ²„-λ§Œλ“€κΈ°/

                        And I will publish this document in English as soon as possible. :D

                        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