Preview

8051 Microcontroller

Satisfactory Essays
Open Document
Open Document
728 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
8051 Microcontroller
Intel’s

8051

Micro controller

Basics
What are Micro controller's ? Why the name Micro controller ?
Basically used for control actions.It is used to control the operation of machine using fixed program that is stored in ROM/EPROM and that does not change over the life time.

What is MCS 51 ?

Why to study 8051 ?
August 28, 2008 Y.H.Dandawate 2

August 28, 2008

Y.H.Dandawate

3

Features of 8051
8 bit ALU. 16 bit PC and DPTR. 8 bit stack pointer and 8 bit PSW. 4K internal ROM 128 bytes of Internal RAM. 32 bits arranged as four,8 bit ports P0-P3. Two 16 bit timer/counters, T0 & T1. Full duplex serial Port.
August 28, 2008 Y.H.Dandawate 4

Features contd…
Control Registers TCON,TMOD,SCON,PCON,IP,IE etc (SFR’s). Two External and three internal interrupt sources. 0-12 MHz clock. 40 pin DIP package. Works in Power Down and Idle mode. Powerful Instruction set.
August 28, 2008 Y.H.Dandawate 5

Block Diagram of 8051.

Pin Diagram of 8051

August 28, 2008

Y.H.Dandawate

8

August 28, 2008

Y.H.Dandawate

9

August 28, 2008

Y.H.Dandawate

10

Internal RAM Organization

August 28, 2008

Y.H.Dandawate

12

August 28, 2008

Y.H.Dandawate

13

Internal RAM Organization

August 28, 2008

Y.H.Dandawate

14

Clock for 8051.

Tin = N * 12 / Clk.Freq

August 28, 2008

Y.H.Dandawate

15

Program Status Word (PSW)
7
CY

6
AC

5
F0

4

3

2

1

0
P

RS1 RS0 OV ---

August 28, 2008

Y.H.Dandawate

16

I/O Ports of 8051-Port 0

August 28, 2008

Y.H.Dandawate

17

I/O Ports of 8051-Port 1

August 28, 2008

Y.H.Dandawate

18

I/O Ports of 8051-Port 2

August 28, 2008

Y.H.Dandawate

19

I/O Ports of 8051-Port 3

August 28, 2008

Y.H.Dandawate

20

Memory Interfacing with 8051
How to interface Program memory(EPROM) up to 64 KB to 8051 ? How to interface Data memory(RAM) upto 64 KB to 8051 ? How 8051 distinguishes Program and data memory operations ?

August 28, 2008

Y.H.Dandawate

21

Timer Control Register (TCON)
7
TF 1

6
TR1

5
TF0

4
TR0

3
IE 1

2
IT1

1
IE0

0

You May Also Find These Documents Helpful

  • Good Essays

    ● External Interrupts: 2 (interrupt 0), 3 (interrupt 1), 18 (interrupt 5), 19 (interrupt 4), 20 (interrupt 3), and 21 (interrupt 2). When there is a change in value, rising or falling edge or a low value the pins can be configured to trigger an interrupt.…

    • 558 Words
    • 3 Pages
    Good Essays
  • Good Essays

    The 8080 was the successor to the 8008 in April 1972. While the 8008 had 14 bit PC and addressing, the 8080 had a 16 bit address bus and an 8 bit data bus. Internally it had seven 8 bit registers, a 16 bit stack pointer to memory which replaced the 8 level internal stack of the 8008, and a 16 bit program counter. It also had several I/O ports - 256 of them,…

    • 812 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Nt1330 Unit 5 Assignment

    • 555 Words
    • 3 Pages

    Answer: It is used to check whether it is compatible for the hardware and software…

    • 555 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Interrupt-driven I/O: The processor issues an I/O command on behalf of a process, continues to execute subsequent instructions, and is interrupted by the I/O module when the latter has completed its work. The subsequent instructions may be in the same process, if it is not necessary for that process to wait for the completion of the I/O. Otherwise, the process is suspended pending the interrupt and other work is performed. Direct memory access (DMA): A DMA module controls the exchange of data between main memory and an I/O module. The processor sends a request for the transfer of a block of data to the DMA module and is interrupted only after the entire block has been…

    • 1721 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Cell Organelle Worksheet

    • 696 Words
    • 4 Pages

    Something that performs the same function in the “real world” It works like a CPU sending out messages.…

    • 696 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Nt1330 Unit 1 Assignment

    • 4639 Words
    • 19 Pages

    Typically this constitutes an interface for communicating with the device, through the specific computer bus or communications subsystem that the hardware is connected to, providing commands to and/or receiving data from the device, and on the other end, the requisite interfaces to the operating system and software applications. It is a specialized hardware-dependent computer program which is also operating system specific that enables another program, typically an operating system or applications software package or computer program running under the operating system kernel, to interact transparently with a hardware device, and usually provides the requisite interrupt handling necessary for any necessary asynchronous time-dependent hardware interfacing…

    • 4639 Words
    • 19 Pages
    Powerful Essays
  • Satisfactory Essays

    Brochure Bus-210

    • 465 Words
    • 2 Pages

    This is a type of communication hardware that allows quick transmission of large amounts of information. Enable to access information on WWW, this hardware was developed and can handle many billions of bytes per second.…

    • 465 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Unit 5 research paper

    • 297 Words
    • 2 Pages

    (FPU) which is a microprocessor inside the CPU. This basically helps the computer figure out…

    • 297 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    NT1110

    • 345 Words
    • 2 Pages

    * Ethernet Port Expander Hardware,* FireWire Port Expander Hardware,* DB-25 Port Expander Hardware,* Serial Port Expander Hardware,* USB Port Expander Hardware,* VGA Port Expander Hardware,* DVI Port Expander Hardware,* SCSI Port Expander Hardware,* Audio Port Expander Hardware,* Video Port Expander Hardware,* Microphone Port Expander Hardware,* RS-422 Port Expander Hardware,* Modbus Serial Port Hardware,* SATA Port Expander Hardware,* SAS Port Expander Hardware,* SSD Port Expander Hardware…

    • 345 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    HCS12 microcontroller is an 8bit microcontroller, manufactured by Free scale Semiconductors. It has three 8bit registers (A, B, CCR) and four 16bit pointers(X, Y, SP, PC).…

    • 328 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Christian Family Life

    • 4950 Words
    • 20 Pages

    References: The die from an Intel 8742, an 8-bit microcontroller that includes a CPU running at 12 MHz, 128 bytes of RAM, 2048 bytes of EPROM, and I/O in the same chip.…

    • 4950 Words
    • 20 Pages
    Powerful Essays
  • Powerful Essays

    constructed. The project needed a circuit to pulse an infrared LED at 38 kHz, a circuit to receive…

    • 1487 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    The Arduino Uno is a microcontroller based on the ATmega328. It has 14 digital input/output pins in which 6 can be used as PWM, 6 analog inputs, a 16 MHz ceramic resonator, a USB port, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.[11]…

    • 1388 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    HI my name is bob

    • 388 Words
    • 2 Pages

    3 Unit 2 - Summary; 4 Fundamentals of Computer Systems. 4.1 Hardware ... 6.1 Internal and external hardware components of a computer .... 8.15.4.1 HTTPS.…

    • 388 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Evm Voting Machine

    • 7629 Words
    • 31 Pages

    When we have to learn about a new computer we have to familiarize about the machine capability we are using, and we can do it by studying the internal hardware design (devices architecture), and also to know about the size, number and the size of the registers. A microcontroller is a single chip that contains the processor (the CPU), non-volatile memory for the program (ROM or flash), volatile memory for input and output (RAM), a clock and an I/O control unit. Also called a "computer on a chip," billions of microcontroller units (MCUs) are embedded each year in a myriad of products from toys to appliances to automobiles. For example, a single vehicle can use 70 or more microcontrollers. The following picture describes a general block diagram of microcontroller.…

    • 7629 Words
    • 31 Pages
    Good Essays