You are on page 1of 10

MICRO CONTROLLER

Agenda
 Micro controller
 Criteria
 Pin Diagram
 Description
Why do we need to learn Micro controllers?

The microprocessor is the core of computer


systems.
Now a days many communication, digital
entertainment, portable devices, are controlled by
them.
A designer should know what types of components
he needs, ways to reduce production costs and
product reliable.
Microcontroller

 A smaller computer
 On-chip RAM, ROM, I/O ports...
 Example:Motorola’s 6811, Intel’s 8051, Zilog’s Z8
and PIC 16X

CPU RAM ROM


A single chip
Serial
I/O Timer COM
Port
Port
Microcontroller
Three criteria in Choosing Microcontroller
 Meeting the computing needs of the task efficiently and cost
effectively
-Speed, the amount of ROM and RAM, the number of I/O
ports and timers, size, packaging, power consumption
-Easy to upgrade
-Cost per unit
 Availability of software development tools
-Assemblers, debuggers, C compilers, emulator, simulator,
technical support
 Wide availability and reliable sources of the microcontrollers.
8051 PIN DETAILS
Pin Description of the 8051
PDIP/Cerdip
P1.0 1 40 Vcc
P1.1 2 39 P0.0(AD0)
P1.2 3 38 P0.1(AD1)
P1.3
P1.4
4
5
8051 37
36
P0.2(AD2)
P0.3(AD3)
P1.5 6 35 P0.4(AD4)
P1.6 7 34 P0.5(AD5)
P1.7 8 33 P0.6(AD6)
RST 9 32 P0.7(AD7)
(RXD)P3.0 10 31 EA/VPP
(TXD)P3.1 11 30 ALE/PROG
(INT0)P3.2 12 29 PSEN
(INT1)P3.3 13 28 P2.7(A15)
(T0)P3.4 14 27 P2.6(A14)
(T1)P3.5 15 26 P2.5(A13)
(WR)P3.6 16 25 P2.4(A12)
(RD)P3.7 17 24 P2.3(A11)
XTAL2 18 23 P2.2(A10)
XTAL1 19 22 P2.1(A9)
GND 20 21 P2.0(A8)
Description
 XTAL1 and XTAL2:
These are two I/P line for on-chip oscillator and clock
generator circuit.
 [EA(bar)]/VPP:
It is and active low I/P to 8051 microcontroller.
 [PSEN(bar)]:
It is active low O/P signal. It is used to enable external
program memory (ROM).
 ALE:
Address latch enable: It is active high O/P signal. When it
goes high, external address latch becomes enabling and
lower address of external memory (RAM or ROM)
latched into it.
 RESET:
It is active high I/P signal. It should be maintained high
for at least two machine cycle while oscillator is running
then 8051 microcontroller resets.
THANK YOU

You might also like