🤖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 ?

    Scheduled Pinned Locked Moved Units
    3 Posts 3 Posters 3.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.
    • F Offline
      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 Offline
        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, M5Tab, M5CardputerAdv, M5StackChan

        1 Reply Last reply Reply Quote 1
        • felmueF Offline
          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

          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