Controlling current with Arduino

I’d like to control this proportional pneumatic valve with an Arduino.

https://www.smcpneumatics.com/PVQ31-5G-23-01F.html

Data sheet says it is controlled by 0-330mA at 12v. What would be the best way to do this with an Arduino?

Presumably you would just PWM thorough a transistor or more likely a MOSFET as normal but ensure there is some kind of current limiting to prevent it exceeding 330mA

1 Like