# Latching solenoid driver?

**URL:** https://forum.pololu.com/t/latching-solenoid-driver/18040
**Category:** Product suggestions
**Created:** [October 1, 2019, 8:57pm UTC](https://forum.pololu.com/t/latching-solenoid-driver/18040 "2019-10-01T20:57:18Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sibir](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/41988e/32.png) [@sibir](https://forum.pololu.com/u/sibir)
#### Post date: [October 1, 2019, 8:57pm UTC](https://forum.pololu.com/t/latching-solenoid-driver/18040/1 "2019-10-01T20:57:18Z")

</div>

I want to use a Raspberry Pi or such to drive a latching solenoid valve (e.g. [Orbit 58874N](https://www.orbitonline.com/products/hose-watering/timers/automatic-yard-watering/valve/yard-watering-kit-valve-437)). The original controller applies something like 4.5 A 10 ms pulse to it (it actually is a saw tooth with a 4.5 A peak and 15 ms linear drop). The DC resistance is 4.2 Ohm.

A DRV8833 or similar would be nice, but I am afraid the peak current will not suffice. The original controller uses 2 AA batteries and a large capacitor (2200 uF). Can you recommend a solution?

I can imagine that there is general demand by sprinkler control enthusiasts.

---

<div class="post-metadata">

### Author: ![PatrickM](https://forum.pololu.com/user_avatar/forum.pololu.com/patrickm/32/7800_2.png) [@PatrickM](https://forum.pololu.com/u/PatrickM)
#### Post date: [October 2, 2019, 5:36pm UTC](https://forum.pololu.com/t/latching-solenoid-driver/18040/2 "2019-10-02T17:36:56Z")

</div>

Hello.

You could try our [BD65496MUV motor driver carrier](https://www.pololu.com/product/2960) which can handle a 5 A peak current for a few milliseconds, but I think a motor driver might be overkill for you application since you do not need the bidirectional control. A simple low-side MOSFET might be sufficient.

If you decide to try out our driver or even just get something working with a simple MOSFET, we’d definitely be interested to hear more about it!

-Patrick

---

<div class="post-metadata">

### Author: ![sibir](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/41988e/32.png) [@sibir](https://forum.pololu.com/u/sibir)
#### Post date: [October 4, 2019, 2:17am UTC](https://forum.pololu.com/t/latching-solenoid-driver/18040/3 "2019-10-04T02:17:40Z")

</div>

Thank you, I will look at that part.  
I do need the H bridge to actuate the valve back and forth.

---

<div class="post-metadata">

### Author: ![sibir](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/41988e/32.png) [@sibir](https://forum.pololu.com/u/sibir)
#### Post date: [October 11, 2019, 11:13pm UTC](https://forum.pololu.com/t/latching-solenoid-driver/18040/4 "2019-10-11T23:13:36Z")

</div>

I measured current and voltage during valve action either original controller and the voltage peak is app. 22 V. The BD65496MUV motor driver allows up to 16 V ☹

---

<div class="post-metadata">

### Author: ![PatrickM](https://forum.pololu.com/user_avatar/forum.pololu.com/patrickm/32/7800_2.png) [@PatrickM](https://forum.pololu.com/u/PatrickM)
#### Post date: [October 14, 2019, 10:03pm UTC](https://forum.pololu.com/t/latching-solenoid-driver/18040/5 "2019-10-14T22:03:52Z")

</div>

Hello.

Our [TB9051 carrier](https://www.pololu.com/product/2997) might be a safer option if you really need to handle 22 V spikes. You might also try adding some large capacitors to see if that can help reduce the voltage spikes.

-Patrick

---

<div class="post-metadata">

### Author: ![sibir](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/41988e/32.png) [@sibir](https://forum.pololu.com/u/sibir)
#### Post date: [October 16, 2019, 6:04pm UTC](https://forum.pololu.com/t/latching-solenoid-driver/18040/6 "2019-10-16T18:04:39Z")

</div>

Thank you! The specs look good.

FYI, here is what the original driver puts out (CH1 100mV/A):

![F0004TEK](https://forum.pololu.com/uploads/default/original/2X/1/16f1d76f1f13233c150c111c47fe4faf249c57c5.png) ![F0005TEK](https://forum.pololu.com/uploads/default/original/2X/3/3df815a71ff58be4a98d051d1590191655b62905.png)
