Professional Documents
Culture Documents
Danilo Lab
Danilo Lab
Transistor Switch
Vce
XMM5
Ic XMM2
XMM7
Vrb Vbe Ib
id
XMM4 XMM1 XMM6
C
Rb Q1 LED1
B
MPS2222
V1 5kΩ
E
0V
VCC
5.0V
Vrc
XMM3
R1
220Ω
Vce
XMM5
Ic XMM2
XMM7
Vrb Vbe Ib
id
XMM4 XMM1 XMM6
C
Rb Q1 LED1
B
MPS2222
V1 5kΩ
E
5V
R1
220Ω
C
Rb Q1 LED1
B
MPS2222
V1 5kΩ
E
5V
This transistor switch circuit works like an inverter. As I observe when the voltage in the base of the
transistor is 5V the diode does not produce light. When we apply an input voltage of 5v the current will
flow through Rb and flow through the base and will go down to the emitter. That will activate the
transistor. The current from the Vcc and collector will flow to the emitter since the resistor did not
saturate, the Vce turns to 2.098V instead of 0V so the output will be 0v. logically, transistor works as
when the input is high the output is low when the input is low the output is high
VCC
5.0V
R1
220Ω
C
Rb Q1 LED1
B
MPS2222
V1 5kΩ
E
0V
When the input is 0V then there will be no current flowing to the base and to the emitter and the
collector of the transistor. This means that there will be no current flowing through R1. If there is no
current flowing through R1 there will be no voltage drop so the voltage at point c will be the same as the
voltage of the source which is 5v. so the output will be 5v or the Vcc, therefore, the photodiode turns
on. The transistor serves as the inverter.