Your SlideShare is downloading. ×
0
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

1346 A Single Chip Microcomputer

3,464

Published on

visit: www.techbed.blogspot.com

visit: www.techbed.blogspot.com

Published in: Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,464
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
64
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Study of 8051 – A Single Chip Micro Computer
  • 2. A Micro controller is a ‘ complete computer ’ on a single chip… CPU / Microprocessor Memory / Hard Disk/RAM I/O Ports / I/O Devices
  • 3. Micro controller Vs Micro processor 8051 ROM/27C512 RAM/6264 I/O Ports/8255 8085
  • 4. Micro controller Vs Micro processor
    • A complete computer
    • RAM, ROM, I/O ports on chip itself
    • Application specific
    • Fixed amount of ROM,RAM,I/O ports available
    • Cheap and takes up less space
    • A CPU only
    • RAM, ROM, I/O ports are provided externally
    • General purpose use
    • Flexibility to choose ROM,RAM,I/O ports to be connected
    • Costly & Bulky as compared to a micro controller
  • 5. Micro controller & Embedded Processors
    • Embedded Processors are used for complex systems that require high performance and processing capability. For e.g. Air Traffic monitoring and control, communication systems on spacecrafts etc.
  • 6. Overview of 8051 family 6 8 6 Interrupts 1 1 1 Serial Port 2 3 2 Timers 32 32 32 I/O pins 128 bytes 256 bytes 128 bytes RAM 0K 8K 4K ROM 8031 8052 8051 Feature
  • 7. Block Diagram of 8051
    • 8-bit Controller
    • Data Bus (8 bits)
    • Address Bus (16-bits)
    • 5V Power Supply
    • 0 – 24MHz
    SERIAL PORT TIMERS I/O PORTS ROM RAM CPU
  • 8. Architecture of 8051 CPU On-chip RAM (128 bytes) On-chip ROM for program code(4K) 4 I/O Ports Timer 0 Serial Port OSC External interrupts Timer 1 Timer/Counter Bus Control TxD RxD P0 P1 P2 P3 Address/Data Counter Inputs Interrupt Control
  • 9. Pin Diagram of 8051 Port 1 Port 3 Port 2 Port 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 RST (RXD)P3.0 (TXD)P3.1 (T0)P3.4 (T1)P3.5 XTAL2 XTAL1 GND (INT0)P3.2 (INT1)P3.3 (RD)P3.7 (WR)P3.6 Vcc P0.0(AD0) P0.1(AD1) P0.2(AD2) P0.3(AD3) P0.4(AD4) P0.5(AD5) P0.6(AD6) P0.7(AD7) EA/VPP ALE/PROG PSEN P2.7(A15) P2.6(A14) P2.5(A13) P2.4(A12) P2.3(A11) P2.2(A10) P2.1(A9) P2.0(A8) 8051 (8031)
  • 10. Application Development using 8051 (Development Tools)
    • Keil Software
    • Universal Programmer/ Flash Magic
    • Soldering kit
    • Multi-meter
    • CAD Tools (ORCAD etc.)
  • 11. Application Development using 8051 (Development Steps)
    • Connecting Power Supply and Crystal
    • Connecting RESET circuit
    • I/O interfacing with 8051
    • Writing Application Software
    • Burning the program in 8051 ROM
  • 12. Connecting Power Supply and Crystal AT89C51
  • 13. Connecting RESET circuit
  • 14. Writing application Software A LED Blinking program ORG 0H START: SETB P3.7 SETB P3.6 ACALL DELAY CLR P3.7 CLR P3.6 ACALL DELAY JMP START DELAY: MOV R5, #11 H3: MOV R4, #248 H2: MOV R3, #255 H1: DJNZ R3, H1 DJNZ R4, H2 DJNZ R5, H3 RET END
  • 15. Burning the program in 8051 ROM
    • Use a Universal Programmer to program 8051
    • Use a PC based programming software like Flash Magic

×