13-09-2013, 04:01 PM
The 8051 Microcontroller
8051 Microcontroller.ppt (Size: 2.61 MB / Downloads: 120)
8051 Basic Component
4K bytes internal ROM
128 bytes internal RAM
Four 8-bit I/O ports (P0 - P3).
Two 16-bit timers/counters
One serial interface
Other 8051 featurs
only 1 On chip oscillator (external crystal)
6 interrupt sources (2 external , 3 internal, Reset)
64K external code (program) memory(only read)PSEN
64K external data memory(can be read and write) by RD,WR
Code memory is selectable by EA (internal or external)
We may have External memory as data and code
Embedded System
(8051 Application)
What is Embedded System?
An embedded system is closely integrated with the main system
It may not interact directly with the environment
For example – A microcomputer in a car ignition control
Three criteria in Choosing a 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
IMPORTANT PINS
PSEN (out): Program Store Enable, the read signal for external program memory (active low).
ALE (out): Address Latch Enable, to latch address outputs at Port0 and Port2
EA (in): External Access Enable, active low to access external program memory locations 0 to 4K
RXD,TXD: UART pins for serial I/O on Port 3
XTAL1 & XTAL2: Crystal inputs for internal oscillator.