SlideShare a Scribd company logo
1 of 18
Download to read offline
The 8051 Microcontroller and
    Embedded Systems

                     CHAPTER 0
                     INTRODUCTION TO
                     COMPUTING




1
Before you can drive the Robotic Car, you must
    pass your HW Code Test then your PDL.




2
OBJECTIVES
       Convert any number from base 2, base 10, or base 16 to either of the other two bases
       Add and subtract hex numbers
       Add binary numbers
       Represent any binary number in 2's complement
       Represent an alphanumeric string in ASCII code
       Describe logical operations AND, OR, NOT, XOR, NAND, NOR
       Use logic gates to diagram simple circuits
       Explain the difference between a bit, a nibble, a byte, and a word
       Give precise mathematical definitions of the terms kilobyte, megabyte, gigabyte, and
        terabyte.
       Explain the difference between RAM and ROM and describe their use
       Describe the purpose of the major components of a computer system
       List the three types of buses found in computers and describe the purpose of each type of
        bus
       Describe the role of the CPU in computer systems
       List the major components of CPU and describe the purpose of each




3
SECTION 0.2: DIGITAL PRIMER

       Binary logic




         Figure 0–2   Binary Signals
4
SECTION 0.2: DIGITAL PRIMER

       Logic gates




5
SECTION 0.2: DIGITAL PRIMER

       Logic design using gates




          Figure 0–3   Two Implementations of a Half-Adder
6
SECTION 0.2: DIGITAL PRIMER




7       Figure 0–4   Block Diagram of a Half-Adder
SECTION 0.2: DIGITAL PRIMER




         Figure 0–5   Full-Adder Built from a Half-Adder
8
SECTION 0.2: DIGITAL PRIMER




9       Figure 0–6   3-Bit Adder Using 3 Full-Adders
SECTION 0.2: DIGITAL PRIMER




             Figure 0–7   Address Decoders

10
SECTION 0.2: DIGITAL PRIMER




             Figure 0–8   D Flip-Flops

11
SECTION 0.3: INSIDE THE COMPUTER

        Some important terminology




12
SECTION 0.3: INSIDE THE COMPUTER

        Internal organization of computers




13                 Figure 0–9   Inside the Computer
SECTION 0.3: INSIDE THE COMPUTER

        More about the data bus




14
SECTION 0.3: INSIDE THE COMPUTER

        More about the address bus




              Figure 0–10   Internal Organization of Computers
15
SECTION 0.3: INSIDE THE COMPUTER

        Inside CPUs




     Figure 0–11
     Internal Block Diagram of a CPU
16
SECTION 0.3: INSIDE THE COMPUTER

        Internal working of computers




17
Next …

        Lecture Problems Textbook Chapter 0
         –   Answer as many questions as you can and
             submit via MeL before the end of the lecture.
             (HINT: Do the easy questions first)


        Proteus Exercise Textbook Chapter 0
         –   Do as much of the Proteus exercise as you can
             and submit via MeL before the end of the lecture.


18

More Related Content

What's hot

Uccn1003 -may2010_-_mid_term_01_-_part2of2
Uccn1003  -may2010_-_mid_term_01_-_part2of2Uccn1003  -may2010_-_mid_term_01_-_part2of2
Uccn1003 -may2010_-_mid_term_01_-_part2of2Shu Shin
 
Network layer,ipv4, Classful Addressing,notations, Classless addressing,class...
Network layer,ipv4, Classful Addressing,notations, Classless addressing,class...Network layer,ipv4, Classful Addressing,notations, Classless addressing,class...
Network layer,ipv4, Classful Addressing,notations, Classless addressing,class...shamishekhar
 
Splitting A Class C Network Into 4 Subnets
Splitting A Class C Network Into 4 SubnetsSplitting A Class C Network Into 4 Subnets
Splitting A Class C Network Into 4 Subnetstmavroidis
 
Subnetting
SubnettingSubnetting
Subnettingswascher
 
Chap 02
Chap 02Chap 02
Chap 02IGNOU
 
Ip address concepts
Ip address conceptsIp address concepts
Ip address conceptsmyrajendra
 
Bt0068 computer organization and architecture
Bt0068 computer organization and architecture Bt0068 computer organization and architecture
Bt0068 computer organization and architecture Techglyphs
 
Configuration of bus topology in cisco packet tracer by Tanjilur Rahman
Configuration of bus topology in cisco packet tracer by Tanjilur RahmanConfiguration of bus topology in cisco packet tracer by Tanjilur Rahman
Configuration of bus topology in cisco packet tracer by Tanjilur RahmanTanjilurRahman6
 
Midterm review questions ans(networking)
Midterm review questions ans(networking)Midterm review questions ans(networking)
Midterm review questions ans(networking)welcometofacebook
 
Ccna exam 640 802
Ccna exam 640 802Ccna exam 640 802
Ccna exam 640 802ccnaguide
 
Chap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packetsChap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packetsNoctorous Jamal
 
Classless addressing
Classless addressingClassless addressing
Classless addressingIqra Abbas
 

What's hot (20)

Uccn1003 -may2010_-_mid_term_01_-_part2of2
Uccn1003  -may2010_-_mid_term_01_-_part2of2Uccn1003  -may2010_-_mid_term_01_-_part2of2
Uccn1003 -may2010_-_mid_term_01_-_part2of2
 
Network layer,ipv4, Classful Addressing,notations, Classless addressing,class...
Network layer,ipv4, Classful Addressing,notations, Classless addressing,class...Network layer,ipv4, Classful Addressing,notations, Classless addressing,class...
Network layer,ipv4, Classful Addressing,notations, Classless addressing,class...
 
Splitting A Class C Network Into 4 Subnets
Splitting A Class C Network Into 4 SubnetsSplitting A Class C Network Into 4 Subnets
Splitting A Class C Network Into 4 Subnets
 
Classes of ip addresses
Classes of ip addressesClasses of ip addresses
Classes of ip addresses
 
Day 5.5 subnetting
Day 5.5 subnettingDay 5.5 subnetting
Day 5.5 subnetting
 
C I D R
C I D RC I D R
C I D R
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
 
Subnetting
SubnettingSubnetting
Subnetting
 
Chap 02
Chap 02Chap 02
Chap 02
 
Ip address concepts
Ip address conceptsIp address concepts
Ip address concepts
 
Ch05
Ch05Ch05
Ch05
 
Bt0068 computer organization and architecture
Bt0068 computer organization and architecture Bt0068 computer organization and architecture
Bt0068 computer organization and architecture
 
13788 3
13788 313788 3
13788 3
 
Configuration of bus topology in cisco packet tracer by Tanjilur Rahman
Configuration of bus topology in cisco packet tracer by Tanjilur RahmanConfiguration of bus topology in cisco packet tracer by Tanjilur Rahman
Configuration of bus topology in cisco packet tracer by Tanjilur Rahman
 
Midterm review questions ans(networking)
Midterm review questions ans(networking)Midterm review questions ans(networking)
Midterm review questions ans(networking)
 
Ccna guide
Ccna guideCcna guide
Ccna guide
 
Ccna exam 640 802
Ccna exam 640 802Ccna exam 640 802
Ccna exam 640 802
 
Chap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packetsChap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packets
 
Classless addressing
Classless addressingClassless addressing
Classless addressing
 
IP classes and subnetting.
IP classes and subnetting.IP classes and subnetting.
IP classes and subnetting.
 

Viewers also liked

An Entire Concept of Embedded systems
An Entire Concept of Embedded systems An Entire Concept of Embedded systems
An Entire Concept of Embedded systems Prabhakar Captain
 
RF based Wireless Robot using 8051 Microcontroller
RF based Wireless Robot using 8051 MicrocontrollerRF based Wireless Robot using 8051 Microcontroller
RF based Wireless Robot using 8051 MicrocontrollerRahul Kumar
 
Microcontroller in automobile and applications
Microcontroller in automobile and applicationsMicrocontroller in automobile and applications
Microcontroller in automobile and applicationsKartik Kalpande Patil
 
Adaptive Cruise Control, Electronic Brake Force Distribution,Traction Control...
Adaptive Cruise Control, Electronic Brake Force Distribution,Traction Control...Adaptive Cruise Control, Electronic Brake Force Distribution,Traction Control...
Adaptive Cruise Control, Electronic Brake Force Distribution,Traction Control...Shubham Thakur
 
robotics and embedded system ppt
robotics and embedded system pptrobotics and embedded system ppt
robotics and embedded system pptNilgiri publicity
 

Viewers also liked (9)

Embedded systemppt2343
Embedded systemppt2343Embedded systemppt2343
Embedded systemppt2343
 
An Entire Concept of Embedded systems
An Entire Concept of Embedded systems An Entire Concept of Embedded systems
An Entire Concept of Embedded systems
 
RF based Wireless Robot using 8051 Microcontroller
RF based Wireless Robot using 8051 MicrocontrollerRF based Wireless Robot using 8051 Microcontroller
RF based Wireless Robot using 8051 Microcontroller
 
EBD ppt
EBD pptEBD ppt
EBD ppt
 
Microcontroller in automobile and applications
Microcontroller in automobile and applicationsMicrocontroller in automobile and applications
Microcontroller in automobile and applications
 
Adaptive Cruise Control, Electronic Brake Force Distribution,Traction Control...
Adaptive Cruise Control, Electronic Brake Force Distribution,Traction Control...Adaptive Cruise Control, Electronic Brake Force Distribution,Traction Control...
Adaptive Cruise Control, Electronic Brake Force Distribution,Traction Control...
 
robotics and embedded system ppt
robotics and embedded system pptrobotics and embedded system ppt
robotics and embedded system ppt
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
 

Similar to Chap0

Eee iv-microcontrollers [10 es42]-assignment
Eee iv-microcontrollers [10 es42]-assignmentEee iv-microcontrollers [10 es42]-assignment
Eee iv-microcontrollers [10 es42]-assignmentGopinath.B.L Naidu
 
Question bank 15cs34 co
Question bank 15cs34  coQuestion bank 15cs34  co
Question bank 15cs34 coanandgudnavar
 
Module_1_Introduction to robotic and microcontroller.ppt
Module_1_Introduction to robotic and microcontroller.pptModule_1_Introduction to robotic and microcontroller.ppt
Module_1_Introduction to robotic and microcontroller.pptmichealfajobi7
 
A10 microprocessor & microcontrollers ( eee, ece & ecm )
A10 microprocessor & microcontrollers ( eee, ece & ecm )A10 microprocessor & microcontrollers ( eee, ece & ecm )
A10 microprocessor & microcontrollers ( eee, ece & ecm )Abhinay Potlabathini
 
108EN Electrical and Electronic scienceDesign, Simulation .docx
108EN Electrical and Electronic scienceDesign, Simulation .docx108EN Electrical and Electronic scienceDesign, Simulation .docx
108EN Electrical and Electronic scienceDesign, Simulation .docxpaynetawnya
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manualDhaval Shukla
 
Embedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower BotEmbedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower BotEr. Raju Bhardwaj
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 
Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01cairo university
 
Combinational Circuits
Combinational CircuitsCombinational Circuits
Combinational CircuitsDilum Bandara
 
IC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design System
IC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design SystemIC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design System
IC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design SystemIOSRJVSP
 
C10ComputerEngg.pptx
C10ComputerEngg.pptxC10ComputerEngg.pptx
C10ComputerEngg.pptxvijayapraba1
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28rajeshkvdn
 

Similar to Chap0 (20)

Eee iv-microcontrollers [10 es42]-assignment
Eee iv-microcontrollers [10 es42]-assignmentEee iv-microcontrollers [10 es42]-assignment
Eee iv-microcontrollers [10 es42]-assignment
 
Bscit winter 2013
Bscit winter 2013Bscit winter 2013
Bscit winter 2013
 
Question bank 15cs34 co
Question bank 15cs34  coQuestion bank 15cs34  co
Question bank 15cs34 co
 
Cs8591 qb
Cs8591 qbCs8591 qb
Cs8591 qb
 
Instrumentation II : IOE TU
Instrumentation II : IOE TU Instrumentation II : IOE TU
Instrumentation II : IOE TU
 
Module_1_Introduction to robotic and microcontroller.ppt
Module_1_Introduction to robotic and microcontroller.pptModule_1_Introduction to robotic and microcontroller.ppt
Module_1_Introduction to robotic and microcontroller.ppt
 
A10 microprocessor & microcontrollers ( eee, ece & ecm )
A10 microprocessor & microcontrollers ( eee, ece & ecm )A10 microprocessor & microcontrollers ( eee, ece & ecm )
A10 microprocessor & microcontrollers ( eee, ece & ecm )
 
108EN Electrical and Electronic scienceDesign, Simulation .docx
108EN Electrical and Electronic scienceDesign, Simulation .docx108EN Electrical and Electronic scienceDesign, Simulation .docx
108EN Electrical and Electronic scienceDesign, Simulation .docx
 
Co question bank.docx (1)
Co question bank.docx (1)Co question bank.docx (1)
Co question bank.docx (1)
 
project 3 full report
project 3 full reportproject 3 full report
project 3 full report
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manual
 
Embedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower BotEmbedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower Bot
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Ee353 chap1 1.0
Ee353 chap1 1.0Ee353 chap1 1.0
Ee353 chap1 1.0
 
Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01
 
Combinational Circuits
Combinational CircuitsCombinational Circuits
Combinational Circuits
 
Bidirect visitor counter
Bidirect visitor counterBidirect visitor counter
Bidirect visitor counter
 
IC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design System
IC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design SystemIC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design System
IC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design System
 
C10ComputerEngg.pptx
C10ComputerEngg.pptxC10ComputerEngg.pptx
C10ComputerEngg.pptx
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
 

Chap0

  • 1. The 8051 Microcontroller and Embedded Systems CHAPTER 0 INTRODUCTION TO COMPUTING 1
  • 2. Before you can drive the Robotic Car, you must pass your HW Code Test then your PDL. 2
  • 3. OBJECTIVES  Convert any number from base 2, base 10, or base 16 to either of the other two bases  Add and subtract hex numbers  Add binary numbers  Represent any binary number in 2's complement  Represent an alphanumeric string in ASCII code  Describe logical operations AND, OR, NOT, XOR, NAND, NOR  Use logic gates to diagram simple circuits  Explain the difference between a bit, a nibble, a byte, and a word  Give precise mathematical definitions of the terms kilobyte, megabyte, gigabyte, and terabyte.  Explain the difference between RAM and ROM and describe their use  Describe the purpose of the major components of a computer system  List the three types of buses found in computers and describe the purpose of each type of bus  Describe the role of the CPU in computer systems  List the major components of CPU and describe the purpose of each 3
  • 4. SECTION 0.2: DIGITAL PRIMER  Binary logic Figure 0–2 Binary Signals 4
  • 5. SECTION 0.2: DIGITAL PRIMER  Logic gates 5
  • 6. SECTION 0.2: DIGITAL PRIMER  Logic design using gates Figure 0–3 Two Implementations of a Half-Adder 6
  • 7. SECTION 0.2: DIGITAL PRIMER 7 Figure 0–4 Block Diagram of a Half-Adder
  • 8. SECTION 0.2: DIGITAL PRIMER Figure 0–5 Full-Adder Built from a Half-Adder 8
  • 9. SECTION 0.2: DIGITAL PRIMER 9 Figure 0–6 3-Bit Adder Using 3 Full-Adders
  • 10. SECTION 0.2: DIGITAL PRIMER Figure 0–7 Address Decoders 10
  • 11. SECTION 0.2: DIGITAL PRIMER Figure 0–8 D Flip-Flops 11
  • 12. SECTION 0.3: INSIDE THE COMPUTER  Some important terminology 12
  • 13. SECTION 0.3: INSIDE THE COMPUTER  Internal organization of computers 13 Figure 0–9 Inside the Computer
  • 14. SECTION 0.3: INSIDE THE COMPUTER  More about the data bus 14
  • 15. SECTION 0.3: INSIDE THE COMPUTER  More about the address bus Figure 0–10 Internal Organization of Computers 15
  • 16. SECTION 0.3: INSIDE THE COMPUTER  Inside CPUs Figure 0–11 Internal Block Diagram of a CPU 16
  • 17. SECTION 0.3: INSIDE THE COMPUTER  Internal working of computers 17
  • 18. Next …  Lecture Problems Textbook Chapter 0 – Answer as many questions as you can and submit via MeL before the end of the lecture. (HINT: Do the easy questions first)  Proteus Exercise Textbook Chapter 0 – Do as much of the Proteus exercise as you can and submit via MeL before the end of the lecture. 18