Asok Sankar Rudra
Newbie level 6
microcontroller relay
Dear Members,
Can I drive a 12 Volts 400 Ohms relay (like LEONE SC5-S-DC12V OR GOODSKY RW-SH-112D)by a '51 microcontroller working at 5 Volts?
I normally use 5 Volts 100 Ohms relays (GOODSKY GS-SH-205T-DS) with a BC557/8B and a 10 KOhms resistance connected between the port pin and the base. The collector goes to ground and the emitter to the relay coil,
the other end of which is connected to the Vcc +5Volts,the usual IN4148 is across the coil.This unisolated arrangement works faultless even with inductive loads like fridge.
When the same arrangement is used with 12Volts relay connected to 12v,the
relay is put on only once by the microcontroller as desired, by clearing the
port pin;but the relay cannot be put off by setting high the port pin.It appears that the transistor is leaking.Since the whole arrangement is on a transformerless platform,I would not like to fiddle and adjust bias.What is the proper design or shall I forget 12 Volts relays in this context?
With best regards
A.S.Rudra
Dear Members,
Can I drive a 12 Volts 400 Ohms relay (like LEONE SC5-S-DC12V OR GOODSKY RW-SH-112D)by a '51 microcontroller working at 5 Volts?
I normally use 5 Volts 100 Ohms relays (GOODSKY GS-SH-205T-DS) with a BC557/8B and a 10 KOhms resistance connected between the port pin and the base. The collector goes to ground and the emitter to the relay coil,
the other end of which is connected to the Vcc +5Volts,the usual IN4148 is across the coil.This unisolated arrangement works faultless even with inductive loads like fridge.
When the same arrangement is used with 12Volts relay connected to 12v,the
relay is put on only once by the microcontroller as desired, by clearing the
port pin;but the relay cannot be put off by setting high the port pin.It appears that the transistor is leaking.Since the whole arrangement is on a transformerless platform,I would not like to fiddle and adjust bias.What is the proper design or shall I forget 12 Volts relays in this context?
With best regards
A.S.Rudra