Seminar Topics & Project Ideas On Computer Science Electronics Electrical Mechanical Engineering Civil MBA Medicine Nursing Science Physics Mathematics Chemistry ppt pdf doc presentation downloads and Abstract

Full Version: Microcontroller 8051
You're currently viewing a stripped down version of our content. View the full version with proper formatting.


[attachment=7733]

Contents:
Introduction
Block Diagram and Pin Description of the 8051
Registers
Memory mapping in 8051
Stack in the 8051
I/O Port Programming
Timer
Interrupt

Why do we need to learn Microprocessors/controllers?
The microprocessor is the core of computer systems.
Nowadays 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.

Different aspects of a microprocessor/controller
Hardware :Interface to the real world
Hardware :Interface to the real world





to get information about the topic " 8051 microcontroller" full report ppt and related topic refer the link bellow

https://seminarproject.net/Thread-track-...controller

https://seminarproject.net/Thread-microcontroller-8051
Microcontroller 8051


[attachment=32033]

Why do we need to learn Microprocessors/controllers?



The microprocessor is the core of computer systems.
Nowadays 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.


Embedded System


Embedded system means the processor is embedded into that application.
An embedded product uses a microprocessor or microcontroller to do one task only.
In an embedded system, there is only one application software that is typically burned into ROM.
Example:printer, keyboard, video game player


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.



8051 Microcontroller


[attachment=34014]

Microprocessor

Microprocessor, by-itself, completely useless .
It does not have RAM,ROM and no I/O ports on the chip itself.
Must have external peripherals to Interact with outside world.
Makes system bulkier and expensive.
A Microcontroller has a CPU along with fixed amount of RAM, ROM ,and I/O ports and timer on a single chip.

Choosing a Microcontroller

There are four major 8 bit microcontrollers.
Freescale-68111
Intel's -8051
PIC 16x
Each one has its own instruction set and register set so not compatible with each other.

Criteria to select a microcontroller

Meeting the computing needs of the task
Speed, Packaging, Power consumption,
Amount of RAM,ROM, I/O pins
Cost per unit
Availability of development tools
Assembler , Debugger , C-compiler,
Availability of reliable sources

Features Of Microcontroller

8051 is an 40 pin IC.
8051 is an 8-bit Microcontroller.
128 byes of RAM
4KBytes of inbuilt ROM.
It have one serial port i.e. UART
Four parallel ports i.e. P0,P1,P2&P3.
It have two 16-bit Timers i.e. Timer0 ,Timer1.
It have five sources and six Interrupts.
It have four Register Banks (Bank0-3) .
16-bit Program Counter.
DPTR(16-bit).
8-bit stack pointer (sp).
External code and data memory up to 64KB.
8-bit PSW (program status word).
On chip Oscillator.

General Purpose RAM

Byte location from 30h to 7Fh (80 bytes) are reserved for general purpose use
Location 20h to 2Fh can also be us be used for general purpose but care must be taken when using these locations for general purpose.
Can be accessed using direct and Indirect addressing mode.

Register Banks

There are four banks (0-3) from 00h to 1fh.
Each bank has eight registers R0 to R7.
At a time only one bank is used.
By default we can access Bank 0.

Idle Mode

In the Idle mode, the internal clock signal is gated off to the CPU, but not to the Interrupt, Timer, and Serial Port functions.
Stack Pointer, Program Counter ,PSW, Accumulator, and all other registers maintain their data during Idle.
The port pins hold the logical status they had at the time Idle was activated.
ALE and PSEN hold at logic high levels.
There are two ways to terminate the Idle.
Activation of any enabled interrupt will cause PCON.O to be cleared by hardware terminated the Idle mode.
After Servicing the interrupt and following RETI the next instruction to be executed will be the one following the instruction that put the device into Idle.
The other way of terminating the Idle mode is with hardware reset.