Lab 6
Lab 6
A smaller computer
On-chip RAM, ROM, I/O ports...
Example : Intel’s 8051, Zilog’s Z8 and PIC 16X
Output interfaces
Feedback
Sensor Microcontroller
(uC)
Indicator
Sensor
Pin Description of the 8051
P1.0 1 40 Vcc
P1.1 2 39 P0.0
P1.2 3 38 P0.1
P1.3
P1.4
4
5
8051 37
36
P0.2
P0.3
P1.5 6 35 P0.4
P1.6 7 34 P0.5
P1.7 8 33 P0.6
RST 9 32 P0.7
(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
(T0)P3.4 14 27 P2.6
(T1)P3.5 15 26 P2.5
P3.6 16 25 P2.4
P3.7 17 24 P2.3
XTAL2 18 23 P2.2
XTAL1 19 22 P2.1
GND 20 21 P2.0
PINS
Vcc ( pin 40 ):
Vcc provides supply voltage to the chip.
The voltage source is +5V.
C2
XTAL2
30pF
C1
XTAL1
30pF
GND
PINS
RST ( pin 9 ): reset
It is an input pin and is active high ( normally low ) .
“In other words, you can design your program using English language
words i.e. abbreviations”.
They are considered as the Third generation language. They are similar to
Assembly Language but they are not processor specific.
Third generation languages are much more abstract than assembly language i.e. it
is closer to English Language and more user friendly.