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

    Help needed: M5Stack Dial VFD controller (relay start/stop + 0–10V speed)

    PROJECTS
    2
    2
    24
    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.
    • G
      gizmologic
      last edited by

      Hey everyone — I’m building a VFD controller using an M5Stack Dial (ESP32-S3) and I’m looking for help/advice from anyone who’s done something similar.

      Goal:

      Use the Dial screen/knob UI to control VFD speed via 0–10V

      Use a relay output for Run/Stop (or FWD/REV if possible)

      Clean, reliable wiring and code (industrial-ish setup)

      Hardware I’m using / planning:

      M5Stack Dial (ESP32-S3)

      External 0–10V output module (DAC module or converter board)

      Relay module / isolated output to drive VFD digital input(s)

      Common 24V control cabinet environment (if needed)

      What I need help with:

      Best/most reliable way to generate 0–10V from ESP32 (recommended module/wiring)

      Proper isolation/grounding between ESP32, DAC, and VFD analog input

      Example code (Arduino or MicroPython) for knob → voltage output + button/relay logic

      UI ideas for the Dial (speed %, Hz, RPM, presets, accel/decel)

      If anyone has a wiring diagram, known-good DAC module, sample code, or tips, I’d really appreciate it!

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

        @gizmologic so in short words what you need is convert m5dial encoder to 0-10v signal and operate exernal relay with screen button right? what is your code so far?

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

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