I use microcontroller to control a relay by using transistor.
The connection was as diagram no1.Im not sure wether the circuit will work or not.I dont know wether to use NPN or PNP transistor and the differences on the circuit.So plz someone clarify the diagram with related theory and which diagram is correct.
The connection was as diagram no1.Im not sure wether the circuit will work or not.I dont know wether to use NPN or PNP transistor and the differences on the circuit.So plz someone clarify the diagram with related theory and which diagram is correct.
Attachments
-
74 KB Views: 155
-
72.8 KB Views: 135