For lab experiments
Small PCB connected to potentiometer and motor, controls via standard servo PWM signal
All BOM parts highly cost effective and vastly available from China. Even MCU has minimum 5 for now, pin to pin and firmware compatible alternatives (functional clones).
STM32Cube IDE/Qt Projects
Cross platform app, very clean code in both projects. Tested in operation.