0% found this document useful (0 votes)
17 views3 pages

P-II - Introduction To Microcontroller PDF

The document provides an introduction to microcontrollers, defining them as integrated circuits that combine a microprocessor, memory, and I/O ports. It details the features and advantages of the 8051 and 8052 microcontrollers, including their memory specifications and applications in various devices. Additionally, it distinguishes between the 8051 and 8052 microcontrollers, highlighting their differences in ROM, RAM, and functionality.

Uploaded by

santojag123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views3 pages

P-II - Introduction To Microcontroller PDF

The document provides an introduction to microcontrollers, defining them as integrated circuits that combine a microprocessor, memory, and I/O ports. It details the features and advantages of the 8051 and 8052 microcontrollers, including their memory specifications and applications in various devices. Additionally, it distinguishes between the 8051 and 8052 microcontrollers, highlighting their differences in ROM, RAM, and functionality.

Uploaded by

santojag123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

RAVI GROUP TUTION

12TH / Computer science (P- II) Topic : Introduction to Microcontroller

Q 1. Define microcontroller. State any four advantages of the same over microprocessor based system.

1) A microcontroller is a complete microprocessor system, consisting of microprocessor, limited amount of


ROM, RAM and parallel I/O ports, built on a single integrated circuit.
2) Advantage of microcontroller over microprocessor based system.
i) The cost of microcontroller is less than a microprocessor based system.
ii) A microcontroller has more I/O components than a microprocessor based system.
iii) Microcontrollers can be used in wide variety of intelligent products such as in personal computers
key-boards.
iv) Microprocessor based systems cannot be used in such intelligent products.
v) Many low cost products such as electronic toys, electronic drills, microwave ovens, VCRs are
based on microcontrollers.

Q 2. What are the main features of 8051? Give any eight features of 8051.

The main features of 8051 are listed below:

1) The 8051 microcontroller has an 8-bit ALU.


2) The 8051 has 4k byte (4k x 8-bit) ROM or EPROM.
3) The 8051 has 128 byte (128 x 8-bit) RAM.
4) It has dual 16-bit time event counter.
5) It has 32 I/O lines for four 8-bit I/O ports.
6) It can address 64kb of program memory.
7) It can address 64kb of data memory.
8) It has powerful instruction set, consisting of 111 instructions.
9) It has two external interrupts.
10) The 8051 has dock up to 12 MHz frequency
11) Full featured serial port.

Q 3. Features of 8052 micro-controller:

1) 8052 is a simple expansion of 8051


2) 8052 has 8 kbytes of onboard ROM and 256 bytes of onboard RAM.
3) 8052 allows programmers to write larger programs and that can use more data.
4) The cost of 8052 is more than that of 8051.
5) The 8052 also has one extra 16-bit counter timer.
6) This counter timer gives more flexibility.
RAVI GROUP TUTION

12TH / Computer science (P- II) Topic : Introduction to Microcontroller

Q 4. Explain 8051 memory mapping for 8051 microcontroller with the help diagram

OR

Explain in detail how 8051 micro-control addresses two separate memory spaces.

1) The 8051 addresses have two separate memory spaces.


i) Program memory space
ii) Data memory space
2) The memory map for 8051 is shown in following figure.

Upto 60
FFFF FFFF kbytes of
external FFFF
Upto 64 ROM or Upto 60
EPROM
kbytes of 00F8 kbytes of
external 1000 and external
Special function
ROM or OFFF 4 kbytes of 0080 register ROM or
internal
EPROM 128 bytes EPROM
ROM or 007F
EPROM RAM

0000 0000
0000 0000

Data memory
Program memory
(RAM)
(ROM)

3) The program memory space is Read-only memory (ROM) space.


4) This memory space is used for storing programs and variable data.
5) The data memory space is a read/write memory space.
6) The processor can read data from this memory space and can write data into this memory space.
7) The 128 bytes of internal RAM provides general read/write data storage.
8) The 8051 has 22 special function registers which are not part of 128 bytes of RAM.
9) The 4k byte program memory can be expanded by an additional 60k bytes making it 64k bytes program
memory. The data memory can also be expanded to 64kbytes.
10) The 8051 can also be operated with common memory. In this case, 8051 only has 64kbyes of total
external memory.
RAVI GROUP TUTION

12TH / Computer science (P- II) Topic : Introduction to Microcontroller

Q 5. What is microcontroller? State three expanded features of 8052 over 8051 microcontroller.

1) Microcontroller: A microcontroller is a complete microprocessor system, consisting of microprocessor


limited amount of ROM, RAM and parallel I/O ports, built on a single integrated circuit.
2) Expanded features of 8052 over 8051 microcontroller are as follows:
a) ROM: microcontroller 8052 has 8kbytes of onboard ROM or EPROM where as 8051 has 4k bytes
of ROM.
b) RAM: Microcontroller 8052 has 256 bytes of onboard RAM, whereas 8051 has 128 bytes of RAM.
c) Timer-event counter: 8052 has an extra 16-bit timer event counter where as 8051 has a dual 16-bit
timer event counter.

Q 6. Give the application of microcontroller.

1) Microcontroller is a single chip microcomputer.


2) They are used as independent controllers in machines or as slaves in distributed processing.
3) They are used as machine tools, chemical processors, medical instrumentation and sophisticated
guidance control.
4) Some applications require simple timing and bit set/reset functions, other requires high speed data
processing capability.
5) Many low cost products such as electronic toy, microwave ovens, VCRs are based on microcontrollers.
6) A home security system, a tape deck and intelligent multimeter can also be built by using
microcontroller.

Q 7. Distinguish between 8051 and 8052 microcontrollers.

8051 Microcontroller 8052 Microcontroller

1) 8051 microcontroller has 8 bit 1) 8052 microcontroller is simple


ALU. expansion of 8051.
2) 8051 has 4k bytes of ROM. 2) 8052 has 8k bytes of ROM.
3) 8051 has 128 byte of RAM. 3) 8052 has 258 bytes of onboard RAM.
4) 8051 has dual 16 bit timer event 4) 8052 has an extra 16-bit timer event
counter. counter.
5) 8051 uc has low cost. 5) 8052 uc has higher cost.
6) 8051 uc perform smaller program 6) 8052 uc perform larger program
compare to 8052. compare to 8051.
7) This counter time gives less 7) The times counter gives more
flexibility. flexibility.

You might also like