Electronic – 2-Channel Relay Question

relaysignal

I recently purchased this signal relay board.

When Input 1 and Input 2 are at 3.3VDC, both D1 and D2 illuminate.

Here is my set up,

+3.3VDC for IN1 as well as a separate +3.3VDC for IN2. For VCC we are feeding with +5VDC. Each +3.3VDC input line has more than 20 mA of drive strength, but the relays do not trigger as expected. If we apply +5VDC to to IN1 or IN2 for the relays which do not work with +3.3VDC, the relay triggers as expected.

Can someone review on my set-up and confirm that both relays should indeed be working as it's set up like this?

Best Answer

The control circuit on the relay board is poorly designed.

enter image description here

If you apply 3.3 V then there's 2.6 V across R1, so the current will be 260 µA. Across R7 we have 0.7 V, so that's 70 µA through R7, leaving 190 µA for Q1's base. If Q1 has an \$h_{FE}\$ of 100 (typical for a general purpose transistor), then you have 20 mA collector current. The schematic doesn't give a value for R2, but even at a few mA through the LED there's not enough current left for the relay.

The solution: replace R1 with a 1 kΩ type, which will give you 2.6 mA base current, and 260 mA collector current. That should be enough to drive both LED and relay.

The reason it works with 5 V is that at 5 V you have a higher base current, a bit the same effect as decreasing the value for R1. Apparently the design was not tested at 3.3 V.

BTW, remove R7, it serves no function. It only takes current away from Q1, which you don't want.