SlideShare una empresa de Scribd logo
1 de 47
SEMINAR ON EMBEDDED SYSTEM USING 8051
                  MICROCONTROLLER



                            SUBMITTED BY
                         NAME- BADAL SHARMA
                         STUDENT- B.TECH 4 TH
                             YEAR (E&C)
Introduction

 An embedded system can be defined as a
computer system design to perform specific
function .

This generally goes with real-time computing
constraints.

Embedded systems bring together software
hardware and mechanical parts with either fixed or
programmable capabilities .

Embedded systems are very specific, and built to
handle a particular task
 Example of Embedded System
   Air conditioner
   ATM machine
   Battery charger
   Digital camera
   DVD player
   Fax machine
   Home security system
   Mobile phone
   Modem
   TV
   Navigation system
   Scanner
   Printer
   Router
   PDA
   Wearable computer
   Photocopier
   Video game console
Moving message display   Digital clock




DVD player               Traffic light
• Essential components
 Microprocessor / DSP

 Sensors

 Converter (A-D and D-A)

 Actuators

 Communication path with the interacting environment
•Embedded System Structure




          A-       Processor &   D-A
sensor                                 actuators
          D          ASIC s




                    memory
Introduction to microcontroller 8051

 A microcontroller is a computer on a
chip

 Micro suggests that the devices is small,
and controller tells you that the devices might
be used to control objects , or events

 Another term to describe a microcontroller
is embedded controller, because the
microcontroller and its support circuit are
often built into, or embedded in, the devices
they control.
The 8051Microcontroller
• The 8051 is the first microcontroller of the MCS-
  51 family introduced by Intel Corporation at the
  end of the 1970’s.

• The 8051 family characteristics:
   o   4K Bytes ROM
   o   128 Bytes RAM
   o   two timer/counters (16 bit)
   o   A serial port
   o   32 input/output port
   o   Interrupt controller
• Architecture of microcontroller
Pin diagram
IC 8051 Pin Description

                          Voltage supply
                          +5v




 GND
IC 8051 Pin description

                                  Port 0
                                  From 32 to 39




                          Dual function
                          Used to excess both
                          data & address
IC 8051 Pin description

   Port 1
From 1 to 8 pin


8-bit bidirectional
   I/O port with
internal pull-ups
IC 8051 Pin description




                           Port 2 form
                           Pin 21 to 28


                          Used to access
                          address and I/O
IC 8051 Pin description


                                External memory
  Reset

Serial input
Serial output                    Add. Latch
Interrupt 0                      enable
Interrupt 1
Timer 0
Timer 1
Write
                                 Program
Read
                                 Store Enable
Crystal Oscillator
Addressing Modes

• Immediate addressing modes
  o   ADD A, #23h (Add immediate data to Acc)
• Register addressing modes
  o   ADD A, R2 (Add register to Accumulator)
• Direct addressing modes
  o   ADD A, 40h (Add data at location 40h to Accumulator)
• Register Indirect addressing modes
  o   ADD A,@R2 (Add indirect RAM to Acc)
• The 8051 has 2 timer/counter .
  They can be used either as timers
  to generate delay or as counters to
  count events happening outside
  the controller.
o Two 16-bit timer
o The counters are divided into two 8-Bit
  registers called the timer low (TL0, TL1) and
  high (TH0, TH1) bytes.
o All counters action is controlled by bit states
  in the timer mode control register (TMOD),
  the timer/counter control register (TCON),
  and certain program instructions.
The 8085 Microprocessor :

• The features of INTEL 8085 are :
• It is an 8 bit processor.
• It is a single chip N-MOS device
  with 40 pins.
• It has multiplexed address and
  data bus.(AD0-AD7).
• It works on 5 Volt dc power supply.
• The maximum clock frequency is 3
  MHz while minimum frequency is
  500kHz.
• It provides 74 instructions with 5
  different addressing modes.
IC 8085 Pin Description
IC 8085 Pin Description
• AD0-AD7: Multiplexed Address and data lines.

• A8-A15: Tri-stated higher order address lines.

• ALE: Address latch enable is an output signal.It goes high
  when operation is started by processor .

• S0,S1: These are the status signals used to indicate type
  of operation.

• RD¯: Read is active low input signal used to read data
  from I/O device or memory.

• WR¯: Write is an active low output signal used write data
  on memory or an I/O device.
IC 8085 Pin Description
• AD0-AD7: Multiplexed Address and data lines.

• A8-A15: Tri-stated higher order address lines.

• ALE: Address latch enable is an output signal.It goes high
  when operation is started by processor .

• S0,S1: These are the status signals used to indicate type
  of operation.

• RD¯: Read is active low input signal used to read data from
  I/O device or memory.

• WR¯: Write is an active low output signal used write data
  on memory or an I/O device.
IC 8085 Pin Description
• HOLD&HLDA: HOLD is an input signal .When µP
   receives HOLD signal it completes current machine cycle
   and stops executing next instruction. In response to HOLD
   µP generates HLDA that is HOLD Acknowledge signal.

• RESET IN¯: This is input signal. When RESET IN¯ is low
   µp restarts and starts executing from location 0000H.

• SID: Serial input data is input pin used to accept serial 1
   bit data .

• X1 & X2 : These are clock input signals and are
   connected to external LC,or RC circuit.These are divide by
   two so if 6 MHz is connected to X1X2, the operating
   frequency becomes 3 MHz.

• VCC & VSS: Power supply VCC=+ -5Volt& VSS=-GND
   reference.
8085 Internal Architecture
Microprocessor v/s
                Microcontroller
                         Microcontroller
Microprocessor


•   CPU is stand-alone, RAM, ROM, I/O,   •   CPU, RAM, ROM, I/O and
    timer are separate                       timer are all on a single chip
•   designer can decide on the amount    •   fix amount of on-chip ROM,
    of ROM, RAM and I/O ports.               RAM, I/O ports
•   expensive                            •   for applications in which cost,
•   general-purpose                          power and space are critical
•   Ex. 8085,8086 mp, Motorola 6800,     •   single-purpose
    Intel’s 8086, etc.                   •   Ex. 8051, PIC mc, Motorola
                                             MC’s, Phillips, etc.
Various Integrated Circuits
A.   78XX Series
      3-Terminal positive regulator(78XX)
      XX- output voltage(7805-+05v,7812-+12v)




     Pin Diagram                        Circuit Diagram
B.78XX series
     3- terminal negative regulators
      XX-output voltage(7905- -5v,7912- -12v




                        B. 79XX Series




  Pin diagram                            Circuit diagram
Features of 78XX & 79XX Series
 Thermal, short circuit and safe area
protection

 High ripple rejection.

 1A & 1.5A output current delivers by 78XX &
  79XX series.

 4% tolerance on present output voltage.
Practical use of 7805 Regulator IC
C. L293D


 push-pull four channel driver with diodes.
 600mA output current capability per channel.
 1.2A peak output current (non-repetitive) per
  channel. enable facility.
 over temperature protection.
 high noise immunity.
 internal clamp diodes.
Pin diagram of
Use of L293D                     L293D
1) It is use to DC & stepping
   motor in both clockwise
   & anticlockwise
   direction.
2) It is also called inductive
   load driver IC.
Connection of motors with L293D
Block Diagram of L293D
D. ULN2003/ ULN2803
 high voltage, high current Darlington array
 TTL, DTL, PMOS, CMOS-Compatible inputs
 output current (sinking capability) to 500mA per channel
 output voltage to 50V
 It is also called relay driver IC
 The output of two coupled transistor is A=a1+a2 but in Darlington
    pair A=a1.a2 .
Pin Diagram of   Pin Diagram of
  ULN2003          ULN2803
Connection of motor through
        ULN2803
Liquid Crystal Display (LCD)
 The most commonly used LCDs found in the market today are 1 line, 2
  line or 4 line LCDs which have only one controller and support at most
  80 character; whereas LCDs supporting more than 80 characters make
  use of 2 HD44780 controllers.
Connection Of LCD
             NAME     DESCRIPTION

              VSS    Ground
              VCC    +3.3 to +5V
              VEE    Contrast adjustment
              RS      0 - write to LCD module
                       1 – read from LCD module
                EN    Enable
                D0    Data bus line 0 (LSB)
                D1    Data bus line 1
                D2    Data bus line 2
                D3    Data bus line 3
                D4    Data bus line 4
                D5    Data bus line 5
                D6    Data bus line 6
                D     Data bus line 7 (MSB)
LM358
 It is a comparator IC.
 It consists of two operational amplifier (op-amp).
 Op-amp has two input terminal, used to compare the input
   signal and one output terminal, used to produce output signal
    (either 0 or 1) according to the comparison of two input signals.
LM324
 It is also a comparator IC.
 It consist of four Op-amp.
MAX 232
    It is used to shift the level of voltage when communicate
     between computer and microcontroller.
   Controller TTL logic and logic 1 between 1.5V to 5V. Computer
    works on CMOS logic 1 between 5.5V to 15V. Since there is no
    difference in logic 0 in CMOS and TTL but logic 1 of both are
    different. Hence MAX232 required for level shifting.
   MAX comes from Maxim (manufacturer)
   232 comes from RS232. It is a protocol (set of rules) supports
    communication between CMOS and TTL.
   It is also called Level Shifter IC.
INFRARED SENSOR (IR)
 It consist of two LED, one is transmitter (blue LED) and another is
  receiver (white/black LED).
 when we put any obstruction in between these two LEDs their
   operation affects and produce a certain signal (low or high).
RF Transmitter (TX) and Receiver (RX) Module
TX (TLP434) Module
1.   Antenna
2.    Vcc (positive Supply)
3.   Data (Data Input)
4. Ground
( Data generation     encoding     modulation (ASK)       transmit
                       (HT12E)        (TLP434)           (Antenna)

RX(RLP434) Module
1.  Antenna
2.  Ground
3.  Ground
4. Vcc
5.  Vcc
6. Data
7.  Data
8. Ground

( Reception   Demodulation       Decoding     Digital Signal Generation
(Antenna)      (RLP434)          (HT12D)       (signal ready to use)
Design software


             PROTEOUS

                         PCS
     BASOM
                        DESIGN


             SOFTWARE
               USED
B
A
D
A
L

S
H
A
R
M
A

Más contenido relacionado

La actualidad más candente

8096 microcontrollers notes
8096 microcontrollers notes8096 microcontrollers notes
8096 microcontrollers notesDr.YNM
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC MicrocontrollerDivya Bansal
 
Arm7 Interfacing examples
Arm7   Interfacing examples Arm7   Interfacing examples
Arm7 Interfacing examples Dr.YNM
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051guest70d48b1
 
ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4NOWAY
 
Embedded systems and its ports
Embedded systems and its portsEmbedded systems and its ports
Embedded systems and its portsnitin kumar
 
Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Ganesh Ram
 
Embedded system 8051 Microcontroller
Embedded system 8051 MicrocontrollerEmbedded system 8051 Microcontroller
Embedded system 8051 Microcontrollerankitsharmaj
 
Precision microcontrolleroverview
Precision microcontrolleroverviewPrecision microcontrolleroverview
Precision microcontrolleroverviewGhazi BEN HMIDA
 
Advanced motion controls dzralte 060l080
Advanced motion controls dzralte 060l080Advanced motion controls dzralte 060l080
Advanced motion controls dzralte 060l080Electromate
 
Advanced motion controls dzralte 040l080
Advanced motion controls dzralte 040l080Advanced motion controls dzralte 040l080
Advanced motion controls dzralte 040l080Electromate
 
Rfid interface with lpc2148
Rfid interface with lpc2148 Rfid interface with lpc2148
Rfid interface with lpc2148 Ritesh Kumar
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller918007165995
 
MICROPROCESSORS AND MICROCONTROLLERS
MICROPROCESSORS AND MICROCONTROLLERSMICROPROCESSORS AND MICROCONTROLLERS
MICROPROCESSORS AND MICROCONTROLLERSselvakumar948
 

La actualidad más candente (20)

8096 microcontrollers notes
8096 microcontrollers notes8096 microcontrollers notes
8096 microcontrollers notes
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC Microcontroller
 
project 3 full report
project 3 full reportproject 3 full report
project 3 full report
 
Digital stop watch
Digital stop watchDigital stop watch
Digital stop watch
 
Arm7 Interfacing examples
Arm7   Interfacing examples Arm7   Interfacing examples
Arm7 Interfacing examples
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4
 
Embedded systems and its ports
Embedded systems and its portsEmbedded systems and its ports
Embedded systems and its ports
 
DAC and sensor interfacing with PIC
DAC and sensor interfacing with PICDAC and sensor interfacing with PIC
DAC and sensor interfacing with PIC
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))
 
Embedded system 8051 Microcontroller
Embedded system 8051 MicrocontrollerEmbedded system 8051 Microcontroller
Embedded system 8051 Microcontroller
 
Precision microcontrolleroverview
Precision microcontrolleroverviewPrecision microcontrolleroverview
Precision microcontrolleroverview
 
Advanced motion controls dzralte 060l080
Advanced motion controls dzralte 060l080Advanced motion controls dzralte 060l080
Advanced motion controls dzralte 060l080
 
Interfacing 8255
Interfacing 8255Interfacing 8255
Interfacing 8255
 
Advanced motion controls dzralte 040l080
Advanced motion controls dzralte 040l080Advanced motion controls dzralte 040l080
Advanced motion controls dzralte 040l080
 
Rfid interface with lpc2148
Rfid interface with lpc2148 Rfid interface with lpc2148
Rfid interface with lpc2148
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller
 
MICROPROCESSORS AND MICROCONTROLLERS
MICROPROCESSORS AND MICROCONTROLLERSMICROPROCESSORS AND MICROCONTROLLERS
MICROPROCESSORS AND MICROCONTROLLERS
 

Similar a Badal sharma

Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerAmandeep Alag
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLshiv kapil
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTvasav2204
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering projectvasav2204
 
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYAUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYGaurav Singh
 
File 1389427052
File 1389427052File 1389427052
File 1389427052Aman_preet
 
Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Boxncct
 
TV Remote Operated Domestic Appliances Control
TV Remote Operated Domestic Appliances ControlTV Remote Operated Domestic Appliances Control
TV Remote Operated Domestic Appliances ControlEdgefxkits & Solutions
 
8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-trainJitendra Saroj
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerRup Chowdhury
 
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERChirag Lakhani
 
digitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfdigitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfsatyamsinha37
 

Similar a Badal sharma (20)

embedded system
embedded systemembedded system
embedded system
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
 
8051
80518051
8051
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROL
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
 
embedded system bye Sj
embedded system bye Sjembedded system bye Sj
embedded system bye Sj
 
Introduction to PIC.pptx
Introduction to PIC.pptxIntroduction to PIC.pptx
Introduction to PIC.pptx
 
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYAUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
 
File 1389427052
File 1389427052File 1389427052
File 1389427052
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 
Parth xyz
Parth xyzParth xyz
Parth xyz
 
Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Box
 
Upfc ppt
Upfc pptUpfc ppt
Upfc ppt
 
TV Remote Operated Domestic Appliances Control
TV Remote Operated Domestic Appliances ControlTV Remote Operated Domestic Appliances Control
TV Remote Operated Domestic Appliances Control
 
5 FINAL PROJECT REPORT
5 FINAL PROJECT REPORT5 FINAL PROJECT REPORT
5 FINAL PROJECT REPORT
 
8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
 
digitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfdigitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdf
 

Último

INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 

Último (20)

INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 

Badal sharma

  • 1.
  • 2. SEMINAR ON EMBEDDED SYSTEM USING 8051 MICROCONTROLLER SUBMITTED BY NAME- BADAL SHARMA STUDENT- B.TECH 4 TH YEAR (E&C)
  • 3.
  • 4. Introduction  An embedded system can be defined as a computer system design to perform specific function . This generally goes with real-time computing constraints. Embedded systems bring together software hardware and mechanical parts with either fixed or programmable capabilities . Embedded systems are very specific, and built to handle a particular task
  • 5.  Example of Embedded System  Air conditioner  ATM machine  Battery charger  Digital camera  DVD player  Fax machine  Home security system  Mobile phone  Modem  TV  Navigation system  Scanner  Printer  Router  PDA  Wearable computer  Photocopier  Video game console
  • 6. Moving message display Digital clock DVD player Traffic light
  • 7. • Essential components  Microprocessor / DSP  Sensors  Converter (A-D and D-A)  Actuators  Communication path with the interacting environment
  • 8. •Embedded System Structure A- Processor & D-A sensor actuators D ASIC s memory
  • 9. Introduction to microcontroller 8051  A microcontroller is a computer on a chip  Micro suggests that the devices is small, and controller tells you that the devices might be used to control objects , or events  Another term to describe a microcontroller is embedded controller, because the microcontroller and its support circuit are often built into, or embedded in, the devices they control.
  • 10. The 8051Microcontroller • The 8051 is the first microcontroller of the MCS- 51 family introduced by Intel Corporation at the end of the 1970’s. • The 8051 family characteristics: o 4K Bytes ROM o 128 Bytes RAM o two timer/counters (16 bit) o A serial port o 32 input/output port o Interrupt controller
  • 11. • Architecture of microcontroller
  • 12.
  • 14. IC 8051 Pin Description Voltage supply +5v GND
  • 15. IC 8051 Pin description Port 0 From 32 to 39 Dual function Used to excess both data & address
  • 16. IC 8051 Pin description Port 1 From 1 to 8 pin 8-bit bidirectional I/O port with internal pull-ups
  • 17. IC 8051 Pin description Port 2 form Pin 21 to 28 Used to access address and I/O
  • 18. IC 8051 Pin description External memory Reset Serial input Serial output Add. Latch Interrupt 0 enable Interrupt 1 Timer 0 Timer 1 Write Program Read Store Enable Crystal Oscillator
  • 19. Addressing Modes • Immediate addressing modes o ADD A, #23h (Add immediate data to Acc) • Register addressing modes o ADD A, R2 (Add register to Accumulator) • Direct addressing modes o ADD A, 40h (Add data at location 40h to Accumulator) • Register Indirect addressing modes o ADD A,@R2 (Add indirect RAM to Acc)
  • 20. • The 8051 has 2 timer/counter . They can be used either as timers to generate delay or as counters to count events happening outside the controller. o Two 16-bit timer o The counters are divided into two 8-Bit registers called the timer low (TL0, TL1) and high (TH0, TH1) bytes. o All counters action is controlled by bit states in the timer mode control register (TMOD), the timer/counter control register (TCON), and certain program instructions.
  • 21. The 8085 Microprocessor : • The features of INTEL 8085 are : • It is an 8 bit processor. • It is a single chip N-MOS device with 40 pins. • It has multiplexed address and data bus.(AD0-AD7). • It works on 5 Volt dc power supply. • The maximum clock frequency is 3 MHz while minimum frequency is 500kHz. • It provides 74 instructions with 5 different addressing modes.
  • 22. IC 8085 Pin Description
  • 23. IC 8085 Pin Description • AD0-AD7: Multiplexed Address and data lines. • A8-A15: Tri-stated higher order address lines. • ALE: Address latch enable is an output signal.It goes high when operation is started by processor . • S0,S1: These are the status signals used to indicate type of operation. • RD¯: Read is active low input signal used to read data from I/O device or memory. • WR¯: Write is an active low output signal used write data on memory or an I/O device.
  • 24. IC 8085 Pin Description • AD0-AD7: Multiplexed Address and data lines. • A8-A15: Tri-stated higher order address lines. • ALE: Address latch enable is an output signal.It goes high when operation is started by processor . • S0,S1: These are the status signals used to indicate type of operation. • RD¯: Read is active low input signal used to read data from I/O device or memory. • WR¯: Write is an active low output signal used write data on memory or an I/O device.
  • 25. IC 8085 Pin Description • HOLD&HLDA: HOLD is an input signal .When µP receives HOLD signal it completes current machine cycle and stops executing next instruction. In response to HOLD µP generates HLDA that is HOLD Acknowledge signal. • RESET IN¯: This is input signal. When RESET IN¯ is low µp restarts and starts executing from location 0000H. • SID: Serial input data is input pin used to accept serial 1 bit data . • X1 & X2 : These are clock input signals and are connected to external LC,or RC circuit.These are divide by two so if 6 MHz is connected to X1X2, the operating frequency becomes 3 MHz. • VCC & VSS: Power supply VCC=+ -5Volt& VSS=-GND reference.
  • 27. Microprocessor v/s Microcontroller Microcontroller Microprocessor • CPU is stand-alone, RAM, ROM, I/O, • CPU, RAM, ROM, I/O and timer are separate timer are all on a single chip • designer can decide on the amount • fix amount of on-chip ROM, of ROM, RAM and I/O ports. RAM, I/O ports • expensive • for applications in which cost, • general-purpose power and space are critical • Ex. 8085,8086 mp, Motorola 6800, • single-purpose Intel’s 8086, etc. • Ex. 8051, PIC mc, Motorola MC’s, Phillips, etc.
  • 28. Various Integrated Circuits A. 78XX Series  3-Terminal positive regulator(78XX)  XX- output voltage(7805-+05v,7812-+12v) Pin Diagram Circuit Diagram
  • 29. B.78XX series  3- terminal negative regulators  XX-output voltage(7905- -5v,7912- -12v B. 79XX Series Pin diagram Circuit diagram
  • 30. Features of 78XX & 79XX Series  Thermal, short circuit and safe area protection  High ripple rejection.  1A & 1.5A output current delivers by 78XX & 79XX series.  4% tolerance on present output voltage.
  • 31. Practical use of 7805 Regulator IC
  • 32. C. L293D  push-pull four channel driver with diodes.  600mA output current capability per channel.  1.2A peak output current (non-repetitive) per channel. enable facility.  over temperature protection.  high noise immunity.  internal clamp diodes.
  • 33. Pin diagram of Use of L293D L293D 1) It is use to DC & stepping motor in both clockwise & anticlockwise direction. 2) It is also called inductive load driver IC.
  • 34. Connection of motors with L293D
  • 36. D. ULN2003/ ULN2803  high voltage, high current Darlington array  TTL, DTL, PMOS, CMOS-Compatible inputs  output current (sinking capability) to 500mA per channel  output voltage to 50V  It is also called relay driver IC  The output of two coupled transistor is A=a1+a2 but in Darlington  pair A=a1.a2 .
  • 37. Pin Diagram of Pin Diagram of ULN2003 ULN2803
  • 38. Connection of motor through ULN2803
  • 39. Liquid Crystal Display (LCD)  The most commonly used LCDs found in the market today are 1 line, 2 line or 4 line LCDs which have only one controller and support at most 80 character; whereas LCDs supporting more than 80 characters make use of 2 HD44780 controllers.
  • 40. Connection Of LCD NAME DESCRIPTION  VSS Ground  VCC +3.3 to +5V  VEE Contrast adjustment  RS 0 - write to LCD module 1 – read from LCD module  EN Enable  D0 Data bus line 0 (LSB)  D1 Data bus line 1  D2 Data bus line 2  D3 Data bus line 3  D4 Data bus line 4  D5 Data bus line 5  D6 Data bus line 6  D Data bus line 7 (MSB)
  • 41. LM358  It is a comparator IC.  It consists of two operational amplifier (op-amp).  Op-amp has two input terminal, used to compare the input  signal and one output terminal, used to produce output signal  (either 0 or 1) according to the comparison of two input signals.
  • 42. LM324  It is also a comparator IC.  It consist of four Op-amp.
  • 43. MAX 232  It is used to shift the level of voltage when communicate between computer and microcontroller.  Controller TTL logic and logic 1 between 1.5V to 5V. Computer works on CMOS logic 1 between 5.5V to 15V. Since there is no difference in logic 0 in CMOS and TTL but logic 1 of both are different. Hence MAX232 required for level shifting.  MAX comes from Maxim (manufacturer)  232 comes from RS232. It is a protocol (set of rules) supports communication between CMOS and TTL.  It is also called Level Shifter IC.
  • 44. INFRARED SENSOR (IR)  It consist of two LED, one is transmitter (blue LED) and another is receiver (white/black LED).  when we put any obstruction in between these two LEDs their operation affects and produce a certain signal (low or high).
  • 45. RF Transmitter (TX) and Receiver (RX) Module TX (TLP434) Module 1. Antenna 2. Vcc (positive Supply) 3. Data (Data Input) 4. Ground ( Data generation encoding modulation (ASK) transmit (HT12E) (TLP434) (Antenna) RX(RLP434) Module 1. Antenna 2. Ground 3. Ground 4. Vcc 5. Vcc 6. Data 7. Data 8. Ground ( Reception Demodulation Decoding Digital Signal Generation (Antenna) (RLP434) (HT12D) (signal ready to use)
  • 46. Design software PROTEOUS PCS BASOM DESIGN SOFTWARE USED