Controlling a valve with 0-6 V regulation

Hey everyone, I am trying to control a proportional solenoid valve using an Arduino. The valves I have controlled before have all been 0-5 V and I could use a relay with them. Could you please suggest how I could go about controlling this 0-6 V valve?

Components:
Arduino UNO R4 WiFi
ASCO R202A546L0V00E7 valve (datasheet)

The datasheet also shows the following:
image

Does that indicate that PWM is optional?

The simplest way to get 0-6 V that I have found is using as Op-amp with a gain of 1.2 or a pull-up transistor.

If there are any resources or topics on the forum that I may have missed, I would love to have them linked in this post. Thank you guys.

Looking at this part of the datasheet:
image

It states a frequency of 1000 Hz for PWM. However, the UNO R4 WiFi can only do around 500 Hz. Would it be a better option then, not to use PWM?

An op amp wont give you 420mA.

Isnt that the max. operating current?

Use the relay (or a MOSFET) and a 6V DC power supply.

1 Like

I have this power supply:

TalentCell Powerbank, Externer Akku, 24/12/5V Lithium-Ionen-Akku, Wiederaufladbar, 82.88Wh 22400 mAh, mit Ladegerät, für LED-Leuchtstreifen, CCTV-Kameras, etc, Schwarz : Amazon.de: Elektronik & Foto

which I use with my Arduino and other sensors because it always stays on. It can provide 12 or 24V.

Could I use this and a buck converter to get 6V?

Yes

Thank you! I will use it to get 6V and then control the valve.

How?

I will have to figure that out now.

I think I will have to power the valve with my power bank and a buck converter to get constant 6V.

To get the 6V to control the valve, I will have to use an op-amp with 1.2 gain and Arduino.

Op-amp that can provide 500mA output at 6V are somewhat rare.

Try this circuit:


An Uno can output 980Hz PWM on pins 5 and 6, that may be close enough to 1000Hz for it to work

1 Like

See Nick Gammon's article on PWM frequencies (Gammon.au)

I'm currently running a 160-V DC motor on PWM at 10 Kilohertz.

1000 Hz easily achieved, standard Nano 328

1 Like

I am a bit confused about the wiring.

I have two 6v wires with this setup:

  • One from the power bank through the buck converter to power the valve (constant 6V and GND wire)
  • Another for PWM from Arduino through an Op-amp

The valve itself only has two wires as shown in the datasheet for + and - .

Would this setup be able to control and power the valve at the same time? I hope my question makes sense

and a 12V or 24V valve.

I already have the valve on the way unfortunately.

Yes.
Is this diagram any better?

1 Like

Thank you, that was really really kind of you. Its a lot clearer to me now.

Since the solenoid does not draw a lot of current, you can build this circuit on a solderless breadboard for testing.

1 Like

Perfect, that makes it so much easier for me to test.

How do you know that 0-5 volts would not give you the control you need for this valve? I certainly would test it before going to spend more money on a new control system.

2 Likes