<div dir="ltr">Careful using two SPDT relays to emulate a DPDT - if the one relay activates a little faster than the other you could result in a direct short (one still open and the other closed, or vice versa).  You could do this with two RPi pins and make sure (in software) that only one is activated at a time.<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 4, 2015 at 1:13 PM, Josh Wyatt via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>To further Pete's suggestion- you can use a single DPDT or two SPDT relays to accomplish this.<br><br></div>Here's a nice <a href="http://allaboutcircuits.com" target="_blank">allaboutcircuits.com</a> post about it:<br><a href="http://forum.allaboutcircuits.com/threads/reversing-polarity-with-spdt-relays.30679/" target="_blank">http://forum.allaboutcircuits.com/threads/reversing-polarity-with-spdt-relays.30679/</a><br><br></div>Let me know if you need more help!<br><br></div>Thanks,<br></div>Josh<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 4, 2015 at 1:07 PM, Pete Soper via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Just string together a few plain relays.<br>
-Pete<div><div><br>
<br>
On 12/04/2015 12:51 PM, Grawburg via TriEmbed wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a quarter-turn ball valve with a 12V actuator [HSH-Flo 1/2" DN15 12VDC CR-05 FNPT SS304 Position Feedback Motorized Electric Ball Valve.]  I'm using opto-isolated relay activated by a Raspberry Pi but can only control one direction because the valve reverses direction by flipping the leads. If I was doing it mechanically I would have a double pole triple throw rotary switch. I cannot find a suitable opto-isolated relay that is 2P3T...at least one that doesn't cost a fortune. Any suggestions to help me think this through would be welcomed.<br>
<br>
<br>
Thanks,<br>
Brian Grawburg<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
<br></blockquote></div><br></div>