Understanding Electronics
Understanding Electronics
ELECTRONICS
+V
R1 VR1
10K 220K IC1
RST
DIS
Vcc
R2
555 OP
THR 330R
IN1
GND
CV
TR
+
SW1 C1
N Humphrey
UNDERSTANDING ELECTRONICS
Basic Electrical Principles
Objectives
What is Current?
After working through this chapter,
you should be able to do the following: When a battery is connected to a light
bulb, it lights up. The applied voltage
1. Define what voltage is, know the forces the electric current from the
symbol for voltage and the units battery, through the bulb and then back
used. to the battery. But there is a little bit
2. Understand the basic difference more to the story. What is actually
between AC and DC voltages. happening is electrons are moving
3. Define the meaning of an electric from the positive terminal of the
current, know the symbol for battery, through the bulb, and then
current and the units used. back to the negative terminal of the
4. Know what conductors and battery.
insulators are and be able to give
examples. Scientists assumed in the early days
5. Use the formula from Ohms law to that electrons move from positive to
calculate resistance, voltage or negative. They have since discovered
current. that in fact electrons move from
6. Know how voltages and currents negative to positive. However we
can be measured. accept what is known as convention,
7. Know what power dissipation is i.e. that electrons move from positive
and the unit for power. to negative. So current is the flow of
8. Be able to calculate power electrons through a closed circuit. The
dissipation. unit of current is the ampere,
sometimes written as amps. The
What is Electronics? symbol used is I.
7
UNDERSTANDING ELECTRONICS
Resistance
Conversion of units
The final part of the story was
discovered by a scientist called Ohm. 1mA = 0.001A
Some materials allow the flow of 1uA = 0.000001A
electrical currents through them. They
are known as conductors. Examples
include gold, silver, copper and Example
aluminium. Although these material
are conductors they have some An e.m.f. (voltage) of 9v is applied to a
resistance to the flow of electrical light bulb of resistance 100R. What
currents. Other materials totally resist current is flowing in the circuit?
the flow of electrical currents. These
are known as insulators. Examples Using the formula V=IxR
include dry wood, paper, plastics and 9 = I x 100
air. Resistance is the property of a Therefore I = 9/100
material to restrict the flow of electric I = 0.09A
current. The unit of resistance is the
ohm. The symbol used is Ω. However This can also be written as 90mA.
we tend to use the letter R. (milliamps)
Exercise 1.1
Ohm’s law
1. A 9v battery is connected to a bulb
Ohm discovered that there was a rated at 60mA. What is the
relationship between an applied resistance of the bulb?
voltage, the current flowing through 2. An e.m.f. of 12v is applied to a
the wire, and the resistance of the bulb of resistance 250R. What
wire. His law states that” the current current is flowing in the circuit?
flowing in an electrical conductor is
proportional to the voltage across it at Measuring voltage
constant temperature”. From Ohm’s
law we can say that If we want to measure the voltage at a
given point in a circuit we use a
V (volts) = I (amps) x R (ohms)
8
UNDERSTANDING ELECTRONICS
Measuring current components in the circuit generate
heat. If you consider a bulb connected
To measure the current flowing in a to a battery. The bulb emits light, but
circuit we use an ammeter. The in doing so, it also generates heat. If
symbol is A. The ammeter has to be the bulb was to overheat it would be
part of the circuit, so for example, if destroyed. When we talk about this
we were trying to find the current generated heat, we call it the power
flowing in a bulb connected to a dissipated or power rating. The
battery, we would connect the red lead symbol for power is P and the unit is
of the ammeter to the positive the Watt.
terminal of the battery.
(1) P (watts) = V (volts) x I (amps)
Example
9
UNDERSTANDING ELECTRONICS
Resistors
Objectives
Preferred values
After working through this chapter,
you should be able to do the following: With such a wide range of potential
values, it would be very expensive and
1. Define what a resistor is and uneconomic to manufacture every
recognise the circuit symbol. single value. To overcome this a range
2. Know what is meant by the term of preferred values has been created.
preferred values. The most common ranges are known
3. Know what is meant by the term as the E12 and E24, although others
tolerance. are available.
4. Be able to use the resistor colour
code to identify 4 colour band E12 range 10R, 12R, 15R, 18R,
resistors. 22R, 27R, 33R, 39R, 47R, 56R, 68R,
5. Be able to calculate the total 82R and their multiples.
resistance of resistors connected in
series. E24 range 10R, 11R, 12R, 13R,
6. Be able to calculate the total 15R, 16R, 18R, 20R, 24R, 27R, 30R,
resistance of resistors connected in 33R, 36R, 39R, 43R, 47R, 51R, 56R,
parallel. 62R, 68R, 75R, 82R, 91R and their
7. Be able to calculate power multiples.
dissipation.
8. Know what a variable resistor is When choosing a resistor we always
and recognise the circuit symbol. choose the preferred value that is
higher than that calculated. For
In electronic circuits there are many example if our calculated value for a
occasions where we want to be able to resistor was 50R, we would use a 56R
control or restrict the current flowing, resistor. (Based on the E12 range)
or to fix the voltage at a given point.
To achieve this we used a fixed Exercise 2.1
resistor.
Using the E12 range chose the nearest
resistor to the values below.
1. 30R
Fig 2.1 Symbol for a Resistor 2. 110R
3. 620R
Resistors are constructed from one of 4. 4K3
the following materials, carbon film, 5. 91K
metal film, metal oxide or are 6. 160K
wirewound. They come in a range of 7. 510K
values, typically from 4R7 to 1M,
although values as low as 0.47R and as
high as 10M are available. Resistors
also come in a range of power ratings,
typically from 0.25W up to 50W.
Again lower and higher power ratings
are available.
10
UNDERSTANDING ELECTRONICS
Tolerance first colour which was orange. Orange
represents the number 3. The 2nd
Resistors also come in a range of colour is also orange, so we have
tolerances. Tolerance means how another 3. The third band is the most
accurate or close the measured important. It tells us how many zero’s
resistance would be to the stated value to add. So our third brown means that
of the resistor. Typical tolerances are we need to add a zero.
5%, 2% and 1%
So our resistor Orange Orange Brown
Colour coding gold is 330 Ohms with a 5% tolerance.
Due to the small physical size of a 2. This time we need to identify the
resistor, a unique colour coding colours of a 1K resistor to ensure that
system has been devised. The table on the one we have taken out of the tray is
the next page shows the colour code the correct value.
for a four band resistor. Firstly convert 1K to ohms
Colour 1st 2nd 3rd Band Now we cans start to work out the
Band Band colours. Our first digit is 1, so from the
Black O 0 - table the colour of the first band is
Brown 1 1 0 brown. The 2nd digit is 0, so the colour
Red 2 2 00 is black. The remaining digits
Orange 3 3 000 represent the third band, which is the
Yellow 4 4 0000 number of zero’s. For this resistor we
Green 5 5 00000 need two zero’s so the colour is red.
Blue 6 6 000000
Violet 7 7 0000000 Exercise 2.2
Grey 8 8
White 9 9 Using the above examples to guide
you, work out the value of the
following resistors.
To read the colour code, begin by
identifying the 4th band on the resistor 1. Brown, black, orange, gold?
which is coloured Gold. This indicates 2. Yellow, violet, black, gold?
the tolerance of the resistor. Most of 3. Red, red, red, gold?
the resistors used in schools are 5%. 4. Green, blue, yellow, gold?
Once you have done this, keep the 4th 5. Blue, grey, brown, gold?
band to your right. You can now start
on the left hand side with the 1st band From the stated value, work out the
and begin to identify the resistor. correct colour code for each resistor.
Remember to convert each value into
Example ohms first.
11
UNDERSTANDING ELECTRONICS
12
UNDERSTANDING ELECTRONICS
Variable Resistors
Looking at the two examples you may
have noticed a couple of patterns. You have already come across
Firstly with example 1, if both resistors variable resistors in your home
are of equal value then the total without knowing it. The volume
resistance will always be exactly half control on your Hi-Fi is a variable
the value of one of the resistors. resistor as are the tone controls or
graphic equaliser. A variable resistor
In example two where we had two can be adjusted from 0R to its stated
resistors of different values, the total value.
resistance will always be less than the
lowest value resistor.
Exercise 2.3
1. When R1 is 100R and R2 is 220R? Fig 2.4 Symbols for variable resistors
2. When R1 is 1K and R2 is 680R?
3. When R1 is 10K and R2 is 330R? On circuit boards a smaller variable
resistor called a pre-set is used. These
Calculate the total resistance of the are variable resistors which once
following resistors connected in adjusted usually do not need to be
parallel. adjusted again.
Power Dissipation
13
UNDERSTANDING ELECTRONICS
Potential (Voltage) divider For example if R1 is 5R, R2 is 10R
and the supply voltage Vs is 9V find
Very often in circuits you will see two the output voltage.
resistors connected together as shown
below. Vout = Vs x R2/ (R1 + R2)
Vout = 9 x 10 / (5 + 10)
Vout= 6V
Exercise 2.4
14
UNDERSTANDING ELECTRONICS
Capacitors
15
UNDERSTANDING ELECTRONICS
Capacitors are also used in filters to get
rid of unwanted signals or frequencies. Exercise 3.1
An example of this is in tone controls
or graphic equalisers. 1. If R1 is 47K and C1 is 470µF what
is the time constant?
Time Delay 2. If R1 is 1M and C1 is 10µF what is
the time constant?
A circuit showing a resistor and 3. If the time constant is 20 seconds
capacitor connected together to create and C1 is 100µF what value of
a time delay is shown below. resistor is required?
C1
Example
T=CxR
T = 100µF x 100K
T = 0.000100 x 100 000
T = 10 seconds
16
UNDERSTANDING ELECTRONICS
Transistors
Objectives
Introduction Symbols
17
UNDERSTANDING ELECTRONICS
What is a transistors used for? Field Effect Transistors (FET)
Fig 4.4
Current limiting resistor
18
UNDERSTANDING ELECTRONICS
Timers
Objectives Input/timing/process/output
1. Know what is meant by the term R1 and SW1 are the input components
Monostable. of the circuit. VR1 and C1 are the
2. Know how a Monostable timer timing components. The process
works. component is the IC and the output
3. Be able to divide the circuit into components are R2 and IN1.
Input, timing, Process, Output.
4. Know what is meant by the term
How does it work?
Astable.
5. Know how an astable timer works. When switch SW1 is pressed the
voltage at pin 2 of IC1 becomes 0V.
Tme This then triggers the IC into life and
C1 is discharged, the output becomes
All around us we are surrounded by high or on. C1 then starts to charge
products which rely on or use time in through VR1. When the voltage across
their operation. Examples of products the capacitor reaches 2/3 of the supply
that use time include microwaves, voltage the IC then changes the output
videos and security lights. All of these to low or off.
products operate for a period of time
and then switch off. If SW1 is pressed once the timer has
been activated the time period is not
Monostable timer affected.
T=CxR
RST
DIS
Vcc
R2
555 OP
THR 330R
IN1
GND
TR
+
SW1 C1
19
UNDERSTANDING ELECTRONICS
capacitors as the value increases so
does the physical size. As size R1, R2 and C1 are the timing
increases so does the cost. components.
There are two ways of connecting the When the circuit is connected to a
output. In the circuit shown the output power source it triggers itself and free
is connected from pin 3 of the IC to the runs as a multivibrator. The capacitor
0V supply via R2 and IN1. In this case C1 charges through R1 and R2 and
the output is said to be connected to discharges through R2 only. The duty
sink. There is no output voltage present cycle may be precisely set by the ratio
until SW1 is pressed so IN1 will be of these resistors.
off.
C1 charges and discharges between 1/3
If the output is connected from the +V Vcc and 2/3 Vcc (If Vcc is 9V then the
supply to pin 3 of the IC via R2 and two values are 3V and 6V)
IN1, there will be a voltage difference
between these connections and IN1 The charge time (output High (on)
will be on. When SW1 is pressed the state) is given by:
voltage at pin 3 is high so there will be
no voltage difference and IN1 will be t1 (seconds) = 0.693 x (R1 + R2) x
off. IN1 will be on again once the time C1 (farads)
period has elapsed. If the output is
arranged in this way it is said to be The discharge time (Output Low (off)
connected to source. state) is given by:
R1
Although it would appear that there is
a lot of maths involved in a nutshell
RST
DIS
Vcc
R3
555 OP
you can vary the time that the circuit is
high and the time that the circuit is
R2 THR
IN1
GND
CV
TR
IC1
low. This involves the values of R1,
+
C1
R2 and C1.
20
UNDERSTANDING ELECTRONICS
Operational Amplifier
10K
IC1
-
+ IN2
R3
VR1 R2 1K
10k 10K
0V
The obvious use of an op amp is as an When the batteries are connected the green
amplifier but it also can be used as a LED lights. The voltage at pin 3 is 4.33V.
comparator. The voltage at pin 2 is 4.6V. When the
thermistor detects an increase in
temperature the red LED now lights. The
voltage now at pin 3 is 4.44V.
21
UNDERSTANDING ELECTRONICS
Logic Gates
Objectives
22
UNDERSTANDING ELECTRONICS
NOR Gate
Fig 7.2
A B OUT
0 0 1
0 1 0
1 0 0
1 1 1
23
UNDERSTANDING ELECTRONICS
Delay propagation The solution to the problem is to use 2
input OR gates as shown below.
When designing circuits using logic gates it
is worth considering the time it takes for
the output of a logic gate to change from a
Low state to a High state. Although the
time taken may only be nano seconds, you
have to add up the number of logic gates Fig 7.3
from the original input to the final output to
obtain the overall propagation delay. Ex 7.1
Very often when using a circuit simulation Using 2 input logic gates design a circuit
program this delay will not be highlighted. for a plant watering system that will water
It is only when a circuit is built on plants when
breadboard or on a PCB and it does not
quite work as planned that this A. It is dark and
propagation delay comes to light. B. When the plant is dry or
c. When the override is operated
Designing Logic gate circuits
A B C OUT
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
24