I am new to the Arduino forum and I am also new to programming with an arduino. I bought a proportional solenoid valve (Pressure type) and I would like to create a code that would let it deliver different air pressure outputs with different commands. For instance, if i give a command of 1 it should deliver a different pressure output than if I enter a command of 2.
With some help, I have already built the circuit for the valve (please see the picture attached) but I am a unclear with how to continue. The source of air delivered through the valve is compressed air from and air tank and it will be delivered through the valve and into a linear actuator.
Please I will greatly appreciate any advice you can offer. Thank you
The circuit is incomplete. You very likely need a flyback diode across the valve coil, and a current limiting resistor between the output pin and the transistor gate. Omission of either will eventually cause the Arduino and/or transistor to be destroyed.
It looks like it has a resistance of 13 ohms and a max current of 1A.
so you need : a 13v supply capable of >1A
: an arduino pwm output driving a suitable transistor ( eg a IRL1104 ),
: and a catch diode across the solenoid coil
The 2N7000 MOSFET is completely inadequate for this task, only rated for 0.2A, and has a very high
on-resistance. Its a small-signal device, not a power device.
A logic-level power MOSFET is required with an on-resistance of 0.2 ohms or less ideally, but for 1A its
not too demanding.