Maker Pro
Maker Pro

How to control 12vdc relay with microcontroller!

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
No, you will need to use the arduino's output to drive a transistor and use that to switch the relay current. You will also need a diode across the relay contacts to protect the transistor.

This lays it out really well.
 
where would we attach the external power supply in your diagram? also would a 3906 transistor suffice.

The external power would connect to Relay Power V+

That transistor would work, but be cautious it is only rated for up to 300mA so without a current limiting resistor you run the risk of burning it out
 
Top