I'm not sure this is the best forum for this question so feel free to re-locate my inquiry.
I want to control small proportional solenoid valves (<2W, max drive current <200mA) as finely and precisely as possible preferably via I2C (or SPI or UART). I would like to be able to add some dither, too.
So I guess I will need a (>12bit) PWM source, a MOSFET, a compensated current measuring component (like INA251?) and (an ADC that creates) a feedback to the PWM source.
I could build this up and program a microcontroller to act as an I2C-controllable PWM source with an internal or external ADC and a current sense amplifier (e.g.) INA253. Is there a simpler, more integrated solution?
TIA,
Beat