Making switching NPN with PNP

crazybuoy1

Sep 19, 2010
16
Joined
Sep 19, 2010
Messages
16
There is a small circuit schematic attached where I am using voltage regulator 7812. I input 24VDC and 12VDC comes out from OUT pin. I want to make switch off & on NPN transistor with 12VDC buy using PNP transistor before NPN. And I will use PC printer port to provide the 1 & 0 pulse of 5VDC then how I should wire the circuit I want to just get the idea. Or is there any other way to do the same?

View attachment 41221

 
Last edited by a moderator:

Hero999

Oct 28, 2007
2,433
Joined
Oct 28, 2007
Messages
2,433
Here's a link to a page with some possible solutions.
http://www.winpicprog.co.uk/pic_tutorial_extras.htm

 
Last edited by a moderator:

Kevin Weddle

Feb 23, 2004
1,620
Joined
Feb 23, 2004
Messages
1,620
It may be better to use a relay. If you need faster switching, you might try a shunt circuit with a MOSFET controller.

 

crazybuoy1

Sep 19, 2010
16
Joined
Sep 19, 2010
Messages
16
I have tried the following attached circuit in the same structure having fixing the components on a paper card. The real schematic is also attached. I am testing the switching of TIP42 by attaching  + probe of voltmeter with collector of TIP142 and

View attachment 41241

View attachment 41242

 

audioguru2

Apr 6, 2004
12,026
Joined
Apr 6, 2004
Messages
12,026
Your new circuit is missing a resistor between the collector of the A733 PNP transistor and the base of the TIP142 darlington transistor. The 4.7k resistor is noy much of a load for the very powerful darlington transistor. Unless we know the load current then we cannot recommend the value of the missing resistor.

The 7812 needs an input capacitor and an output capacitor near it as shown on its datasheet.

 
Last edited by a moderator:

Hero999

Oct 28, 2007
2,433
Joined
Oct 28, 2007
Messages
2,433
Did you look at the link I provided? You only need two transistors.

 
Top