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

    M5Core2 and Lan PoE

    Scheduled Pinned Locked Moved Core 2
    3 Posts 2 Posters 6.1k Views
    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.
    • J Offline
      JNVoirol
      last edited by

      Hello,
      I discover the world of the M5. In my tests, I try to connect a Lan Poe module with my new M5Core2. The M5Core2 does not start, or rather it starts and stops immediately and this in a loop. Is this module compatible with the M5Core2? If so, how do I make them work together ?

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

        Hello @JNVoirol

        most modules originally have been designed for M5Stack and before M5Core2 was available. And between M5Stack and M5Core2 a few pins on the bus have changed. I've put together a comparison sheet which might help.

        That said this example should give you a starting point.

        You will need to modify at least the following lines to make it work with M5Core2:

        //#include <M5Stack.h>
        #include <M5Core2.h>
        ...
        //#define MISO 19
        #define MISO 38
        ...
        //  M5.Power.begin();
        

        Happy Stacking!
        Felix

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

        1 Reply Last reply Reply Quote 0
        • J Offline
          JNVoirol
          last edited by

          Thank you Felix.

          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