* Z:\home\khalils\Downloads\files\data\raw_asc\27fd68bf8ad3_Driving_BJT_using_BJT__for_BJT_motor_Driver_.asc
* Generated by LTspice 26.0.1 for Windows.
* - For Amplication, Use Active region \n- For Switching use Saturation region
* Base resistor = ( Input voltage - base to emmiter voltage drop ) / base current
* 3.3 volt
* - I need 150ma of current output
* - For 150 ma current output,
* Base registor = (3.3 volt - 0.7 volt) / 1.5 ma = 1.73 kohm
* Base current = Collector current / Beta(100 for BC547)
* (150 ma) / 100(beta) = 1.5 ma
* - Ouput resistance is 33 ohm
* - Pull up resistors should be atleast 1/2th \n of base resistor or less
* NOTE :- You don't need Pull Up resistor if you're \nusing 3.3 volt supply for BJT driver\n[But with 5volt supply give more current]
* Control power is it consumes \ntoo much power from battery
RQ3_limiter N001 N002 33
RQ1_limiter 0 N009 33
RQ2_limiter 0 N010 33
R4 N011 N008 1k
R1 N005 N004 1k
Q3 N003 N006 0 0 BC547B
Rpull_up_1 N012 N001 500
Rpull_up_2 N011 N001 500
V3 N008 0 PULSE(0 3.3 0 0 0 1 0 1)
V2 N004 0 PULSE(0 3.3 0 0 0 1)
V1 N007 0 5
R2 N006 N004 1k
Q1 N002 N005 0 0 BC547B
R3 N012 N008 1k
Q5 N009 N012 N001 0 BC557B
Q2 N010 N011 N001 0 BC557B
RPower_Control_Resistor N007 N001 10 ohm
RQ4_limiter N001 N003 33
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 10
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1848 968
WIRE 400 -128 224 -128
WIRE 1008 -128 400 -128
WIRE 1376 -128 1008 -128
WIRE 256 -32 224 -32
WIRE 400 -32 400 -128
WIRE 400 -32 336 -32
WIRE 864 -32 832 -32
WIRE 1008 -32 1008 -128
WIRE 1008 -32 944 -32
WIRE 224 80 224 -32
WIRE 832 80 832 -32
WIRE -32 96 -96 96
WIRE 560 96 496 96
WIRE -32 128 -32 96
WIRE 16 128 -32 128
WIRE 160 128 96 128
WIRE 560 128 560 96
WIRE 624 128 560 128
WIRE 768 128 704 128
WIRE -96 192 -96 96
WIRE 64 192 -96 192
WIRE 224 224 224 176
WIRE 832 224 832 176
WIRE 832 224 224 224
WIRE 1136 224 832 224
WIRE 1216 224 1136 224
WIRE 1216 256 1216 224
WIRE 64 272 64 192
WIRE 496 272 496 96
WIRE 496 272 64 272
WIRE 64 320 64 272
WIRE 1136 368 1136 224
WIRE 64 464 64 400
WIRE 1136 496 1136 448
WIRE 544 528 -80 528
WIRE 256 576 224 576
WIRE 352 576 336 576
WIRE 848 576 832 576
WIRE 944 576 928 576
WIRE 352 624 352 576
WIRE 944 624 944 576
WIRE 1136 656 1136 576
WIRE 1376 656 1376 -128
WIRE 1376 656 1136 656
WIRE -80 672 -80 528
WIRE -80 672 -256 672
WIRE 832 688 832 576
WIRE 224 704 224 576
WIRE 544 736 544 528
WIRE 624 736 544 736
WIRE 720 736 704 736
WIRE 768 736 720 736
WIRE -256 752 -256 672
WIRE -80 752 -80 672
WIRE 16 752 -80 752
WIRE 112 752 96 752
WIRE 160 752 112 752
WIRE 112 784 112 752
WIRE 720 784 720 736
WIRE -256 896 -256 832
WIRE 112 896 112 864
WIRE 224 896 224 800
WIRE 224 896 112 896
WIRE 720 896 720 864
WIRE 720 896 224 896
WIRE 832 896 832 784
WIRE 832 896 720 896
WIRE 1136 896 1136 656
WIRE 1136 896 832 896
SYMBOL res 1120 480 R0
SYMATTR InstName Power_Control_Resistor
SYMATTR Value 10 ohm
SYMBOL npn 160 80 R0
SYMATTR InstName Q1
SYMATTR Value BC547B
SYMBOL res 352 560 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Q1_limiter
SYMATTR Value 33
SYMBOL pnp 160 704 R0
SYMATTR InstName Q5
SYMATTR Value BC557B
SYMBOL res 944 560 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Q2_limiter
SYMATTR Value 33
SYMBOL pnp 768 688 R0
SYMATTR InstName Q2
SYMATTR Value BC557B
SYMBOL res 112 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL voltage 1136 464 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 720 720 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL res 704 768 R0
WINDOW 0 36 40 Left 1
SYMATTR InstName pull_up_2
SYMATTR Value 500
SYMBOL voltage -256 736 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value PULSE(0 3.3 0 0 0 1 0 1)
SYMBOL res 112 736 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL npn 768 80 R0
SYMATTR InstName Q3
SYMATTR Value BC547B
SYMBOL res 96 768 R0
WINDOW 0 36 40 Left 1
SYMATTR InstName pull_up_1
SYMATTR Value 500
SYMBOL res 352 -48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Q3_limiter
SYMATTR Value 33
SYMBOL voltage 64 304 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 3.3 0 0 0 1)
SYMBOL res 960 -48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Q4_limiter
SYMATTR Value 33
SYMBOL res 720 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1k
FLAG 1216 256 0
FLAG 352 624 0
FLAG 944 624 0
FLAG 64 464 0
FLAG -256 896 0
TEXT -576 88 Left 2 ;- For Amplication, Use Active region \n- For Switching use Saturation region
TEXT -688 232 Left 1 ;Base resistor = ( Input voltage - base to emmiter voltage drop ) / base current
TEXT 440 720 Left 2 ;3.3 volt
TEXT -664 336 Left 2 ;- I need 150ma of current output
TEXT -664 384 Left 2 ;- For 150 ma current output,
TEXT -648 472 Left 1 ;Base registor = (3.3 volt - 0.7 volt) / 1.5 ma = 1.73 kohm
TEXT -648 424 Left 1 ;Base current = Collector current / Beta(100 for BC547)
TEXT -648 448 Left 1 ;(150 ma) / 100(beta) = 1.5 ma
TEXT -688 584 Left 2 ;- Ouput resistance is 33 ohm
TEXT -688 624 Left 2 ;- Pull up resistors should be atleast 1/2th \n   of base resistor or less
TEXT -696 952 Left 2 !.tran 10
TEXT -704 -32 Left 2 ;NOTE :- You don't need Pull Up resistor if you're \nusing 3.3 volt supply for BJT driver\n[But with 5volt supply give more current]
TEXT 1152 584 Left 1 ;Control power is it consumes \ntoo much power from battery