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

    How to use M5Unit-PoESP32 ?

    Units
    3
    3
    1.5k
    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.
    • F
      frankqc
      last edited by

      Hi,

      I purchased a Power Over Ethernet ESP32 (M5Unit-PoESP32) thinking I could run sensors and send the data over to either Home Assistant, Blynk or my own server. But receiving the unit I realize I have no idea how to use it even after reading all the online doc.

      I purchased a USB Downloader Kit and I'm able to connect to it with my computer now and download the firmware.

      1. In Arduino IDE what unit type should I select? The closest I found was "ESP32-WROOM-DA" but have never been able to see the serial output.

      2. How do people use this device with the default firmware ??

      3. Is there I2C pins I can use to plug sensors ?

      4. In my Arduino IDE code I usually include WiFi.h. What is the replacement to have my same code work over ethernet?

      #include <WiFi.h> // importing all the required libraries
      #include <WiFiClient.h>
      

      Thanks!
      Frank

      1 Reply Last reply Reply Quote 0
      • robskiR
        robski
        last edited by robski

        @frankqc said in How to use M5Unit-PoESP32 ?:

        M5Unit-PoESP32

        do you have any other controller to work with it?
        The way I see it is that ie you have let say M5Core with some I2C units (sensors) connected to it
        then add your M5Unit-PoESP32 connected to M5Core too over UART port (blue) to give whole setup access to local network and power ...

        docs examples etc

        0_1707209400835_poe0.jpg

        M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

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

          Hello @frankqc

          Scenario A : PoESP32 runs default AT command firmware and is used as unit connected to anther core.
          Scenario B : PoESP32 runs alternate firmware, runs standalone and is not a unit.

          Re 1. : for scenario B try something like a generic ESP32 board, e.g. ESP32 Dev Module

          Re 2. : for scenario A like @robski mentioned the other core sends AT commands to the PoESP32 unit. See examples here - section Example/Arduino.

          Re 3. : for scenario B the Groove port should be usable for I2C.

          Re 4. : for scenario B see example here.

          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