Hello,
My goal is to control a 12 VDC device (on/off) from a microcontroller using a relay card. The relay needs 12 VDC operating power (I use the same 12 VDC source for both relay and "target device") and then i should use a small current to turn the switch on/off. This small current share the same common (ground) as the larger (12 VDC) current.
Maby this is pretty straight forward but is it safe to share the common (ground) with my microcontroller and the larger voltage? The microcontroller seems kindof fragile.
I have attached schematics on how i think it should be. Correct me if im wrong.
Regards
Towijo
My goal is to control a 12 VDC device (on/off) from a microcontroller using a relay card. The relay needs 12 VDC operating power (I use the same 12 VDC source for both relay and "target device") and then i should use a small current to turn the switch on/off. This small current share the same common (ground) as the larger (12 VDC) current.
Maby this is pretty straight forward but is it safe to share the common (ground) with my microcontroller and the larger voltage? The microcontroller seems kindof fragile.
I have attached schematics on how i think it should be. Correct me if im wrong.
Regards
Towijo