I was building a lot of machines and spending too much time trying to build physical controls for each. Now everything is just a drag and drop app based on a standard design. I can plug the outs of the control box into any of the machines - even hacking commercial machines I want to run by app.
The control box contains up to four 400w / 15A MOSFET boards. Each mosfet runs independently for driving brushed motors, solenoids, heaters, etc and typicaly have a DC barrel jack out for the load. An ESP32 provides pins for stepper control, sensors, like temp or pressure sensor, displays, and also includes WIFI and BT. Blync allows no-code app design with drag and drop widgets so anyone can customize it. Virtual pins from Blync tie the app and hardware together.
This goes into a 3d printed enclosure based off the Ultimate Box Creator on Thingverse (https://www.thingiverse.com/thing:1264391) I've added parametric options specific to this design. Just simple things - optional OLED display, number of mosfet boards, power switch in the front or back, use DC barrel jacks or aviation connector as outputs.
Not including sensors, the parts are under $30.
The MOSFET boards are 10 for $14 - https://www.amazon.com/gp/product/B07XJSRY6B I've been buying the S2 mini and S3 versions to get full USB support (some of them end up as MIDI controllers) but the old version works just fine. The S2 mini is great for space constrained installations, but doesn't have bluetooth.
The ESP32 is available for $6 with expansion that has a 12v barrel input for power in an UNO footprint: https://www.aliexpress.us/item/3256804150863583
The MOSFET boards have pass thought positives and horrible screw terminals, so I hook it up like this (don't power VIN if USB is connected):
Boxes with DC barrel and aviation outs:
<P>
Some screen shots: