Electronics For Starters 2 - Transistors
Electronics For Starters 2 - Transistors
winning a nice prize. can implement a wide enough current to cause any-
variety of functions with thing to go up in smoke.
Transistors can easily be regarded as one of a single discrete transistor, as
the most significant technological inven- we demonstrate in this instalment. Now let’s try a set of simple experiments:
tions ever. Many aspects of modern eve- 1. When contacts A and B are not con-
ryday live — including computers, mobile First experiments nected, the LED should remain dark.
phones and the Internet — would be impos- Start by building the circuit shown in Fig- 2. Connect A and B together. The LED
sible without them. In the 1950s these small ure 1, for example on an Elektor Elex board should light up brightly.
semiconductor components started dis- (see elektor.com/120002). This allows you 3. Bridge A and B with a wet finger. The LED
placing vacuum valves, which had played a to use the same board for several experi- should light up more or less dimly.
dominant role up to then. Germanium tran- ments and utilise the through tracks for 4. Leave A and B open, and see what hap-
sistors were the first to become popular, fol- power and ground rails. A 9-V battery pens when you short the emitter (E) and col-
lowed later by bipolar silicon transistors and provides a convenient source of power. lector (C) leads of the transistor together.
even later by field-effect transistors. Tech- It doesn’t need to be fully charged – for The LED should light up brightly.
nological progress in this area was acceler- example, a battery retired from service in 5. Connect A and B again (the LED should
ated by the invention of integrated circuits a smoke detector will do nicely. A weak be lit), and then short the base lead (B) to
(ICs), which contain a large number of tran- battery actually has the advantage that ground. The LED should go dark.
sistors in a single package. However, you if something goes wrong, it can’t supply
LED
PNP
100k
100k
IC = 30 mA
BC557
1k
9V 9V
A
100k
1k
B C C
B B
BC547B BC547B
IB = 0,1 mA
E E
Figure 1. Our first experimental setup. Figure 2. Basic current gain circuit. Figure 3. A PNP transistor in a
common-emitter circuit.
48 02-2012 elektor
COURSE
Glory days of
TUP and TUN
1k
There are so many different types of tran-
sistors that it can be difficult to decide
1k
100k
9V 9V
which one to use. In the distant past Elek-
1k
100k
tor used the designations ‘TUP’ (transis-
BC547
tor universal PNP) and ‘TUN’ (transistor
BC547
universal NPN), but in those days it was
100u
possible to buy unmarked transistors
a bit cheaper than marked ones, and
‘TUN’ simply meant any type of general-
Figure 4. A transistor configured Figure 5. Delayed switch-off.
purpose small-signal NPN transistor.
as an inverter.
Nowadays you are well advised to use
the BC547B; it almost always fits and is a
sort of modern TUN. You should actually
This set of experiments illustrates the basic have a bag of them on hand, and it won’t
operating principle of a transistor: a small One of the difficulties in designing tran-
make a big dent in your budget. For the
base current (between the base and the sistor circuits is that you do not know the
TUP the natural choice is the BC557B.
emitter) controls a larger collector current exact gain of the transistor. Unlike resis-
(between the collector and the emitter). tors, which are readily available with a tol-
C C
We say that the base current is amplified, erance of 1%, it is very difficult to manufac- C
B PNP
NPN
and roughly speaking, we can regard the ture transistors to tight tolerances. The gain E
B B
elektor 02-2012 49
COURSE
100k
ing circuits have evidently had their day, but
1k
VCC PB2 PB1 PB0
there’s one thing a microcontroller cannot 9V
ATtiny13
do: switch high currents. For this you need
12V
a transistor. A simple NPN transistor makes 100n RES PB3 PB4 GND 100mA
LDR
BC547
a suitable power driver for switching exter-
1k
nal loads. It gives the relatively lightweight
BC337
microcontroller port more muscle. A popu- START
factor of 1/e (1/2.718…) of the initial volt- from approximately 100 Ω in full sunlight
age (36.8%). to over 1 MΩ in the dark. The resistance
1k
50 02-2012 elektor
COURSE
100k Quiz
The following circuit is built around a pair of
1k
transistors with opposite polarity (NPN and
9V
PNP). This is what is called a complemen-
tary Darlington circuit.
1k
BC547
fingers is no longer necessary; even dry skin 2) What current gain can you expect?
allows enough current to flow to drive the
D) Approximately 100,000
circuit fully on. The additional 100 kΩ resis-
tor protects the transistors against exces- E) Approximately 5,000
sive base current, which would otherwise F) Approximately 900
flow if the two wires were shorted together.
An extension of the Darlington circuit to 3) What are the potential advantages of a complementary Darlington circuit
three transistors (Figure 8) can be used for compared with a normal Darlington circuit with two NPN transistors?
interesting experiments with static charge G) Higher current gain
detection. To see this, try sliding you feet
H) Lower input voltage
on the floor while touching the base lead
of this Darlington circuit with one finger. I) Lower collector–emitter voltage in the fully on state
Depending on the nature of the floor and
the material of your shoe soles, this will pro- If you send us the correct answers, you have a chance of winning a
duce more or less strong charge displace-
Minty Geek Electronics 101 Kit.
ments that are made visible by flickering of
the LED. In many cases simply approaching Send you answer code (composed of a series of three letters corresponding to your select-
the input terminal without actually touch- ed answers) by e-mail to [email protected].
ing it is enough to cause the LED to light up. Please enter only the answer code in the Subject line of your email.
The deadline for sending answers is February 28, 2012.
Using a LED as a photodiode
In addition to emitting light, LEDs can be All decisions are final. Employees of the publishing companies forming part of the Elektor International Media group
used as sensors for ambient light. In princi- of companies and their family member are not eligible to participate.
ple no current flows through a diode when
it is reverse biased, but in fact you can meas- as 5 V on the data sheets, but the voltage on
ure a very small reverse current in the range the LED in our circuit is approximately 8 V.
of a few nanoamperes, which is low enough In fact most red, yellow and green LEDs can
to be ignored in most cases. However, the withstand significantly higher reverse volt-
100k
high gain of the Darlington circuit allows ages before entering the breakdown region,
1k
you to perform experiments with extremely although the reverse breakdown voltages
low currents such as this. For instance, the of white and blue LEDs are very low. In any
9V
reverse current of an LED depends on the case, the 100 kΩ resistor protects the LED
light level, which means that an LED acts as against serious damage.
a sort of photodiode. We can use our Dar-
BC547 lington circuit to amplify the extremely No matter whether you are a beginner or
small reverse current to the level needed an old hand, you should now have a look
BC547
to light up the second LED. In such exper- at our Quiz in the inset. If you send us the
iments you should bear in mind that the right answers by e-mail, you have a chance
rated reverse voltage of an LED is much less of winning an Elektor voucher.
than that of a normal diode. The maximum
Figure 9. Amplifying the reverse current of reverse voltage of LEDs is usually specified (120002-I)
an LED.
elektor 02-2012 51