Thursday, July 23, 2015

Solid-state relay

Solid-state relay
I confess this is not the best fit together circuit, but it works. This provides two channels I will need 4 channels I will just duplicate the same circuit twice.

The 2n222 transistor is an interrupt. My microcontroller writes 1 to all digital pens upon startup. The interrupt grounds the pins to my channels to prevent the relay from switching.

The op amp LM358P may be unnecessary if you're microcontroller's pins are above 4 V. The UDOO I/O are only 3.3 V thus I require an offense. If you use a different MOSFETs that may also do the trick.

The transistor 2n222 overrides all the channels. When the microcontroller is turned on it writes 1s to all the pins. The overwrite prevents fat.

No comments:

Post a Comment