Professional Documents
Culture Documents
Electronic Components
Electronic Components
Electronic Components
These pages are intended to help you to identify components, find out their values and learn about their
function in circuits.
• Capacitors
• Connectors and Cables
• Diodes including zener diodes
• Integrated Circuits (Chips)
o 4000 series logic ICs (pin connections etc)
o 74 series logic ICs (pin connections etc)
• Lamps
• LEDs (Light Emitting Diodes)
• Relays
• Resistors
o Resistor Colour Code Calculator
• Switches
• Transistors
o Heat sinks for transistors
• Variable Resistors
• Other components including LDRs and thermistors
If you are new to electronics you may wish to see the page with advice on buying a
starter kit of components.
To find out what precautions, if any, need to be taken when soldering components please
see the page on soldering. This site also has a table of circuit symbols which includes brief
information about the function of each component. You can use the simple tester project to
check many of the components.
Page 1 of 77
Capacitors
Function
Capacitors store electric charge. They are used with resistors in timing circuits because it
takes time for a capacitor to fill with charge. They are used to smooth varying DC supplies
by acting as a reservoir of charge. They are also used in filter circuits because capacitors
easily pass AC (changing) signals but they block DC (constant) signals.
Capacitance
This is a measure of a capacitor's ability to store charge. A large capacitance means that
more charge can be stored. Capacitance is measured in farads, symbol F. However 1F is
very large, so prefixes are used to show the smaller values.
Capacitor values can be very difficult to find because there are many types of capacitor
with different labelling systems!
There are many types of capacitor but they can be split into two groups,
polarised and unpolarised. Each group has its own circuit symbol.
Examples:
Circuit symbol:
Electrolytic Capacitors
Page 2 of 77
Electrolytic capacitors are polarised and they must be connected the correct way round,
at least one of their leads will be marked + or -. They are not damaged by heat when
soldering.
There are two designs of electrolytic capacitors; axial where the leads are attached to each
end (220µF in picture) and radial where both leads are at the same end (10µF in picture).
Radial capacitors tend to be a little smaller and they stand upright on the circuit board.
It is easy to find the value of electrolytic capacitors because they are clearly printed with
their capacitance and voltage rating. The voltage rating can be quite low (6V for example)
and it should always be checked when selecting an electrolytic capacitor. It the project
parts list does not specify a voltage, choose a capacitor with a rating which is greater than
the project's power supply voltage. 25V is a sensible minimum for most battery circuits.
Tantalum bead capacitors are polarised and have low voltage ratings like electrolytic
capacitors. They are expensive but very small, so they are used where a large capacitance
is needed in a small size.
Modern tantalum bead capacitors are printed with their capacitance and voltage in full.
However older ones use a colour-code system which has two stripes (for the two digits)
and a spot of colour for the number of zeros to give the value in µF. The standard colour
code is used, but for the spot, grey is used to mean × 0.01 and white means × 0.1 so that
values of less than 10µF can be shown. A third colour stripe near the leads shows the
voltage (yellow 6.3V, black 10V, green 16V, blue 20V, grey 25V, white 30V,
pink 35V).
Small value capacitors are unpolarised and may be connected either way round. They are
not damaged by heat when soldering, except for one unusual type (polystyrene). They
have high voltage ratings of at least 50V, usually 250V or so. It can be difficult to find the
values of these small capacitors because there are many types of them and several
different labelling systems!
Many small value capacitors have their value printed but without a multiplier,
so you need to use experience to work out what the multiplier should be!
Page 3 of 77
For example 0.1 means 0.1µF = 100nF.
Polystyrene Capacitors
This type is rarely used now. Their value (in pF) is normally
printed without units. Polystyrene capacitors can be damaged by heat when soldering (it
melts the polystyrene!) so you should use a heat sink (such as a crocodile clip). Clip the
heat sink to the lead between the capacitor and the joint.
Page 4 of 77
You may have noticed that capacitors are not available with every possible value, for
example 22µF and 47µF are readily available, but 25µF and 50µF are not!
Why is this? Imagine that you decided to make capacitors every 10µF giving 10, 20, 30, 40,
50 and so on. That seems fine, but what happens when you reach 1000? It would be
pointless to make 1000, 1010, 1020, 1030 and so on because for these values 10 is a very
small difference, too small to be noticeable in most circuits and capacitors cannot be made
with that accuracy.
To produce a sensible range of capacitor values you need to increase the size of the 'step'
as the value increases. The standard capacitor values are based on this idea and they form
a series which follows the same pattern for every multiple of ten.
The E3 series is the one most frequently used for capacitors because many types cannot
be made with very accurate values.
Variable capacitors
Trimmer capacitors
Page 5 of 77
Trimmer capacitors (trimmers) are miniature variable
capacitors. They are designed to be mounted directly onto the
circuit board and adjusted only when the circuit is built.
Trimmer Capacitor Symbol
A small screwdriver or similar tool is required to adjust
trimmers. The process of adjusting them requires patience
because the presence of your hand and the tool will slightly
change the capacitance of the circuit in the region of the
trimmer!
Trimmers are the capacitor equivalent of presets which are miniature variable resistors.
Larger battery clips fit 9V PP9 batteries but these are rarely used now.
Page 6 of 77
Crocodile clips
These are the standard single pole connectors used on meters and other electronic
equipment. They are capable of passing high currents (typically 10A) and most designs are
very robust. Shrouded plugs and sockets are available for use with high voltages where
there is a risk of electric shock. A wide variety of
colours is available from most suppliers.
Plugs
Plugs may have a screw or solder terminal to hold the
cable. Check if you need to thread the cable through
the cover before connecting it. Some plugs, such as
those illustrated, are 'stackable' which means that they
include a socket to accept another plug, allowing
several plugs to be connected to the same point - a
very useful feature for test leads.
Sockets
These are usually described as 'panel mounting'
because they are designed to be fitted to a case. Most
sockets have a solder contact but the picture shows
other options. Fit the socket in the case before
attaching the wire otherwise you will be unable to add
the mounting nut.
Terminals
In addition to a socket these have provision for 4mm terminal
attaching a wire by threading it through a hole (or and solder tag
wrapping it around the post) and tightening the top nut
by hand. They usually have a threaded stud to fit a
solder tag inside the case.
Photographs © Rapid Electronics
Page 7 of 77
2mm plugs and sockets
Miniature versions with a 1.3mm diameter plug are used where small size is essential, such
as for personal cassette players.
The connections for 3.5mm plugs and sockets are shown below. Plugs have a lug which
should be folded down to grip the cable's insulation and increase the strength of the joint.
Page 8 of 77
3.5mm mono sockets have a switch contact which can be used to switch off an internal
speaker as the plug is inserted. Ignore this contact if you do not require the switching
action.
Page 9 of 77
BNC plugs and sockets
Plugs and sockets are rated by their impedance BNC plug, photograph © Rapid Electronics
(50 or 75 ) which must be the same as the
cable's impedance. If the connector and cable impedances are not matched the signal will
be distorted because it will be partly reflected at the connection, this is the electrical
equivalent of the weak reflection which occurs when light passes through a glass window.
These are intended for audio signals but they can be used for
other low-current purposes where a multi-way connector is
required. They are available from 3 way to 8 way. 5 way is
used for stereo audio connections. The contacts are
numbered on the connector, but they are not in numerical DIN plug
order! For audio use the 'common' (0V) wire is connected to
contact 2. 5 way plugs and sockets are available in two
versions: 180° and 270° (the angle refers to the ar c formed by
the contacts).
Soldering DIN plugs is easier if you clamp the insert with the Photographs © Rapid Electronics
pins. Wires should be pushed into the hollow pins - first 'tin'
the wires (coat them with a thin layer of solder) then melt a little solder into the hollow pin
and insert the wire while keeping the solder molten. Take care to avoid melting the plastic
base, stop and allow the pin to cool if necessary.
Mini-DIN connectors are used for computer equipment such as keyboards and mice but
they are not a good choice for general use unless small size is essential.
Page 10 of 77
D connectors
Cables
Cable... flex... lead... wire... what do all these terms mean?
Stranded wire
This consists of many fine strands of wire covered by an outer plastic coating. It is flexible
and can withstand repeated bending without breaking. Use it for connections which may be
disturbed, for example wires outside cases to sensors and switches. A very flexible version
('extra-flex') is used for test leads.
Typical specifications:
10/0.1mm (10 strands of 0.1mm diameter), maximum current 0.5A.
7/0.2mm (7 strands of 0.2mm diameter), maximum current 1.4A.
16/0.2mm (16 strands of 0.2mm diameter), maximum current 3A.
24/0.2mm (24 strands of 0.2mm diameter), maximum current 4.5A.
55/0.1mm (55 strands of 0.1mm diameter), maximum current 6A, used for test leads.
Signal cable
Page 12 of 77
Screened cable
Co-axial cable
Mains flex
Mains flex is sometimes used for low voltage circuits which pass a high current, but please think carefully
before using it in this way. The distinctive colours of mains flex should act as a warning of the mains high
voltage which can be lethal; using mains flex for low voltage circuits can undermine this warning.
Diodes
Example: Circuit symbol:
Function
Diodes allow electricity to flow in only one direction. The arrow of the circuit symbol shows
the direction in which the current can flow. Diodes are the electrical version of a valve and
early diodes were actually called valves.
Page 13 of 77
Forward Voltage Drop
Reverse Voltage
When a reverse voltage is applied a perfect diode does not conduct, but all real diodes leak
a very tiny current of a few µA or less. This can be ignored in most circuits because it will
be very much smaller than the current flowing in the forward direction. However, all diodes
have a maximum reverse voltage (usually 50V or more) and if this is exceeded the diode
will fail and pass a large current in the reverse direction, this is called breakdown.
Ordinary diodes can be split into two types: Signal diodes which pass small currents of
100mA or less and Rectifier diodes which can pass large currents. In addition there are
LEDs (which have their own page) and Zener diodes (at the bottom of this page).
Diodes must be connected the correct way round, the diagram may
be labelled a or + for anode and k or - for cathode (yes, it really is k,
not c, for cathode!). The cathode is marked by a line painted on the
body. Diodes are labelled with their code in small print, you may need
a magnifying glass to read this on small signal diodes!
Rectifier diodes are quite robust and no special precautions are needed for soldering
them.
Testing diodes
You can use a multimeter or a simple tester (battery, resistor and LED) to check that a
diode conducts in one direction but not the other. A lamp may be used to test a
rectifier diode, but do NOT use a lamp to test a signal diode because the large current
passed by the lamp will destroy the diode!
Page 14 of 77
Signal diodes (small current)
Signal diodes are used to process information (electrical signals) in circuits, so they are
only required to pass small currents of up to 100mA.
General purpose signal diodes such as the 1N4148 are made from silicon and have a
forward voltage drop of 0.7V.
Germanium diodes such as the OA90 have a lower forward voltage drop of 0.2V and this
makes them suitable to use in radio circuits as detectors which extract the audio signal
from the weak radio signal.
For general use, where the size of the forward voltage drop is less important, silicon diodes
are better because they are less easily damaged by heat when soldering, they have a
lower resistance when conducting, and they have very low leakage currents when a
reverse voltage is applied.
Page 15 of 77
Bridge rectifiers
Zener diodes
a = anode, k = cathode
Zener diodes can be distinguished from ordinary diodes by their code and breakdown
voltage which are printed on them. Zener diode codes begin BZX... or BZY... Their
breakdown voltage is printed with V in place of a decimal point, so 4V7 means 4.7V for
example.
Zener diodes are rated by their breakdown voltage and maximum power:
Page 16 of 77
• The minimum voltage available is 2.7V.
• Power ratings of 400mW and 1.3W are common.
Pin numbers
ICs (chips) are easily damaged by heat when soldering and their short pins
cannot be protected with a heat sink. Instead we use a chip holder, strictly
called a DIL socket (DIL = Dual In-Line), which can be safely soldered onto the
circuit board. The chip is pushed into the holder when all soldering is complete.
Chip holders are only needed when soldering so they are not used on breadboards.
Commercially produced circuit boards often have chips soldered directly to the board without a chip holder,
usually this is done by a machine which is able to work very quickly. Please don't attempt to do this yourself
because you are likely to destroy the chip and it will be difficult to remove without damage by de-soldering.
If you need to remove a chip it can be gently prised out of the holder with a small flat-blade
screwdriver. Carefully lever up each end by inserting the screwdriver blade between the
chip and its holder and gently twisting the screwdriver. Take care to start lifting at both ends
before you attempt to remove the chip, otherwise you will bend and possibly break the pins.
Page 17 of 77
Static precautions
Many ICs are static sensitive and can be damaged when you
touch them because your body may have become charged with
static electricity, from your clothes for example. Static sensitive
ICs will be supplied in antistatic packaging with a warning label
and they should be left in this packaging until you are ready to
use them.
Antistatic bags for ICs
It is usually adequate to earth your hands by touching a metal Photograph © Rapid Electronics
water pipe or window frame before handling the IC but for the
more sensitive (and expensive!) ICs special equipment is
available, including earthed wrist straps and earthed work
surfaces. You can make an earthed work surface with a sheet of aluminium kitchen foil and
using a crocodile clip to connect the foil to a metal water pipe or window frame with a 10k
resistor in series.
Datasheets
Chip outputs are often said to 'sink' or 'source' current. The terms
refer to the direction of the current at the chip's output.
Page 18 of 77
make the red LEDs flash alternately.
The maximum sinking and sourcing currents for a chip output are usually the same but
there are some exceptions, for example 74LS TTL logic chips can sink up to 16mA but only
source 2mA.
For example the outputs Q0 - Q9 of a 4017 1-of-10 counter go high in turn. Using diodes to
combine the 2nd (Q1) and 4th (Q3) outputs as shown in the bottom diagram will make the
LED flash twice followed by a longer gap. The diodes are performing the function of an
OR gate.
Page 19 of 77
Logic ICs (chips)
Logic ICs process digital signals and there are many devices, including logic gates, flip-
flops, shift registers, counters and display drivers. They can be split into two groups
according to their pin arrangements: the 4000 series and the 74 series which consists of
various families such as the 74HC, 74HCT and 74LS.
For most new projects the 74HC family is the best choice. The older 4000 series is the
only family which works with a supply voltage of more than 6V. The 74LS and 74HCT
families require a 5V supply so they are not convenient for battery operation.
The table below summarises the important properties of the most popular logic families:
Page 20 of 77
Mixing Logic Families Driving 4000 or 74HC inputs from a
74LS output using a pull-up resistor.
It is best to build a circuit using just one logic family, but if necessary the different families
may be mixed providing the power supply is suitable for all of them. For example mixing
4000 and 74HC requires the power supply to be in the range 3 to 6V. A circuit which
includes 74LS or 74HCT ICs must have a 5V supply.
A 74LS output cannot reliably drive a 4000 or 74HC input unless a 'pull-up' resistor of
2.2k is connected between the +5V supply and the input to correct the slightly different
voltage ranges used for logic 0.
Note that a 4000 series output can drive only one 74LS input.
For further information, including pin connections, please use the quick links
on the right or go to 4000 Series ICs.
Page 21 of 77
74 Series: 74LS, 74HC and 74HCT
Quick links to
individual ICs
There are several families of logic ICs numbered from 74xx00 onwards with
letters (xx) in the middle of the number to indicate the type of circuitry, eg 7400 7432
74LS00 and 74HC00. The original family (now obsolete) had no letters, eg 7402 7442
7400. 7403 7447
7404 7486
The 74LS (Low-power Schottky) family (like the original) uses TTL 7405 7490
7408 7493
(Transistor-Transistor Logic) circuitry which is fast but requires more power 7409 74132
than later families. 7410 74160
7411 74161
The 74HC family has High-speed CMOS circuitry, combining the speed of 7412 74162
7414 74163
TTL with the very low power consumption of the 4000 series. They are
7420 74192
CMOS ICs with the same pin arrangements as the older 74LS family. Note 7421 74193
that 74HC inputs cannot be reliably driven by 74LS outputs because the 7427 74390
voltage ranges used for logic 0 are not quite compatible, use 74HCT instead. 7430 74393
The 74HCT family is a special version of 74HC with 74LS TTL-compatible 74HC4017
74HC4020
inputs so 74HCT can be safely mixed with 74LS in the same system. In fact
74HC4040
74HCT can be used as low-power direct replacements for the older 74LS ICs 74HC4060
in most circuits. The minor disadvantage of 74HCT is a lower immunity to 74HC4511
noise, but this is unlikely to be a problem in most situations.
Beware that the 74 series is often still called the 'TTL series' even though the latest ICs do
not use TTL!
For further information, including pin connections, please use the quick links on the right or
go to 74 series ICs.
The CMOS circuitry used in the 74HC and 74HCT series ICs means that they are static
sensitive. Touching a pin while charged with static electricity (from your clothes for
example) may damage the IC. In fact most ICs in regular use are quite tolerant and
earthing your hands by touching a metal water pipe or window frame before handling them
will be adequate. ICs should be left in their protective packaging until you are ready to use
them.
PIC microcontrollers
If you think PICs are not for you because you have never written a computer program,
please look at the PICAXE system! It is very easy to get started using a few simple BASIC
commands and there are a number of projects available as kits which are ideal for
beginners. The system is stocked by Rapid Electronics.
There are many ICs in the 4000 series and this page only covers a selection, concentrating
on the most useful gates, counters, decoders and display drivers. For each IC there is a diagram showing the
pin arrangement and brief notes explain the function of the pins where necessary. The notes also explain if
the IC's properties differ substantially from the standard characteristics listed above.
If you are using another reference please be aware that there is some variation in the terms used to describe
input pins. I have tried to be logically consistent so the term I have used describes the pin's function when
high (true). For example 'disable clock' on the 4026 is often labelled 'clock enable' but this can be confusing
because it enables the clock when low (false). An input described as 'active low' is like this, it performs its
function when low. If you see a line drawn above a label it means it is active low, for example: (say
'reset-bar').
Static precautions
The CMOS circuitry means that 4000 series ICs are static sensitive. Touching a pin while charged with static
electricity (from your clothes for example) may damage the IC. In fact most ICs in regular use are quite
tolerant and earthing your hands by touching a metal water pipe or window frame before handling them will be
adequate. ICs should be left in their protective packaging until you are ready to use them.
Page 23 of 77
Gates
The 4093 has Schmitt trigger inputs to provide good noise immunity. They are ideal for slowly changing or
noisy signals. The hysteresis is about 0.5V with a 4.5V supply and almost 2V with a 9V supply.
Page 24 of 77
4068 8-input NAND/AND* gate
This gate has a propagation time which is about 10 times
longer than normal so it is not suitable for high speed circuits.
Inputs: These ICs are unusual because their gate inputs can
withstand up to +15V even if the power supply is a lower
voltage.
Page 25 of 77
Note the unusual arrangement of the power supply pins for these ICs!
The disable input should be low (0V) for normal operation. When high it disables counting so that clock
pulses are ignored and the count is kept constant.
The ÷10 output is high for counts 0-4 and low for 5-9, so it provides an output at 1/10 of the clock frequency. It
can be used to drive the clock input of another 4017 (to count the tens).
Page 26 of 77
4026 decade counter and 7-segment
display driver
The count advances as the clock input becomes high
(on the rising-edge). The outputs a-g go high to light
the appropriate segments of a common-cathode 7-
segment display as the count advances. The maximum
output current is about 1mA with a 4.5V supply and
4mA with a 9V supply. This is sufficient to directly drive
many 7-segment LED displays. The table below shows
the segment sequence in detail.
The count occurs as the clock input becomes high (on the
rising-edge). The up/down input determines the direction of
counting: high for up, low for down. The state of up/down
should be changed when the clock is high.
Page 27 of 77
For normal operation (counting) preset, and carry in should be low.
The binary/decade input selects the type of counter: 4-bit binary (0-15) when high; decade (0-9) when low.
The counter may be preset by placing the desired binary number on the inputs A-D and briefly making the
preset input high. There is no reset input, but preset can be used to reset the count to zero if inputs A-D are
all low.
The count occurs as the clock input becomes high (on the rising-
edge). The up/down input determines the direction of counting:
high for up, low for down. The state of up/down should be
changed when the clock is high.
The counter may be preset by placing the desired binary number on the inputs A-D and briefly making the
preset input high, the clock input should be low when this happens.
Page 28 of 77
arrangements are used if the 4518/20 counters are linked in a chain, as explained below.
For normal operation the reset input should be low, making it high resets the counter to zero (0000, QA-QD
low).
Counting to less than the maximum (9 or 15) can be achieved by connecting the appropriate output(s) to
the reset input, using an AND gate if necessary. For example to count 0 to 8 connect QA (1) and QD (8) to
reset using an AND gate.
The count advances as the clock input becomes low (on the
falling-edge), this is indicated by the bar over the clock label.
This is the usual clock behaviour of ripple counters and it
means a counter output can directly drive the clock input of the
next counter in a chain.
The reset input should be low for normal operation (counting). When high it resets the count to zero (all
outputs low).
Also see: 4040 (12-bit) and 4060 (14-bit with internal oscillator).
Page 29 of 77
4024 7-bit (÷128) ripple counter
The 4024 is a ripple counter so beware that glitches may
occur in any logic gate systems connected to its outputs due
to the slight delay before the later counter outputs respond to
a clock pulse.
The count advances as the clock input becomes low (on the
falling-edge), this is indicated by the bar over the clock label.
This is the usual clock behaviour of ripple counters and it
means a counter output can directly drive the clock input of
the next counter in a chain.
The reset input should be low for normal operation (counting). When high it resets the count to zero (all
outputs low).
The count advances as the clock input becomes low (on the
falling-edge), this is indicated by the bar over the clock label.
This is the usual clock behaviour of ripple counters and it
means a counter output can directly drive the clock input of the
next counter in a chain.
The reset input should be low for normal operation (counting). When high it resets the count to zero (all
outputs low).
Page 30 of 77
4060 14-bit (÷16,384) ripple counter with
internal oscillator
The 4060 is a ripple counter so beware that glitches may
occur in any logic gate systems connected to its outputs
due to the slight delay before the later counter outputs
respond to a clock pulse.
Also see: 4020 (14-bit) and 4040 (12-bit), neither have internal oscillators.
Decoders
Page 31 of 77
binary 0101 (=5) will make output Q5 high and all other outputs low.
The 4028 is a BCD (binary coded decimal) decoder intended for input values 0 to 9 (0000 to 1001 in binary).
With inputs from 10 to 15 (1010 to 1111 in binary) all outputs are low.
Note that the 4028 can be used as a 1-of-8 decoder if input D is held low.
The 4511 is intended for BCD (binary coded decimal). Inputs values from 10 to 15 (1010 to 1111 in binary)
will give a blank display (all segments off).
Quick links to
individual ICs
7400 7432
7402 7442
7403 7447
7404 7486
7405 7490
7408 7493
7409 74132
7410 74160
7411 74161
7412 74162
7414 74163
7420 74192
7421 74193
7427 74390
7430 74393
74HC4017
74HC4020
74HC4040
Page 32 of 77
74 Series Logic ICs 74HC4060
74HC4511
General characteristics
There are several families of logic chips numbered from 74xx00 onwards with letters (xx) in
the middle of the number to indicate the type of circuitry, eg 74LS00 and 74HC00. The
original family (now obsolete) had no letters, eg 7400.
The 74LS (Low-power Schottky) family (like the original) uses TTL (Transistor-Transistor
Logic) circuitry which is fast but requires more power than later families. The 74 series is
often still called the 'TTL series' even though the latest chips do not use TTL!
The 74HC family has High-speed CMOS circuitry, combining the speed of TTL with the
very low power consumption of the 4000 series. They are CMOS chips with the same pin
arrangements as the older 74LS family. Note that 74HC inputs cannot be reliably driven by
74LS outputs because the voltage ranges used for logic 0 are not quite compatible, use
74HCT instead.
The 74HCT family is a special version of 74HC with 74LS TTL-compatible inputs so 74HCT
can be safely mixed with 74LS in the same system. In fact 74HCT can be used as low-
power direct replacements for the older 74LS ICs in most circuits. The minor disadvantage
of 74HCT is a lower immunity to noise, but this is unlikely to be a problem in most
situations.
The CMOS circuitry used in the 74HC and 74HCT series ICs means that they are static
sensitive. Touching a pin while charged with static electricity (from your clothes for
example) may damage the IC. In fact most ICs in regular use are quite tolerant and
earthing your hands by touching a metal water pipe or window frame before handling them
will be adequate. ICs should be left in their protective packaging until you are ready to use
them.
To compare the different logic families please see the Summary table of logic families
For most new projects the 74HC family is the best choice.
The 74LS and 74HCT families require a 5V supply so they are not convenient for battery
operation.
Page 33 of 77
• Fan-out: one output can drive many inputs (50+), except 74LS inputs because these require a higher
current and only 10 can be driven.
• Gate propagation time: about 10ns for a signal to travel through a gate.
• Frequency: up to 25MHz.
• Power consumption (of the chip itself) is very low, a few µW. It is much greater at high frequencies,
a few mW at 1MHz for example.
• Supply: 5V ±0.25V, it must be very smooth, a regulated supply is best. In addition to the normal
supply smoothing, a 0.1µF capacitor should be connected across the supply near the chip to remove
the 'spikes' generated as it switches state, one capacitor is needed for every 4 chips.
• Inputs 'float' high to logic 1 if unconnected, but do not rely on this in a permanent (soldered) circuit
because the inputs may pick up electrical noise. 1mA must be drawn out to hold inputs at logic 0. In a
permanent circuit it is wise to connect any unused inputs to +Vs to ensure good immunity to noise.
• Outputs can sink up to 16mA (enough to light an LED), but they can source only about 2mA. To
switch larger currents you can connect a transistor.
• Fan-out: one output can drive up to 10 74LS inputs, but many more 74HCT inputs.
• Gate propagation time: about 10ns for a signal to travel through a gate.
• Frequency: up to about 35MHz (under the right conditions).
• Power consumption (of the chip itself) is a few mW.
There are many ICs in the 74 series and this page only covers a selection, concentrating on the most useful
gates, counters, decoders and display drivers. For each IC there is a diagram showing the pin arrangement
and brief notes explain the function of the pins where necessary. For simplicity the family letters after the 74
are omitted in the diagrams below because the pin connections apply to all 74 series gates with the same
number. For example 7400 NAND gates are available as 74HC00, 74HCT00 and 74LS00.
If you are using another reference please be aware that there is some variation in the terms used to
describe pin functions, for example reset is also called clear. Some inputs are 'active low' which
means they perform their function when low. If you see a line drawn above a label it means it is
Page 34 of 77
active low, for example: (say 'reset-bar').
Gates
Quad 2-input gates
Page 35 of 77
7430 8-input NAND gate
NC = No Connection (a pin that is not used).
Counters
Counting to less than the maximum (9 or 15) can be achieved by connecting the appropriate output(s) to
the two reset0 inputs. If only one reset input is required the two inputs can be connected together. For
example: to count 0 to 8 connect QA (1) and QD (8) to the reset inputs.
Counting to less than 9 can be achieved by connecting the appropriate output(s) to the reset input, using an
AND gate if necessary. For example: to count 0 to 7 connect QD (8) to reset, to count 0 to 8 connect QA (1)
and QD (8) to reset using an AND gate.
Page 37 of 77
Counting to less than 15 can be achieved by connecting the appropriate output(s) to the reset input, using
an AND gate if necessary. For example to count 0 to 8 connect QA (1) and QD (8) to reset using an AND
gate.
The reset input is active-low so it should be high (+Vs) for normal operation (counting). When low it resets the
count to zero (0000, QA-QD low), this happens immediately with the 74160 and 74161 (standard reset), but
with the 74162 and 74163 (synchronous reset) the reset occurs on the rising-edge of the clock input.
Counting to less than the maximum (15 or 9) can be achieved by connecting the appropriate output(s)
through a NOT or NAND gate to the reset input. For the 74162 and 74163 (synchronous reset) you must
use the output(s) representing one less than the reset count you require, e.g. to reset on 7 (counting 0 to 6)
use QB (2) and QC (4).
These are the 74HC equivalents of 4000 series CMOS counters. Like all 74HC ICs they
need a power supply of 2 to 6V. For pin connections and functions please see: 4017 | 4020
| 4040 | 4060
Decoders
Also see: 74HC4017 and 4017 both are a decade counter and 1-of-10 decoder in a single IC.
Page 40 of 77
7-segment Display Drivers
The 7447 is intended for BCD (binary coded decimal) which is input values 0 to 9 (0000 to 1001 in binary).
Inputs from 10 to 15 (1010 to 1111 in binary) will light odd display segments but will do no harm.
This is the 74HC equivalent of the CMOS 4511 display driver. Like all 74HC ICs it needs a
power supply of 2 to 6V. For pin connections and functions please see 4511.
Lamps
Function and Construction
Lamps emit light when an electric current passes through them. All of the lamps
shown on this page have a thin wire filament which becomes very hot and glows
brightly when a current passes through it. The filament is made from a metal with a
high melting point such as tungsten and it is usually wound into a small coil.
Filament lamps have a shorter lifetime than most electronic components because
eventually the filament 'blows' (melts) at a weak point.
Circuit symbols
Page 41 of 77
There are two circuit symbols for a lamp, one for a lamp used to provide illumination and
another for a lamp used as an indicator. Small lamps such as torch bulbs can be used for
both purposes so either circuit symbol may used in simple educational circuits.
Selecting a Lamp
The voltage and power (or current) ratings are usually printed or embossed on the body of
a lamp.
Voltage rating
This is the supply voltage required for normal brightness. If a slightly higher
voltage is used the lamp will be brighter but its lifetime will be shorter. With a
lower supply voltage the lamp will be dimmer and its lifetime will be longer. The
light from dim lamps has a yellow-orange colour.
Torch lamps pass a relatively large current and this significantly reduces the
output voltage of the battery. Some voltage is used up inside the battery driving the large
current through the small resistance of the battery itself (its 'internal resistance'). As a result
the correct voltage rating for a torch lamp is lower than the normal voltage of the battery
which lights it!
For example: a lamp rated 3.5V 0.3A is correct for a 4.5V battery (three 1.5V cells)
because when the lamp is connected the voltage across the battery falls to about 3.5V.
This is the power or current for the lamp when connected to its rated voltage. Low power
lamps are usually rated by their current and high power lamps by their power. It is easy to
convert between the two ratings:
P = I × V where: P = power in watts (W)
or I = current in amps (A)
I=P/V V = voltage in volts (V)
Page 42 of 77
Examples:
• A lamp rated 3.5V 0.3A has a power rating P = I × V = 0.3 × 3.5 = 1.05W
• A lamp rated 6V 0.06A has a power rating P = I × V = 0.06 × 6 = 0.36W
• A lamp rated 12W 2.4W has a current rating I = P / V = 2.4 / 12 = 0.2A
Lamp Type
Pre-focus
This type of lamp is used in torches and lanterns.
The flange at the top of the metal body is used to
hold the lamp in place. Lampholders are not readily
available so this type is unsuitable for most projects.
Page 43 of 77
Wire ended
These are very small lamps with a bulb about 3mm
diameter and 6mm long. Take care to avoid
snapping the wires where they enter the glass bulb.
Lampholders usually have screw terminals or solder tags screw terminals solder tags
to attach wires. Some small holders have contacts which
Lampholders
may be soldered directly to a circuit board.
Photographs © Rapid Electronics
Lamps in Series
Page 44 of 77
A disadvantage of connecting lamps in series is that if one lamp blows all of them will go
out because the circuit is broken. Christmas tree lamps have a special feature to overcome
this problem; they are designed to short circuit (conduct like a wire link) when they blow, so
the circuit is not broken and the other lamps remain lit, making it easier to locate the faulty
lamp. Sets also include one 'fuse' lamp which blows normally.
WARNING! The Christmas tree lamps may seem safe because they use only 12V but they are connected to
the mains supply which can be lethal. Always unplug from the mains before changing lamps. The voltage
across the holder of a missing lamp is the full 240V of the mains supply! (Yes, it really is!)
Function
LEDs must be connected the correct way round, the diagram may be
labelled a or + for anode and k or - for cathode (yes, it really is k, not c, for
cathode!). The cathode is the short lead and there may be a slight flat on
the body of round LEDs. If you can see inside the LED the cathode is the
larger electrode (but this is not an official identification method).
LEDs can be damaged by heat when soldering, but the risk is small unless you are very
slow. No special precautions are needed for soldering most LEDs.
Page 45 of 77
Testing an LED
For an accurate value please see Calculating an LED resistor value below.
Colours of LEDs
Tri-colour LEDs
The most popular type of tri-colour LED has a red and a green LED combined in
one package with three leads. They are called tri-colour because mixed red and
green light appears to be yellow and this is produced when both the red and
green LEDs are on.
The diagram shows the construction of a tri-colour LED. Note the different
lengths of the three leads. The centre lead (k) is the common cathode for both
LEDs, the outer leads (a1 and a2) are the anodes to the LEDs allowing each one
to be lit separately, or both together to give the third colour.
Bi-colour LEDs
A bi-colour LED has two LEDs wired in 'inverse parallel' (one forwards, one backwards)
combined in one package with two leads. Only one of the LEDs can be lit at one time and
they are less useful than the tri-colour LEDs described above.
As well as a variety of colours, sizes and shapes, LEDs also vary in their viewing angle.
This tells you how much the beam of light spreads out. Standard LEDs have a viewing
angle of 60° but others have a narrow beam of 30° o r less.
Rapid Electronics stock a wide selection of LEDs and their catalogue is a good guide to the
range available.
R = (VS - VL) / I
VS = supply voltage
VL = LED voltage (usually 2V, but 4V for blue and white LEDs)
I = LED current (e.g. 20mA), this must be less than the maximum permitted
If the calculated value is not available choose the nearest standard resistor value which is
greater, so that the current will be a little less than you chose. In fact you may wish to
choose a greater resistor value to reduce the current (to increase battery life for example)
but this will make the LED less bright.
For example
If the supply voltage VS = 9V, and you have a red LED (VL = 2V), requiring a current I =
20mA = 0.020A,
R = (9V - 2V) / 0.02A = 350 , so choose 390 (the nearest standard value which is
greater).
Page 47 of 77
Working out the LED resistor formula using Ohm's law
Ohm's law says that the resistance of the resistor, R = V/I, where:
V = voltage across the resistor (= VS - VL in this case)
I = the current through the resistor
So R = (VS - VL) / I
For more information on the calculations please see the Ohm's Law page.
Example calculations:
A red, a yellow and a green LED in series need a supply voltage of at least
3 × 2V + 2V = 8V, so a 9V battery would be ideal.
VL = 2V + 2V + 2V = 6V (the three LED voltages added up).
If the supply voltage VS is 9V and the current I must be 15mA = 0.015A,
Resistor R = (VS - VL) / I = (9 - 6) / 0.015 = 3 / 0.015 = 200 ,
so choose R = 220 (the nearest standard value which is greater).
Connecting several LEDs in parallel with just one resistor shared between
them is generally not a good idea.
If the LEDs require slightly different voltages only the lowest voltage LED
will light and it may be destroyed by the larger current flowing through it.
Although identical LEDs can be successfully connected in parallel with one
resistor this rarely offers any useful benefit because resistors are very
cheap and the current used is the same as connecting the LEDs
individually. If LEDs are in parallel each one should have its own resistor.
Page 48 of 77
Suppliers' catalogues usually include tables of technical data for components such as
LEDs. These tables contain a good deal of useful information in a compact form but they
can be difficult to understand if you are not familiar with the abbreviations used.
The table below shows typical technical data for some 5mm diameter round LEDs with
diffused packages (plastic bodies). Only three columns are important and these are shown
in bold. Please see below for explanations of the quantities.
IF VF VF VR Luminous Viewing
Type Colour Wavelength
max. typ. max. max. intensity angle
Standard Red 30mA 1.7V 2.1V 5V 5mcd @ 10mA 60° 660nm
Bright
Standard 30mA 2.0V 2.5V 5V 80mcd @ 10mA 60° 625nm
red
Standard Yellow 30mA 2.1V 2.5V 5V 32mcd @ 10mA 60° 590nm
Standard Green 25mA 2.2V 2.5V 5V 32mcd @ 10mA 60° 565nm
High
Blue 30mA 4.5V 5.5V 5V 60mcd @ 20mA 50° 430nm
intensity
500mcd @
Super bright Red 30mA 1.85V 2.5V 5V 60° 660nm
20mA
Low current Red 30mA 1.7V 2.0V 5V 5mcd @ 2mA 60° 625nm
IF max. Maximum forward current, forward just means with the LED connected
correctly.
VF typ. Typical forward voltage, VL in the LED resistor calculation.
This is about 2V, except for blue and white LEDs for which it is about
4V.
VF max. Maximum forward voltage.
VR max. Maximum reverse voltage
You can ignore this for LEDs connected the correct way round.
Luminous Brightness of the LED at the given current, mcd = millicandela.
intensity
Viewing angle Standard LEDs have a viewing angle of 60°, others e mit a narrower
beam of about 30°.
Wavelength The peak wavelength of the light emitted, this determines the colour of
the LED.
nm = nanometre.
Flashing LEDs
Flashing LEDs look like ordinary LEDs but they contain an integrated circuit (IC) as well as
the LED itself. The IC flashes the LED at a low frequency, typically 3Hz (3 flashes per
second). They are designed to be connected directly to a supply, usually 9 - 12V, and no
series resistor is required. Their flash frequency is fixed so their use is limited and you may
prefer to build your own circuit to flash an ordinary LED, for example our Flashing LED
project which uses a 555 astable circuit.
Page 49 of 77
LED Displays
LED displays are packages of many LEDs arranged in a pattern, the most familiar pattern
being the 7-segment displays for showing numbers (digits 0-9). The pictures below
illustrate some of the popular designs:
Relays
Relays
Page 50 of 77
A relay is an electrically operated switch. Current
flowing through the coil of the relay creates a magnetic
field which attracts a lever and changes the switch
contacts. The coil current can be on or off so relays have
two switch positions and they are double throw
(changeover) switches.
Relays are usuallly SPDT or DPDT but they can have many more sets of switch contacts,
for example relays with 4 sets of changeover contacts are readily available. For further
information about switch contacts and the terms used to describe them please see the
page on switches.
Most relays are designed for PCB mounting but you can solder wires directly to the pins
providing you take care to avoid melting the plastic case of the relay.
The supplier's catalogue should show you the relay's connections. The coil will be obvious
and it may be connected either way round. Relay coils produce brief high voltage 'spikes'
when they are switched off and this can destroy transistors and ICs in the circuit. To
prevent damage you must connect a protection diode across the relay coil.
The animated picture shows a working relay with its coil and switch contacts. You can see
a lever on the left being attracted by magnetism when the coil is switched on. This lever
moves the switch contacts. There is one set of contacts (SPDT) in the foreground and
another behind them, making the relay DPDT.
The relay's switch connections are usually labelled COM, NC and NO:
• COM = Common, always connect to this, it is the moving part of the switch.
• NC = Normally Closed, COM is connected to this when the relay coil is off.
• NO = Normally Open, COM is connected to this when the relay coil is on.
• Connect to COM and NO if you want the switched circuit to be on when the relay coil is on.
• Connect to COM and NC if you want the switched circuit to be on when the relay coil is off.
Choosing a relay
supply voltage
Relay coil current =
coil resistance
4. For example: A 12V supply relay with a coil resistance of 400 passes a current of
30mA. This is OK for a 555 timer IC (maximum output current 200mA), but it is too
much for most ICs and they will require a transistor to amplify the current.
5. Switch ratings (voltage and current)
The relay's switch contacts must be suitable for the circuit they are to control. You
will need to check the voltage and current ratings. Note that the voltage rating is
usually higher for AC, for example: "5A at 24V DC or 125V AC".
6. Switch contact arrangement (SPDT, DPDT etc)
Most relays are SPDT or DPDT which are often described as "single pole
changeover" (SPCO) or "double pole changeover" (DPCO). For further information
please see the page on switches.
Reed relays
Page 52 of 77
Reed relays consist of a coil surrounding a reed switch. Reed
switches are normally operated with a magnet, but in a reed
relay current flows through the coil to create a magnetic field
and close the reed switch.
The reed relay shown in the photograph will plug into a standard 14-pin DIL socket ('chip
holder').
For further information about reed switches please see the page on switches.
Like relays, transistors can be used as an electrically operated switch. For switching small
DC currents (< 1A) at low voltage they are usually a better choice than a relay. However
transistors cannot switch AC or high voltages (such as mains electricity) and they are not
usually a good choice for switching large currents (> 5A). In these cases a relay will be
needed, but note that a low power transistor may still be needed to switch the current for
the relay's coil! The main advantages and disadvantages of relays are listed below:
Advantages of relays:
• Relays can switch AC and DC, transistors can only switch DC.
• Relays can switch high voltages, transistors cannot.
• Relays are a better choice for switching large currents (> 5A).
• Relays can switch many contacts at once.
Disadvantages of relays:
Resistors
Example: Circuit symbol:
Function
Page 53 of 77
Resistors restrict the flow of electric current, for example a resistor is placed in series with a
light-emitting diode (LED) to limit the current passing through the LED.
Resistors may be connected either way round. They are not damaged by heat when
soldering.
This resistor has red (2), violet (7), yellow (4 zeros) and gold bands.
So its value is 270000 = 270 k .
On circuit diagrams the is usually omitted and the value is written 270K.
Find out how to make your own Resistor Colour Code Calculator
The standard colour code cannot show values of less than 10 . To show these small
values two special colours are used for the third band: gold which means × 0.1 and silver
which means × 0.01. The first and second bands represent the digits as normal.
For example:
red, violet, gold bands represent 27 × 0.1 = 2.7
green, blue, silver bands represent 56 × 0.01 = 0.56
The tolerance of a resistor is shown by the fourth band of the colour code. Tolerance is
the precision of the resistor and it is given as a percentage. For example a 390 resistor
with a tolerance of ±10% will have a value within 10% of 390 , between 390 - 39 = 351
and 390 + 39 = 429 (39 is 10% of 390).
Page 54 of 77
A special colour code is used for the fourth band tolerance:
silver ±10%, gold ±5%, red ±2%, brown ±1%.
If no fourth band is shown the tolerance is ±20%.
Tolerance may be ignored for almost all circuits because precise resistor values are rarely
required.
Resistor shorthand
Resistor values are often written on circuit diagrams using a code system which avoids
using a decimal point because it is easy to miss the small dot. Instead the letters R, K and
M are used in place of the decimal point. To read the code: replace the letter with a decimal
point, then multiply the value by 1000 if the letter was K, or 1000000 if the letter was M. The
letter R means multiply by 1.
For example:
You may have noticed that resistors are not available with every possible value, for
example 22k and 47k are readily available, but 25k and 50k are not!
Why is this? Imagine that you decided to make resistors every 10 giving 10, 20, 30, 40,
50 and so on. That seems fine, but what happens when you reach 1000? It would be
pointless to make 1000, 1010, 1020, 1030 and so on because for these values 10 is a very
small difference, too small to be noticeable in most circuits. In fact it would be difficult to
make resistors sufficiently accurate.
To produce a sensible range of resistor values you need to increase the size of the 'step' as
the value increases. The standard resistor values are based on this idea and they form a
series which follows the same pattern for every multiple of ten.
The E6 series (6 values for each multiple of ten, for resistors with 20% tolerance)
10, 15, 22, 33, 47, 68, ... then it continues 100, 150, 220, 330, 470, 680, 1000 etc.
Notice how the step size increases as the value increases. For this series the step (to the
next value) is roughly half the value.
The E12 series (12 values for each multiple of ten, for resistors with 10% tolerance)
10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82, ... then it continues 100, 120, 150 etc.
Notice how this is the E6 series with an extra value in the gaps.
The E12 series is the one most frequently used for resistors. It allows you to choose a
value within 10% of the precise value you need. This is sufficiently accurate for almost all
projects and it is sensible because most resistors are only accurate to ±10% (called their
Page 55 of 77
'tolerance'). For example a resistor marked 390 could vary by ±10% × 390 = ±39 , so it
could be any value between 351 and 429 .
For information on resistors connected in series and parallel please see the Resistance
page,
Examples:
• A 470 resistor with 10V across it, needs a power rating P = V²/R = 10²/470 =
0.21W.
In this case a standard 0.25W resistor would be suitable.
• A 27 resistor with 10V across it, needs a power rating P = V²/R = 10²/27 = 3.7W.
A high power resistor with a rating of 5W would be suitable.
The Resistor Colour Code Calculator can be used to identify resistors. It consists of three
card discs showing the colours and values, these are fastened together so you can simply
turn the discs to select the value or colour code required. Simple but effective!
There are two versions to download and print on A4 white card (two per sheet):
To make the calculator, carefully cut out the three discs and fasten them together with a
small brass paper fastener.
The calculator design is copyright but it may be freely copied for educational purposes.
Switches
Selecting a Switch
Circuit symbol for a
There are three important features to consider when selecting a switch: simple on-off switch
Switch Contacts
Page 57 of 77
• Pole - number of switch contact sets.
• Throw - number of conducting positions, single or double.
• Way - number of conducting positions, three or more.
• Momentary - switch returns to its normal position when released.
• Open - off position, contacts not conducting.
• Closed - on position, contacts conducting, there may be several on positions.
For example: the simplest on-off switch has one set of contacts (single pole) and one
switching position which conducts (single throw). The switch mechanism has two positions:
open (off) and closed (on), but it is called 'single throw' because only one position conducts.
Switch contacts are rated with a maximum voltage and current, and there may be different
ratings for AC and DC. The AC values are higher because the current falls to zero many
times each second and an arc is less likely to form across the switch contacts.
For low voltage electronics projects the voltage rating will not matter, but you may need to
check the current rating. The maximum current is less for inductive loads (coils and motors)
because they cause more sparking at the contacts when switched off.
Standard Switches
(ON)-OFF
Push-to-make = SPST Momentary
Page 58 of 77
normally open (off) position when you
release the button, this is shown by the
brackets around ON. This is the standard
doorbell switch.
ON-(OFF)
Push-to-break = SPST Momentary
ON-ON
Single Pole, Double Throw = SPDT
Dual ON-OFF
Double Pole, Single Throw = DPST
Page 59 of 77
Dual ON-ON
Double Pole, Double Throw = DPDT
Special Switches
Page 60 of 77
Keyswitch
Multi-pole Switch
Page 61 of 77
Multi-way Switch
Contrast this multi-way switch (many switch positions) with the multi-pole
switch (many contact sets) described above.
Transistors
Function
Transistors amplify current, for example they can be used to amplify the
small output current from a logic chip so that it can operate a lamp, relay or
other high current device. In many circuits a resistor is used to convert the
changing current to a changing voltage, so the transistor is being used to
amplify voltage.
A transistor may be used as a switch (either fully on with maximum current, or fully off with
no current) and as an amplifier (always partly on).
The amount of current amplification is called the current gain, symbol hFE.
For further information please see the Transistor Circuits page.
Types of transistor
There are two types of standard transistors, NPN and PNP, with
different circuit symbols. The letters refer to the layers of
semiconductor material used to make the transistor. Most
transistors used today are NPN because this is the easiest type
to make from silicon. If you are new to electronics it is best to
start by learning how to use NPN transistors.
Transistor circuit symbols
The leads are labelled base (B), collector (C) and emitter (E).
These terms refer to the internal operation of a transistor but they are not much help in understanding how a
transistor is used, so just treat them as labels!
Page 62 of 77
A Darlington pair is two transistors connected together to give a very high current gain.
Connecting
Please see below for a table showing the case styles of some common transistors.
Soldering
Heat sinks
Page 63 of 77
Testing a transistor
The diagram shows how the junctions behave in an NPN transistor. The diodes are
reversed in a PNP transistor but the same test procedure can be used.
To test a PNP transistor use the same circuit but reverse the
LED and the supply voltage. A simple switching circuit
to test an NPN transistor
Some multimeters have a 'transistor test' function which
provides a known base current and measures the collector current so as to display the
transistor's DC current gain hFE.
Transistor codes
There are three main series of transistor codes used in the UK:
Choosing a transistor
Most projects will specify a particular transistor, but if necessary you can usually substitute
an equivalent transistor from the wide range available. The most important properties to
look for are the maximum collector current IC and the current gain hFE. To make selection
easier most suppliers group their transistors in categories determined either by their typical
use or maximum power rating.
To make a final choice you will need to consult the tables of technical data which are
normally provided in catalogues. They contain a great deal of useful information but they
can be difficult to understand if you are not familiar with the abbreviations used. The table
below shows the most important technical data for some popular transistors, tables in
catalogues and reference books will usually show additional information but this is unlikely
to be useful unless you are experienced. The quantities shown in the table are explained
below.
NPN transistors
Case IC VCE hFE Ptot Category Possible
Code Structure
style max. max. min. max. (typical use) substitutes
BC107 NPN TO18 100mA 45V 110 300mW Audio, low power BC182 BC547
General
BC108C BC183
BC108 NPN TO18 100mA 20V 110 300mW purpose, low
BC548
power
General
BC108C NPN TO18 100mA 20V 420 600mW purpose, low
power
Audio (low
BC109 NPN TO18 200mA 20V 200 300mW noise), low BC184 BC549
power
General
BC182 NPN TO92C 100mA 50V 100 350mW purpose, low BC107 BC182L
power
General
BC182L NPN TO92A 100mA 50V 100 350mW purpose, low BC107 BC182
power
BC547B NPN TO92C 100mA 45V 200 500mW Audio, low power BC107B
General
BC548B NPN TO92C 100mA 30V 220 500mW purpose, low BC108B
power
Page 65 of 77
Audio (low
BC549B NPN TO92C 100mA 30V 240 625mW noise), low BC109
power
General
2N3053 NPN TO39 700mA 40V 50 500mW purpose, low BFY51
power
General
BFY51 NPN TO39 1A 30V 40 800mW purpose, BC639
medium power
General
BC639 NPN TO92A 1A 80V 40 800mW purpose, BFY51
medium power
General
TIP29A NPN TO220 1A 60V 40 30W purpose, high
power
General
TIP31A NPN TO220 3A 60V 10 40W purpose, high TIP31C TIP41A
power
General
TIP31C NPN TO220 3A 100V 10 40W purpose, high TIP31A TIP41A
power
General
TIP41A NPN TO220 6A 60V 15 65W purpose, high
power
General
2N3055 NPN TO3 15A 60V 20 117W purpose, high
power
Please note: the data in this table was compiled from several sources which are not entirely consistent! Most
of the discrepancies are minor, but please consult information from your supplier if you require precise data.
PNP transistors
Case IC VCE hFE Ptot Category Possible
Code Structure
style max. max. min. max. (typical use) substitutes
BC177 PNP TO18 100mA 45V 125 300mW Audio, low power BC477
General
BC178 PNP TO18 200mA 25V 120 600mW purpose, low BC478
power
Audio (low
BC179 PNP TO18 200mA 20V 180 600mW noise), low
power
BC477 PNP TO18 150mA 80V 125 360mW Audio, low power BC177
General
BC478 PNP TO18 150mA 40V 125 360mW purpose, low BC178
power
General
TIP32A PNP TO220 3A 60V 25 40W purpose, high TIP32C
power
General
TIP32C PNP TO220 3A 100V 10 40W purpose, high TIP32A
power
Please note: the data in this table was compiled from several sources which are not entirely consistent! Most
of the discrepancies are minor, but please consult information from your supplier if you require precise data.
Structure This shows the type of transistor, NPN or PNP. The polarities of the
two types are different, so if you are looking for a substitute it must
Page 66 of 77
be the same type.
Case style There is a diagram showing the leads for some of the most
common case styles in the Connecting section above. This
information is also available in suppliers' catalogues.
IC max. Maximum collector current.
VCE max. Maximum voltage across the collector-emitter junction.
You can ignore this rating in low voltage circuits.
hFE This is the current gain (strictly the DC current gain). The
guaranteed minimum value is given because the actual value varies
from transistor to transistor - even for those of the same type! Note
that current gain is just a number so it has no units.
The gain is often quoted at a particular collector current IC which is usually in the
middle of the transistor's range, for example '100@20mA' means the gain is at
least 100 at 20mA. Sometimes minimum and maximum values are given. Since
the gain is roughly constant for various currents but it varies from transistor to
transistor this detail is only really of interest to experts.
Why hFE? It is one of a whole series of parameters for transistors, each with their
own symbol. There are too many to explain here.
Ptot max. Maximum total power which can be developed in the transistor,
note that a heat sink will be required to achieve the maximum
rating. This rating is important for transistors operating as
amplifiers, the power is roughly IC × VCE. For transistors operating
as switches the maximum collector current (IC max.) is more
important.
Category This shows the typical use for the transistor, it is a good starting
point when looking for a substitute. Catalogues may have separate
tables for different categories.
Possible substitutes These are transistors with similar electrical properties which will be
suitable substitutes in most circuits. However, they may have a
different case style so you will need to take care when placing them
on the circuit board.
Darlington pair
You can make up your own Darlington pair from two transistors.
For example:
Page 67 of 77
• For TR1 use BC548B with hFE1 = 220.
• For TR2 use BC639 with hFE2 = 40.
The rate of producing waste heat is called the thermal power, Heat sink
P. The base current IB is too small to contribute much heat, so
the thermal power is determined by the collector current IC and Photograph © Rapid Electronics
the voltage VCE across the transistor:
Insulation kit
Heat-conducting paste
Page 68 of 77
The heat is not a problem if IC is small or if the
transistor is used as a switch because when 'full on'
VCE is almost zero. However, power transistors used
in circuits such as an audio amplifier or a motor
speed controller will be partly on most of the time
and VCE may be about half the supply voltage.
These power transistors will almost certainly need a Photographs © Rapid Electronics
heat sink to prevent them overheating. Power
transistors usually have bolt holes for attaching heat
sinks, but clip-on heat sinks are also available. Make
sure you use the right type for your transistor.
Many transistors have metal cases which are connected to one of their leads so it may be
necessary to insulate the heat sink from the transistor. Insulating kits are available with a
mica sheet and a plastic sleeve for the bolt. Heat-conducting paste can be used to improve
heat flow from the transistor to the heat sink, this is especially important if an insulation kit
is used.
Heat sinks are rated by their thermal resistance (Rth) in °C/W. For example 2°C/W means
the heat sink (and therefore the component attached to it) will be 2°C hotter than the
surrounding air for every 1W of heat it is dissipating. Note that a lower thermal resistance
means a better heat sink.
This is how you work out the required heat sink rating:
If this all seems too complex you can try attaching a moderately large heat sink and hope
for the best. Cautiously monitor the transistor temperature with your finger, if it becomes
painfully hot switch off immediately and use a larger heat sink!
• The temperature difference across the heat sink (between the transistor and air) is
like voltage (potential difference) across a resistor.
• The thermal power (rate of heat) flowing through the heat sink from transistor to air
is like current flowing through a resistor.
• So R = V/I becomes Rth = (Tmax - Tair)/P
• Just as you need a voltage difference to make current flow, you need a temperature
difference to make heat flow.
Page 70 of 77
Variable Resistors
Construction
Some variable resistors are designed to be mounted directly on the circuit board, but most
are for mounting through a hole drilled in the case containing the circuit with stranded wire
connecting their terminals to the circuit board.
Linear (LIN) track means that the resistance changes at a constant rate as you move the
wiper. This is the standard arrangement and you should assume this type is required if a
project does not specify the type of track. Presets always have linear tracks.
Logarithmic (LOG) track means that the resistance changes slowly at one end of the track
and rapidly at the other end, so halfway along the track is not half the total resistance! This
arrangement is used for volume (loudness) controls because the human ear has a
logarithmic response to loudness so fine control (slow change) is required at low volumes
and coarser control (rapid change) at high volumes. It is important to connect the ends of
the track the correct way round, if you find that turning the spindle increases the volume
rapidly followed by little further change you should swop the connections to the ends of the
track.
Page 71 of 77
Rheostat
If the rheostat is mounted on a printed circuit board you may find that all three terminals are connected!
However, one of them will be linked to the wiper terminal. This improves the mechanical strength of the
mounting but it serves no function electrically.
Potentiometer
This arrangement is normally used to vary voltage, for example Potentiometer Symbol
to set the switching point of a circuit with a sensor, or control the
volume (loudness) in an amplifier circuit. If the terminals at the ends of the track are
connected across the power supply then the wiper terminal will provide a voltage which can
be varied from zero up to the maximum of the supply.
Presets
Presets are much cheaper than standard variable resistors so they are sometimes used in
projects where a standard variable resistor would normally be used.
Page 72 of 77
Multiturn presets are used where very precise adjustments must be made. The screw
must be turned many times (10+) to move the slider from one end of the track to the other,
giving very fine control.
Other Components
Light Dependent Resistor (LDR)
For many years the standard LDR has been the ORP12, now
the NORPS12, which is about 13mm diameter. Miniature LDRs
are also available and their diameter is about 5mm.
circuit symbol
An LDR may be connected either way round and no special
precautions are required when soldering.
Thermistor
Page 73 of 77
A thermistor is an input transducer (sensor) which converts
temperature (heat) to resistance. Almost all thermistors have a
negative temperature coefficient (NTC) which means their
resistance decreases as their temperature increases. It is
possible to make thermistors with a positive temperature
coefficient (resistance increases as temperature increases) but
these are rarely used. Always assume NTC if no information is
given.
A thermistor may be connected either way round and no special precautions are required
when soldering. If it is going to be immersed in water the thermistor and its connections
should be insulated because water is a weak conductor; for example they could be coated
with polyurethane varnish.
Piezo transducer
Piezo transducers require a small current, usually less than Photograph © Rapid Electronics
10mA, so they can be connected directly to the outputs of most
ICs. They are ideal for buzzes and beeps, but are not suitable
for speech or music because they distort the sound. They are
sometimes supplied with red and black leads, but they may be
connected either way round. PCB-mounting versions are also circuit symbol
available.
Piezo transducers can also be used as input transducers for detecting sudden loud
noises or impacts, effectively behaving as a crude microphone.
Page 74 of 77
Loudspeaker
Correct polarity must always be observed for large speakers in cabinets because the
cabinet may contain a small circuit (a 'crossover network') which diverts the high frequency
signals to a small speaker (a 'tweeter') because the large main speaker is poor at
reproducing them.
Miniature loudspeakers can also be used as a microphone and they work surprisingly well,
certainly good enough for speech in an intercom system for example.
Page 75 of 77
Bleepers have wide voltage ranges, such as 3-30V, and they pass a low current of about
10mA.
Buzzers and bleepers must be connected the right way round, their red lead is positive (+).
Inductor (coil)
An inductor may be connected either way round and no special precautions are required
when soldering.
Page 76 of 77
The End
Joe KOTRO
InfoSys and Telecommunication Section
Lihir Gold Limited
P.O Box 789
Port Moresby, N.C.D
Papua New Guinea
Page 77 of 77