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

    Where can I find the MAC address?

    Core 2
    4
    5
    6.3k
    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.
    • A
      alpot
      last edited by

      Hi,

      I'm trying the M5 Stack Core2 for AWS IoT Edukit tutorial series. At the point where the device tried to connect to my router, it failed because the device was not on my router's white list. So where can I find the M5 Stack MAC address?

      Thank you.

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

        Hello @alpot

        Try esptool.py read_mac.

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 0
        • teastainT
          teastain @alpot
          last edited by

          @alpot A simple way to get your MAC and the device serial address is to compile any program with Arduino IDE and see the orange Transfer Progress info streaming out the bottom line. like here! (In Orange, tho)
          esptool.py v3.3
          Serial port /dev/cu.wchusbserial5319014191
          Connecting....
          Chip is ESP32-C3 (revision 3)
          Features: Wi-Fi
          Crystal is 40MHz
          MAC: 34:b4:72:12:8e:cc

          Cheers, Terry!

          100% M5Stack addict with several drawers full of product!

          1 Reply Last reply Reply Quote 0
          • D
            dheco
            last edited by

            How can I red the Wifi MAC from inside arduino code?

            teastainT 1 Reply Last reply Reply Quote 0
            • teastainT
              teastain @dheco
              last edited by

              @dheco Serial.println(WiFi.macAddress());

              Cheers, Terry!

              100% M5Stack addict with several drawers full of product!

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