I have a project where I am trying to control the position of a solenoid valve. The valve operates at 12V, 0-2A (0 = close, 2A = open). The system is open-loop and needs a fast response circuit.
I plan to control the circuit using an Arduino PWM "Analog" output.
The first thought that came to mind was an LED driver, since their primary purpose is maintaining accurate, constant current. I already have a high power LED driver IC that has either analog 0-2V or PWM dimming.
Is there any reason why this would not work, or is there a better alternative? I guess my main uncertainty is that an LED is a diode, and a solenoid is a giant inductor, so I'm not sure if this demands a different drive methodology.