Relay driving circuit for switching 12v

I am trying to switch on a source selector relay board using Arduino. The source selector has 12v relays with common ground and +12v are separate for the 5 relays ( I wish it were the other way around). Can I use the circuit below to switch the 12v relays ? Any suggestions?
Thanks,
Dinesh
 

Attachments

  • delay-timer-improved-circuit-1.png
    delay-timer-improved-circuit-1.png
    6.1 KB · Views: 131
The input base resistor should be 24k or less to ensure the saturation of the BC547, if the input is 3.3V.
If the input is 5V, the base resistor should be less than 39k.

What is the rated relay coil current?
 
Last edited:
Its a 12v relay with 1028ohm coil resistance. Also I was planning to use BC549/559 transistors.
I have 5v at the base, and will 34k base resistor be sufficient or does it have to be 39k?
Thanks

Either is ok, since 39k is the maximum value that will work with all input transistors.
Lower value is ok, but not necessary. You just need enough base current to saturate the
input transistor under all conditions and in all cases. Same for the second transistor.

If either resistor is too high in value, the associated transistor may not saturate fully (or at all),
and then the relay wouldn't switch.
 
Last edited:
Folks,

I would like to a question of understanding:

(Why) Are two transistors really needed here to drive the relay?
To my understanding the one NPN transistor would/should be able drive sufficient current through the coil even if its current amplification hfe is only 100...200: 12mA/hfe=120...60µA to be drawn from the source. What am I missing (probably something basic 🙄) ?

Thanks and regards,
Winfried
 
You're right, but here the coil is connected to ground, not the positive rail.
Since the control signal is also ground referenced, you need two stages, not one.

There actually is a tricky way to just use one transistor with a coil that is ground referenced,
but then a high input means that the coil is off (the opposite of the circuit with two stages,
as you would expect).
 

Attachments

  • relay1.png
    relay1.png
    4.5 KB · Views: 88
Last edited:
If you can spare the 100mA all of the time, it will work fine. I first devised this sort of circuit
years ago for common-cathode bicolor LEDs, which have a similar problem like the relay,
in that they have to be ground referenced.
 
Last edited: