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

    M5Core2 and Lan PoE

    Core 2
    2
    3
    4.7k
    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
      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
        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
          JNVoirol
          last edited by

          Thank you Felix.

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