I want to regualte the pressure on a device I have, and I have been given the Kelly pneumatics Low Flow Electronic Pressure Regulator. However, I have questions about it. It has four wires as you see in the picture.
You need to look at the manufactures web site .
Depending on the model you have the input signal is the desired output pressure ( set point ) and is 4-20mA, 0-5v etc depending on the model you have.
The feedback I’m not so sure about but imagine it’s the outlet pressure signal, which could be used for integral control if you wanted it ( it’s a proportional regulator ) .
Don’t forget the UNO , Nano does not have a true analog output
The analog output is a pulse width modulated output - so the “average value “ of the pulse -space varies from 0 to Vcc .
You need a smooth DC value , you might be able to make a CR network ( google) to filter it .
I was able to run the pressure regulator and control how much pressure it regulats based on how much voltage I give the control signal wire. My question is
I will be connecting the regulator to a 12v power supply and then connect it to the (vin) in Arduino. Where should I pin the control signal wire in Arduino?
After that, I should use resistors to change the amount of voltage right?
Your control signal wire needs to end up on one of the pwm pins ( use 5 or 6)
So an analog output of 255 will give 5v and 0 will give 0v , 125 a pulse train of about 50%/50% off ( average ~2.5 v .
Google pwm output Arduino .
That signal is thus a series of pulses . To get a smooth DC , that the pressure controller wants , you need to try a low pass filter . Try something like a 4k7 resistor -Arduino to input of transducer . Then a capacitor from that input to ground - something like 470 micro farad - that might not. Be enough .
Suggest you google “pwm filterArduino”
There might be something on increasing the pwm frequency (?) worth googling that too
The red wire is 12V( the device power supply) and the purple one is the ground. The white one is the control signal (0-5v) I am trying to figure out how to connect it all of that with the Arduino & breadboard?