Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Microcontroller 8051 and its interfacing

47,558 views

Published on

Microcontroller AtoZ

Published in: Education, Technology, Business

Microcontroller 8051 and its interfacing

  1. 1. MICROCONTROLLER & ITS INTERFACING Er. Mandeep SinghNational Institute of Technical Teachers Training & Research- Chandigarh
  2. 2. Topics of Discussion: MicroprocessorDefinitionWorkingMicroprocessor & Human BehaviourMicrocontroller 8051DefinitionMicroprocessor Vs Microcontroller8051 Features9/21/2012 Er. Mandeep Singh 2
  3. 3. Topics of Discussion:Block Diagram of 8051ManufacturersPin diagram of 8051Addressing ModesHow to write programReal World Interfacing Simple I/O conceptLCD Interfacing9/21/2012 Er. Mandeep Singh 3
  4. 4. Topics of Discussion:ADC0804 InterfacingRelay InterfacingStepper Motor InterfacingDC Motor InterfacingApplications of 8051Queries9/21/2012 Er. Mandeep Singh 4
  5. 5. Microprocessor:• Multipurpose• Re-Programmable• Digital Device• Semiconductor IC9/21/2012 Er. Mandeep Singh 5
  6. 6. Microprocessor (cont.):• Works On: Input data from outer world. Process it under control of stored instructions/program in memory. Provide desired result to the outer world.9/21/2012 Er. Mandeep Singh 6
  7. 7. Microprocessor(cont.):9/21/2012 Er. Mandeep Singh 7
  8. 8. Microprocessor & Human Behaviour:9/21/2012 Er. Mandeep Singh 8
  9. 9. Microcontroller:Introduced in 1981 by Intel Corporation.Microcontroller is a programmable digital processor with necessaryperipherals.Both microcontrollers and microprocessors are complex sequential digitalcircuits meant to carry out job according to the program / instructions. Swiss Knife9/21/2012 Er. Mandeep Singh 9
  10. 10. Microprocessor Vs Microcontroller:9/21/2012 Er. Mandeep Singh 10
  11. 11. Microcontroller 8051 Features:9/21/2012 Er. Mandeep Singh 11
  12. 12. 8051 Block Diagram:9/21/2012 Er. Mandeep Singh 12
  13. 13. Manufacturers of 8051:• Intel• Atmel• Phillips• Dallas• Motorola• National• Infineon9/21/2012 Er. Mandeep Singh 13
  14. 14. Pin Diagram-8051:9/21/2012 Er. Mandeep Singh 14
  15. 15. Addressing Modes:• Immediate Addressing Mode• Direct Addressing Mode• Register Addressing Mode• Register Indirect Addressing Mode• Indexed Addressing Mode9/21/2012 Er. Mandeep Singh 15
  16. 16. Addressing Modes (cont.):Immediate Addressing Mode :• MOV A, #64H• MOV R1, #0FFHDirect Addressing Mode:• MOV A, 64H• MOV A, 0FFH9/21/2012 Er. Mandeep Singh 16
  17. 17. Addressing Modes (cont.):Register Addressing Mode• MOV A, R0• MOV R1, ARegister Indirect Addressing Mode• MOV A,@R0• MOV @R1,A9/21/2012 Er. Mandeep Singh 17
  18. 18. How to Write Program:9/21/2012 Er. Mandeep Singh 18
  19. 19. Real World Interfacing:Simple Input- Output Concept:• Interfacing Switch• Interfacing LED9/21/2012 Er. Mandeep Singh 19
  20. 20. LCD Interfacing: 16X2 LCD Module9/21/2012 Er. Mandeep Singh 20
  21. 21. Pin Description: Pin Symbol I/O Description 1 Vs - Ground 2 Vcc - +5 V 3 VEE - Contrast control 4 RS I Register Select 5 R/W I Read/Write 6 E I/O Enable 7 DB0 I/O 8 bit data bus 8 DB1 I/O 8 bit data bus 9 DB2 I/O 8 bit data bus 10 DB3 I/O 8 bit data bus 11 DB4 I/O 8 bit data bus 12 DB5 I/O 8 bit data bus 13 DB6 I/O 8 bit data bus 14 DB7 I/O 8 bit data bus9/21/2012 Er. Mandeep Singh 21
  22. 22. Pin Connections of LCD:9/21/2012 Er. Mandeep Singh 22
  23. 23. Analog Vs Digital:9/21/2012 Er. Mandeep Singh 23
  24. 24. ADC Interfacing:9/21/2012 Er. Mandeep Singh 24
  25. 25. Relay Interfacing:9/21/2012 Er. Mandeep Singh 25
  26. 26. Stepper Motor Interfacing:9/21/2012 Er. Mandeep Singh 26
  27. 27. DC Motor Interfacing:9/21/2012 Er. Mandeep Singh 27
  28. 28. Applications of 8051:9/21/2012 Er. Mandeep Singh 28
  29. 29. ?
  30. 30. Contact Details:Er. Mandeep SinghElectrical Engineering DepartmentNational Institute of Technical Teachers Training and Research Sector 26 ChandigarhEmail: mandeep1708@yahoo.co.inMobile: 8427 00 8051 9915 72 80519/21/2012 Er. Mandeep Singh 30

×