How to trigger latch solenoide valve from Arduino?

I received a sample latching solenoid valve:

I want to control it using an Arduino Pro Mini, running a 5V. AFAIK, I can't control it just connecting it to a digital pin since the absolute max current is 40mA.

As per the description pulse width should be 25ms. Not sure how to do that with the Arduino.

Setup is powered by a 18650 battery + MT3608 boost module (5v)

Can you help?

Think that's a bipolar drive, so an H-bridge is probably needed to switch it.

  digitalWrite (pin, HIGH) ;  // drive a pin for 25ms
  delay (25) ;
  digitalWrite (pin, LOW) ;

Thanks Mark!

I got more info from the manufacturer:

  • Valve opens on (+) pulse, closes on (-) pulse.
  • It can be powered with 5v and a pulse of 25ms
  • Current is 0.23A

It definitely looks like I need external electronics to drive it. BTW, how do I send a negative pulse to close the valve?

vazquezjm:
It definitely looks like I need external electronics to drive it. BTW, how do I send a negative pulse to close the valve?

That's what the H-bridge is for, to reverse the polarity.