Electronic – 1.8v GPIO controlling 5v 10mA solid state relay

amplifiersolid-state-relaytransistors

I have a Crouzet 84 134 900 solid state relay that I need to control with a 1,8V GPIO output from a Gumstix Overo Summit expansion board. I've tried the circuit drawn up for me in this answer, however my voltages are different and I don't know how to change it to make it work in my current situation.

I tried to modify the values using this "transistor calculator", and it said I needed a 100 ohm resistor instead of the 160 ohm. But when coupled to the relay, switching the GPIO output made no difference, the relay always got 5V and enough current to be on.

The GPIO output gives me 1.8V and 0.1mA. I have a power supply of 5v 2A available. The solid state relay requires 3-32V and 10mA. I have a few 2N4401 and 2N2222 available. Can I do this with the components I have, or is it a too great amplification for the transistors or something?

Best Answer

You say you followed Olin's circuit first, but then in the comments you say you tried Russell's circuit. Which one did you use for the relay?

I ask because the two circuits are different. Olin's circuit has the SSR input diode in series with the transistor (i.e. pin3 to V+ and pin 4 to collector) and is driven from the base. Russell's circuit has the input diode in parallel with the transistor (pin 3 to transistor collector and pin 4 to ground) and is driven from the emitter (common base)

Pinout of SSR for reference:

SSR

Assuming your GPIO current capability is really more than 100uA (very likely) then Olin's circuit should work if connected correctly.

One more important question - are you switching AC od DC with the relay?

EDIT - thanks for the schematic. According to that you have it wired incorrectly as suspected. Have a look at Olin's schematic again, notice the SSR is between V+ and transistor collector, not V+ and ground. Make changes as suggested and it should work fine.