[TriEmbed] Protection from Dual 12V inputs

Robert Gasiorowski rgresume at gmail.com
Wed Feb 24 16:34:34 CST 2016


Ooops, forgot to add base resistors.

On Wed, Feb 24, 2016 at 5:23 PM, Robert Gasiorowski <rgresume at gmail.com>
wrote:

> How about something simple like this:
>
> [image: Inline image 1]
>
> On Wed, Feb 24, 2016 at 4:52 PM, Grawburg via TriEmbed <
> triembed at triembed.org> wrote:
>
>> I have a circuit using two MOSFETs (TO-220F) to control a 12 VDC
>> motorized ball valve (Open & Close). The circuit works fine in testing.
>> What will eventually turn the MOSFET on (this works as well) is a high
>> signal from the RPi.  Only if I write bad code so that
>> both outputs are high will I have a problem. Of course, I could NEVER
>> code wrong, but just in case, what might I use between
>> the Pi (actually an MCP23008 I2C) and the MOSFETs that effectively says,
>> "if GPIO1 and GPIO2 are high, block both"? I want
>> a device not only something in my Python code.
>>
>>
>> Thanks,
>> Brian Grawburg
>>
>> --
>> [This was sent from a PC running Debian 7, 64-bit Linux. No Microsoft
>> products were used.]
>>
>>
>>
>>
>>
>> _______________________________________________
>> Triangle, NC Embedded Computing mailing list
>> TriEmbed at triembed.org
>> http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
>> TriEmbed web site: http://TriEmbed.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20160224/9c1d3157/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2ch protection.png
Type: image/png
Size: 4191 bytes
Desc: not available
URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20160224/9c1d3157/attachment.png>


More information about the TriEmbed mailing list