Intro Duc
Intro Duc
Program
Memory
Instructions
CPU(Central Processing unit)
The
During
The
In final this
step,
first
the step,
step,
decode writevarious
back,
fetch,
step, portions
simply
involves
the "writes
of the is
CPU
retrieving
instruction back"
are
anthe up
broken results of
the
connected
execute
partsstep
instruction
into so they
(which
that tohave
some
can perform
form of the
is represented memory.
significance desired
by
to a number or
other
operation.
sequenceof
portions If, for
ofthe instance,
numbers)
CPU. an addition
from program operation
memory.
was requested, an arithmetic logic unit (ALU) will
be connected to a set of inputs and a set of
outputs.
Control unit:
Arithmetic Thisunit:
logic unit Arithmetic
controls thelogic
entire
unitoperation
of CPU. Itthe
performs controls all the(addition,
Arithmetic devices subtraction,
connected to
CPU. It also generates
multiplication timingand
etc.) operation signals
logicnecessary
(AND, OR,for
input and
EXOR) output devices.
operation.
Data Bus: Used to transfer data with peripherals. Data bus is Bi-
directional. Computing power of CPU depends on the no of
data lines. A CPU is called 8-bit or 16-bit CPU which defines the width
of data bus present in CPU.
Address Bus
General-Purpose Microprocessor System
What is Microcontroller
MICROCOMPUTER:
When all the said required device connected with
microprocessor the complete system is known as
Microcomputer.
MICROCONTROLLER:
The single chip which contain the microcomputer is
known as MICROCONTROLLER
RAM Timer
CPU
Serial
ROM I/O COM
Port Port
Microprocessor vs Microcontroller
General-purpose microprocessors contains
No RAM
No ROM
No I/O ports
Microcontroller has
CPU (microprocessor)
RAM
ROM
I/O ports
Timer / counter
UART etc.
Embedded
System
Embedded system means the processor is embedded into that
application.
8051 L
Base E
D
PC
ZIF
Socket
Application
Board
Burner
MC of Atmel
ATMEL's Non ISP MC:
AT89c51,AT89c52,AT89c8252
AT89c2051,AT89C55WD etc.
ATMEL ISP MC:
AT89s51,AT89s52,AT89s8252
AT89s2051,AT89C5115,etc.
Software used during training To
make Application with MCS-51
Family
1. Compiler:
-SDCC(Small Device C Compiler)
2. Programming Environment
- Programmers Notepad, Eclipse
3. Burning Software
- ISP programmer
PIN Detail (8051)
128 bytes of RAM
4K bytes of on-chip ROM
Two timers
One serial port
Four I/O ports, each 8 bits wide
6 interrupt sources
Data bus 8 bit
Adddress Bus 16 bit
PIN Detail AT89s51(ISP)