Help needed: M5Stack Dial VFD controller (relay start/stop + 0–10V speed)
-
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!
-
@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?
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