Unit 3 - Hardware
Unit 3 - Hardware
UNIT-3
GRADES 9-10 IGCSE
Topic wise coverage of the chapter
COMPUTER ARCHITECTURE
CENTRAL PROCESSING UNIT
also known as a microprocessor or processor
✔Address Bus
○the address bus carries
addresses throughout the
computer system
○Between the CPU and memory,
the address bus is
unidirectional (i.e. bits can
travel in one direction only)
○The wider the bus, the more
memory locations that can be
directly addressed at any given
SYSTEM BUSES AND MEMORY
✔Data Bus
○data bus is bidirectional (allowing
data to be sent in both directions
along the bus).
○As with the address bus, the width
of the data bus is important; the
wider the bus the larger the word
length that can be transported. (A
word is a group of bits which can
be regarded as a single unit e.g.
16-bit, 32-bit or 64-bit word
SYSTEM BUSES AND MEMORY
✔Control Bus
○control bus is also
bidirectional.
○carries signals from the
control unit (CU) to all the
other computer components.
○It is usually 8-bits wide.
There is no real need for it to
be any wider since it only
carries control signals.
SYSTEM BUSES AND MEMORY
1. READ operation
2. WRITE operation
FETCH-DECODE-EXECUTE CYCLE
REGISTERS
FETCH PHASE
●the next instruction is
fetched from the memory
address currently stored in
the MAR and the instruction
is stored in the MDR
●contents of the MDR are
then copied to the Current
Instruction Register (CIR)
●PC is then incremented
(increased by 1) so that the
next instruction can be then
be processed
DECODE CYCLE
Decode phase
instruction is then
decoded so that it can
be interpreted in the
next part of the cycle
EXECUTE CYCLE
Execute phase
a set of control signals is
passed to the appropriate
components within the
computer system so that
each instruction can be
carried out in its logical
sequence
FACTORS AFFECTING CPU PERFORMANCE
1. SYSTEM CLOCK
●It defines the clock cycle that
synchronises all computer operations.
The wider the bus, more the memory locations that can
be addressed at any given time directly.
FACTORS AFFECTING CPU PERFORMANCE
3. CACHE MEMORY
●Cache memory is located within the
CPU itself, which means it has much
faster data access times than RAM
●Stores frequently used instructions and
data that need to be accessed faster,
which improves CPU performance.
●When a CPU wishes to read memory, it
will first check out the cache and then
move on to main memory/RAM if the
required data isn’t there.
●Larger the cache memory size the
better the CPU performance
FACTORS AFFECTING CPU PERFORMANCE
4. CORES
Inputs
• Can be input manually or can
come from an automatic source,
such as a sensor
• Can be analogue or digital in
nature
EMBEDDED SYSTEMS
Outputs
• Output will then carry out the
function of the embedded
system by sending signals to the
components that are being
controlled
EMBEDDED SYSTEMS
Programmable or non
programmable
•Non-programmable devices need, in
general, to be replaced if they require a
software upgrade.
•Programmable devices permit
upgrading by two methods:
• connecting the device to a computer
and allowing the download of updates
to the software
• automatic updates via a Wi-Fi, satellite
or cellular (mobile phone network) link
EMBEDDED SYSTEMS
● Is
needed to allow a
device to connect to a
network
● Hasa Media Access
Control (MAC) address
● Wireless network
interface
cards/controllers (WNICs)
are also available
MAC ADDRESS
MAC ADDRESS
Purpose:
○A MAC address (media access control address) is a
12-digit hexadecimal number assigned to each
device connected to the network.
○Primarily specified as a unique identifier during
device manufacturing, the MAC address is often
found on a device's network interface card (NIC).
MAC ADDRESS
Structure:
○MAC address is made up of 2 parts
○First part is the manufacturers ID code
○Second part is the serial ID code for the device
○The address is represented in Hexadecimal
○It has 6 pairs of numbers separated by a dash or colon
○If the NIC card of a device is changed, then the MAC
address also changes
IP ADDRESS
Purpose:
●A unique address that locates
your device on the network.
●Different from the MAC
address, it is assigned by the
network instead of the
manufacturer
TYPES OF IP ADDRESSES:
IPv4 IPv6
IPv4 is based on 32 bits and the
IPv6 uses 128-bit addresses that take
address is written as four groups
the form of eight groups of hex digits;
of eight bits
Dynam
Static
ic
Are permanently assigned to a
device by the internet service
An IP address that can change each
provider (ISP); they don’t change
time a device connects to a network
each time a device logs onto the
internet.
Primary memory
allows the CPU to
access applications
and services
temporarily stored in
memory locations.
FEATURES OF RAM
✔ Random - refers to the fact that any memory location in RAM can be
accessed independent of which memory location was last used.
✔ Use - When you run an application or program, data is retrieved
from secondary storage and placed temporarily into RAM. Hence it
stores data, files, part of an application or part of the operating
system currently in use.
✔ Speed - Access time to locate data is much faster in RAM than in
secondary or off-line devices.
✔ Operations – Both read and write operations can be performed
✔ Volatile – Means that memory contents are lost when powering off
TYPES OF RAM: DYNAMIC RAM
(DRAM)
✔ Each DRAM chip consists of transistors and capacitors.
✔ capacitor – this holds the bits of information (0 or 1)
✔ transistor – this acts like a switch; it allows the chip control circuitry to read the
capacitor or change the capacitor’s value
➔Advantages of SRAMs:
◆ Faster than DRAM
DRAM vs. SRAM
FEATURES OF ROM
Cloud storage is a
method of data storage
where data is stored on
remote servers.
CLOUD STORAGE: FEATURES
●Data backup - same data is
stored on more than one server
in case of maintenance or
repair, allowing clients to
access data at any time.
●Data storage- owned and
managed by a hosting
company and may include
hundreds of servers in many
locations
TYPES OF CLOUD STORAGE
TYPES OF CLOUD STORAGE: PUBLIC
● this
is a combination of
the two above
environments; some
data resides in the
private cloud and less
sensitive/less
commercial data can be
accessed from a public
cloud storage provider
SECONDARY STORAGE
Blu-ray can store up to five times more data than Stores less data
normal DVD
(standard dual-layer DVD has a storage
(single-layer Blu-ray disc has a storage capacity of capacity of 4.7 GB)
27 GB, dual-layer Blu-ray disc has a storage
capacity of 50 GB)
Can be single layer DVDs both use a sandwich of two 0.6 mm
Or dual layer thick disks
Data transfer rate for a Blu-ray disc is 36 Mbps Data transfer rate for a DVD is 10 Mbps
OPTICAL STORAGE: BLU RAY DISCS
●https://www.youtube.com/watch?v=-ynJXHPzioA
●https://www.youtube.com/watch?v=H-jxTzFrnpg
AGENDA FOR TODAY’S CLASS
• Sensor
s
SENSORS
WHAT IS A 1. Input devices
2. Read or measure physical
SENSOR? properties
3. From their surroundings
4. Real data is analogue in
nature;
5. data needs to be converted
into a digital format.
6. analogue to digital
converter (ADC)
WHAT IS A 1. Control devices - motor or
valve
SENSOR? 2. use a digital to analogue
converter (DAC)
3. Actuator - a component of
a machine that is
responsible for moving and
controlling a mechanism or
system, for example by
opening a valve.
TYPES OF SENSORS
TYPES OF SENSORS
TYPES OF SENSORS
TYPES OF SENSORS
1. SECURITY SYSTEMS
●https://www.youtube.com/watch?v=0Tj2o42lJ00
the infrared sensor the acoustic sensor the pressure sensor will
will pick up the will pick up sounds pick up the weight of an
movement of an such as footsteps or intruder coming through a
intruder in the building breaking glass door or through a window
2. PATIENT MONITORING IN
HOSPITALS
●https://www.youtube.com/watch?v=zwdLbWMBWbY
measure vital signs such as: temperature, heart rate, breathing rate, etc.
3. STREET LIGHTING
●https://www.youtube.com/watch?v=lMWMyuvCfR0
4. ANTI-LOCK BRAKING SYSTEMS (ON
CARS)
●https://www.youtube.com/watch?v=ru4JIZ-x8yo
5. CENTRAL HEATING SYSTEMS
6. CHEMICAL PROCESS CONTROL
●https://www.youtube.com/watch?v=65r7pJpNT34
7. GREENHOUSE
ENVIRONMENT
CONTROL
● https://www.yout
ube.com/watch?v
=2YJHcGQnpAk
AGENDA FOR TODAY’S CLASS
• Input devices
• Output
devices
ACTUATORS
An actuator is a mechanical or electromechanical device such as a
relay, solenoid or motor.
The number of micro mirrors and the way they are arranged
on the DMD chip determines the resolution of the digital
image.
DIGITAL LIGHT PROJECTORS
When the micro mirrors tilt towards the light source, they are ON.
When the micro mirrors tilt away from the light source, they are
OFF.
DEVICES 4. Keyboard
5. Microphones
6. 2-d scanners/ 3-d scanners
7. Touchscreens
Input Devices- Barcode Scanner/Reader
● It is a series of dark and light
parallel lines of varying
thickness representing numbers
0 to 9.
● Barcode gives unique code for
each stock item.
● It is read by a red laser. The
reflected light is read by the
sensors.
Input Devices- Barcode Scanner/Reader
Advantages:
● Easier and faster process of
billing
● Up to date information
● automatic stock control
● Proper billing details
Uses:
● Supermarkets
Input Devices- QR Codes
● QR codes consists of a block of
small squares known as pixels.
● hold upto 4296 characters and
can have internet address to be
encoded within.
● The three large squares at the
corners as a form of alignment.
QR Codes- Working
● To use the QR code, point the
phone at the QR code. The app
processes the image and
converts squares into readable
data.
● The browser software on the
phone reads the data and
decodes any web addresses or
any other data.
Input Devices- QR Codes
Advantages-
● QR codes are easier to read.
● Easy to transmit
● Can hold more information than
barcodes.
● We can encrypt QR codes which
gives them greater protection
than traditional barcodes.
Input Devices- Digital Cameras
● Types
○ capacitive
○ infrared
Capacitive touch screens
● composed of a layer of glass
(protective layer), a
transparent electrode
(conductive) layer and a glass
substrate.
● Since human skin is a
conductor of electricity, when
bare fingers (or a special
stylus) touch the screen, the
electrostatic field of the
conductive layer is changed.
● The installed microcontroller is
able to calculate where this
change took place and hence