Computer Hardware
Computer Hardware
Rahul Gopi
CIPET :IPT KOCHI
The birth of Personal Computer
Personal
computer PC
Microcomputer By IBM
with OS CP/M
and upto 64
dump Terminals
Why not a system for
single user like microcomputer
at the cost of Home computer ???
Home computer HC
TV as monitor & Tape
recorder as storage
device
For this PC the IBM needs
• A 8 bit processor
which can support above 256KB Memory
• Single user OS
which can work with Floppy Disk
Intel
The Microprocessor Company released 8086
a 16 bit Processor with 1MB memory support.
….failure in the market
PC 80386-32bit
& PC286AT
PC 12-20Mhz 80486-32bit
XT Windows 3.1 PC386AT
Novel 33&40Mhz 80586
NetWare Windows 95
Cache Memory
Address Bus
CPU Data Bus
Main Memory RAM
Control lines
Microprocessor and PC Development
AMD,
Intel SIMM 30pins Cyrix,Ti …
16 MB RAM
VGA, ISA Slot 16 MB RAM
8080- 8 bit IDE & ATA HDD (4GB) With
Multi Media Dual Speed Co-
CPU& RAM processor
8085- 8 bit I/O 33Mhz Cache mem
8087 72 pin
8086 -16bit SIMM
80287
PCI Slot
8088 16/8 80387 Tri speed
80286-16bit CPU,Mem
& I/O
PC 80386-32bit
& PC286AT
PC 12-20Mhz 80486-32bit
XT Windows 3.1 PC386AT
Novel 33&40Mhz 80586
NetWare Windows 95
100-166Mhz, Internal Cache
Integrated motherboard
80586 Pentium EDO RAM
233-533Mhz
80686 512KB Cache
Pentium-II
FSB 66-133Mhz
SD RAM 168pin
Celeron
550Mhz-1.13GHz
Pentium-III 512KB –2MBCache
233-533Mhz FSB 133-333Mhz
64-256KB Cache SD RAM 168pin
FSB 66-133Mhz
Pentium-4
SD RAM 168pin
Personal Computer Architechture
P Processor M
O E
R M
T O FDC
S R HDC
BUS controller
Y
I/O
Controller BIOS
I/O Slots
RTC
Motherboard
Motherboard
Normally a motherboard consists of
CPU Socket & CPU
Core voltage converter~1.7V
Core Frequency generator e.g. 2.8Ghz
Chip set
Memory bus controller (FSB)
I/O controllers
RAM Slot & RAM
Keyboard interface
I/O Slots
Integrated or All In One Motherboard
Floppy Disk Controller
Hard Disk Controller
parallel ATA (PATA)
Serial ATA (SATA)
Parallel port, Serial port, USB ports
Ethernet
AGP display controller
Sound Controller
Pentium-4
Some Important points in selecting
the Processor
Three
Level Cache: 256Kb-4Gb
K6 = 80686 Pentium - II
Sempron = Celeron
Today’s Computer Configuration
Pentium-4 3.0Ghz Dual 2Mb Cache 833 FSB AMD Athlon 4800+
Intel Motherboard 102 FSB 533Mhz Chipset Motherboard
512 MB DDR2
160GB HDD SATA As same as other side
DVD drive
Serial & Parallel ports
USB port
Monitor CRT or TFT
Keyboard & mouse
Motherboard
180W 100W
1 computer 1h r = 100W
1 computer 10hrs = 1000W
80W ?~100w
100 computer 10hrs = 10000W
10 colleges like this = 100000W
100 Cites/towns = 10000000W=10MW
20 States = 200MW
Taking TV into account
= 2000MW
Switching Mode Power Supply (SMPS)
220v AC
220v DC 12/5V AC 12/5V DC
AC to DC
DC to AC
Keyboard
Interface AT (Din connector)
PS/2 (Small Din connector)
Mouse
Interface Serial (9 Pin D type
Connector)
PS/2 (Small Din connector)
Monitor
Display Card PCI /AGP I/o Card or
Monitor CRT
TFT(LCD)
Interfacing Techniques
Parallel Port Anatomy:
Addresses of LPTn
#include <studio.h>
#include <dos.h>
void main(void)
{
outportb(0x378,0xFF) ;
outportb(0x378,0x00)
Stepper Motor control
}
#include<studio.h>
#include<conio.h>
#include<dos.h>
main() {
outportb(0x378,0x01);
outportb(0x378,0x02);
outportb(0x378,0x04);
outportb(0x378,0x08)
}
RS232 Serial Port
22
Ring Indicator RI 9 from Modem
Microcontrollers and Embedded System
A microwave oven just does not need that much computing power.
Microcontroller-based systems are generally smaller, more reliable,
and cheaper. They are ideal for the types of applications described
above where cost and unit size are very important considerations. In
such applications it is almost always desirable to produce circuits that
require the smallest number of integrated circuits, that require the
smallest amount of physical space, require the least amount of
energy, and cost as little as possible.
Simple comparison: Pentium vs. 8051
FEATURE 8051 PENTIUM COMMENT
Clock Speed 12Mhz. typical 1,000 MHz. 8051 internally divides
but 60MHz. ICs (1GHz.) clock by 12 so for
available 12MHz. clock effective
clock rate is just 1MHz.
Address bus 16 bits 32 bits 8051 can address 216, or
64Kbytes of memory.
Pentium can address
232, or
4 GigaBytes of
memory.
Data bus 8 bits 64 bits Pentium’s wide bus
allows very fast data
transfers.
ALU width 8 bits 32 bits But - Pentium has
multiple 32 bit ALUs –
along with floating-
point units.
Applications Domestic Personal
appliances, Computers
Peripherals, And other high
automotive etc. performance
Microcontroller
Ext int
interrupt
Timer0
Timer1
ROM RAM
CPU
Internal Memory
Memory Address
Register
(Uses P0 and P2)
I-RAM
General Registers
STACK
DPTR
Bit-addressable
P.C.
SFRs etc.
Instruction Acc
Register B Accumulator
PSW
flags
C
AC
F0
RS1
RS2 ALU
OV 8-bit
Control Lines
Port 1
Port 0
P1.0 – P1.7
P0.0 – P0.7
P1 P0
Port 3
Port 2
P3.0 – P3.7
P2.0 – P2.7
P3 P2
Port Assignments
Pin 40 +vcc
9 20 Gnd
89c51 31 9 Reset
18 OSC1
19 OSC2
31 Ext Access
18
19 GND
20
Burglar alarm system hardware
+ 5 volts
8051 Chip
10 kOhms
P3.0 P1.0 a a
P3.1 P1.1 b
f b
P3.2 P1.2 c g
PORT 1 (P1)
PORT 3 (P3)
P3.3 P1.3 d
c
P3.4 P1.4 e e
.5 P1.5 f
d
.6 P1.6 g
.7 P1.7
+ volts
Internal Memory
7 6 5 4 3 2 1 0
SFRs
Zone
Zone
Zone
Zone
B0h
1
2
3
4
90h
I-RAM
Input circuit Output circuit
+ 5 volts a
f b
g
input x e c
d
normally closed
Switches are
Read port P3
YES
Are all
P3 inputs at 0
NO
Sound alarm
Bell
ALARM_1 Program source code
P1.0
Port 1
8051 SETB P1.0 SETB P1.0 SETB P1.0
RESET T = 2 msecs.
f = 1/T = 1 / 0.002
= 500 Hz.
Source code for example program to sound 500Hz
Start bit
Transmitter
Buffer is Serial data transmit
TI
empty
p 8 data bits
stop star
bit bit
parity bit
Block diagram of UART receiver
Start bit
9th. bit
Receive Stop bit
data is RI Rx
available Serial data receive
Hardware Problems
Trouble Shooting a System Before boot and Display
Definition
Asymmetric digital subscriber line (ADSL) is a new modem
technology that converts existing twisted-pair telephone lines into
access paths for high-speed communications of various sorts.
Overview
ADSL can transmit more than 6 Mbps to a subscriber—enough to
provide Internet access, video-on-demand, and LAN access. In
interactive mode it can transmit more than 640 kbps in both
directions. This increases the existing access capacity by more than
fifty-fold enabling the transformation of the existing public
network. No longer is it limited to voice, text, and low-resolution
graphics. It promises to be nothing less than an ubiquitous system
that can provide multimedia (including full-motion video) to the
entire country.
Data Rate Wire Gauge Distance Wire Size Distance
(Mbps) (AWG) (ft) (mm) (km)