SlideShare uma empresa Scribd logo
1 de 31
Practical Training Seminar
                              on




By: Tecnocrats Infotech
95408544414


                Tecnocrats Infotech @9540854414
“ An embedded system can be defined as those control systems which are
designed either by microprocessor or microcontroller for a specific tasks. ”
OR
“ An embedded system is some combination of computer hardware & software,
either fixed in capability or programmable, that is specifically designed for a
particular kind of application device. ”




                             Tecnocrats Infotech @9540854414
Important Units Of
microprocessor/controller

 •   CPU: Central Processing Unit
 •   I/O: Input /Output
 •   Bus: Address bus & Data bus
 •   Memory: RAM & ROM
 •   Timer
 •   Interrupt



                    Tecnocrats Infotech @9540854414
Block Diagram of an Embedded System




              Tecnocrats Infotech @9540854414
Digital clock
Moving message display




    DVD player                            Traffic Light
                 Tecnocrats Infotech @9540854414
General-purpose microprocessor

• CPU for Computers
• No RAM, ROM, I/O on CPU chip itself
• Example--Intel’s x86: 8086,8088,80386,80486, Pentium

                      Data Bus                  Many chips on mother
            CPU                                 board
          General-
           Purpose                                                 Serial
            Micro-     RAM          ROM             I/O    Timer   COM
          processor                                 Port            Port

                       Address Bus

               General-Purpose Microprocessor System
                        Tecnocrats Infotech @9540854414
Microcontroller

• A smaller computer.
• On-chip RAM, ROM, I/O ports...
• Example:- Motorola’s 6811, Intel’s 8051 and PIC 16X




       CPU RAM ROM
                                             A single chip
                  Serial
       I/O  Timer COM
       Port       Port

      Microcontroller
                    Tecnocrats Infotech @9540854414
Microprocessor v/s
           Microcontroller
Microprocessor                          Microcontroller
• CPU is stand-alone, RAM,              • CPU, RAM, ROM, I/O and
   ROM, I/O, timer are                    timer are all on a single chip
   separate                             • fix amount of on-chip ROM,
• designer can decide on the              RAM, I/O ports
   amount of ROM, RAM and               • for applications in which
   I/O ports.                             cost, power and space are
• expensive                               critical
• general-purpose                       • single-purpose
• Ex. 8085,8086 mp,                     • Ex. 8051, PIC mc, Motorola
   Motorola 6800, Intel’s 8086,           MC’s, Phillips, etc.
   etc.


                       Tecnocrats Infotech @9540854414
Tecnocrats Infotech @9540854414
The 8051 Microcontroller:
• 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
                       Tecnocrats Infotech @9540854414
Microcontroller 8051 internal Architecture




                  Tecnocrats Infotech @9540854414
Pin Description of the 8051
                         P1.0      1                     40   Vcc
• 8051                   P1.1      2                     39   P0.0(AD0)
                         P1.2      3                     38   P0.1(AD1)
                         P1.3      4                     37   P0.2(AD2)
                         P1.4      5              8051   36   P0.3(AD3)
                         P1.5
                         P1.6
                                   6
                                   7
                                                   IC    35
                                                         34
                                                              P0.4(AD4)
                                                              P0.5(AD5)
                         P1.7      8                     33   P0.6(AD6)
                         RST       9                     32   P0.7(AD7)
                 (RXD)P3.0         10                    31   EA/VPP
                  (TXD)P3.1        11                    30   ALE/PROG
                 (INT0)P3.2        12                    29   PSEN
                 (INT1)P3.3        13                    28   P2.7(A15)
                     (T0)P3.4      14                    27   P2.6(A14)
                     (T1)P3.5      15                    26   P2.5(A13)
                   (WR)P3.6        16                    25   P2.4(A12)
                    (RD)P3.7       17                    24   P2.3(A11)
                       XTAL2       18                    23   P2.2(A10)
                       XTAL1       19                    22   P2.1(A9)
                        GND        20                    21   P2.0(A8)
                Tecnocrats Infotech @9540854414
Pin Description

                                                     Vcc(+5volt)
                                                     Pin - 40



Ground(0 volt)
Pin-20




                   Tecnocrats Infotech @9540854414
Pin Description


                                             Port 0 from
                                             Pin-39 to pin-32




                                            Dual functional

                                        Used to excess both
                                        data & address


          Tecnocrats Infotech @9540854414
Microcontroller 8051
                                        Pin Description



 Port 1 from
 Pin-1 to pin-8




Used as I/O port




                   Tecnocrats Infotech @9540854414
Pin Description



                                      Port 2 from
                                      Pin-21 to pin-28




                                    Used to excess
                                    address & as I/O port



            Tecnocrats Infotech @9540854414
Microcontroller 8051
                                          Pin Description


     Port 3 from
     Pin-10 to Pin-17

 P3.0 RXD
  P3.1 TXD
  P3.2 IN T0
  P3.3 IN T1
   P3.4 T0
  P3.5 T1
  P3.6 WR
  P3.7 RD          Tecnocrats Infotech @9540854414
Pin Description


                                               External memory
  reset


                                               Add. Latch
                                               enable
crystal

                                                  Program
                                                  Store Enable
             Tecnocrats Infotech @9540854414
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)




                           Tecnocrats Infotech @9540854414
Timers/counters
 • 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   e.g., traffic light.




                              Tecnocrats Infotech @9540854414
Timers/Counters

• General 8051 has 2 timer:
  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.




                      Tecnocrats Infotech @9540854414
TMOD Register:




   • Gate : It controls the way by which timer/counter will
      start.
   (set when gate is controlled by hardware)
    • C/T : Counter/Timer select bit.(set for counter)
    • M1 : Mode bit 1.
    • M0 : Mode bit 0.


                     Tecnocrats Infotech @9540854414
Interrupts
              Definition of ‘Interrupt’

 “Event that disrupts the normal execution of a
 program and causes the execution of special
               instructions”




                 Tecnocrats Infotech @9540854414
Interrupts


                   Program




                                               time t



             Tecnocrats Infotech @9540854414
Interrupts
             Interrupt




                               Program




                                                           time t



                         Tecnocrats Infotech @9540854414
Interrupts
               Interrupt




     Program                                                 Program

                      Interrupt Service Routine




                                                                       time t



                           Tecnocrats Infotech @9540854414
Interrupts
 • Internal or External
 • Handling can be
   enabled/disabled
 • Prioritized

 • General 8051:
   o 3x timer interrupts,
   o 2x external interrupts
   o 1x serial port interrupt




                     Tecnocrats Infotech @9540854414
Tecnocrats Infotech @9540854414
External Interrupts



 Pins for
 external
 interrupts

      P3.2 IN T0
      P3.3 IN T1




                   Tecnocrats Infotech @9540854414
Health card
Smart card

                                               Robotics




   ATM

             Tecnocrats Infotech @9540854414
Thank You


                                    Obrigado       Gracia
                                                   s
Danke   Grazie




                 Tecnocrats Infotech @9540854414

Mais conteúdo relacionado

Mais procurados (19)

Atmel
AtmelAtmel
Atmel
 
Microcontroller 8051 basics (part I)
Microcontroller 8051 basics (part I)Microcontroller 8051 basics (part I)
Microcontroller 8051 basics (part I)
 
At89 c51
At89 c51At89 c51
At89 c51
 
At89s51
At89s51At89s51
At89s51
 
Live B tech Projects & Industrial Training @Technogroovy
Live B tech Projects & Industrial Training @Technogroovy Live B tech Projects & Industrial Training @Technogroovy
Live B tech Projects & Industrial Training @Technogroovy
 
At 89s51
At 89s51At 89s51
At 89s51
 
Microcontroller ppt
Microcontroller pptMicrocontroller ppt
Microcontroller ppt
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
dspAt89 s52
dspAt89 s52dspAt89 s52
dspAt89 s52
 
8 hw con-and_intel_hex_file
8 hw con-and_intel_hex_file8 hw con-and_intel_hex_file
8 hw con-and_intel_hex_file
 
8051
80518051
8051
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 
4 io port-programming
4 io port-programming4 io port-programming
4 io port-programming
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
 
At89c4051
At89c4051At89c4051
At89c4051
 
AT89C52 Data sheet
AT89C52 Data sheetAT89C52 Data sheet
AT89C52 Data sheet
 
Energy Metering ICs with Active Real Power
Energy Metering ICs with Active Real PowerEnergy Metering ICs with Active Real Power
Energy Metering ICs with Active Real Power
 
8051 ram org
8051 ram org8051 ram org
8051 ram org
 

Semelhante a B tech Final Year Projects & Embedded Systems Training

8051microcontroller
8051microcontroller 8051microcontroller
8051microcontroller manish080
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller Gaurav Verma
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerAmandeep Alag
 
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputertechbed
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf818Farida
 
Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"surabhii007
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051Moeez Shem
 
Ei502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 MicrocontrollerEi502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 MicrocontrollerDebasis Das
 
Microcontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMicrocontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMitesh Kumar
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051Sadiq Rahim
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051Rashmi
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller featuresTech_MX
 
8051 microcontroller training (2) (sahil gupta 9068557926)
8051 microcontroller training  (2) (sahil gupta   9068557926)8051 microcontroller training  (2) (sahil gupta   9068557926)
8051 microcontroller training (2) (sahil gupta 9068557926)Sahil Gupta
 

Semelhante a B tech Final Year Projects & Embedded Systems Training (20)

8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
 
8051microcontroller
8051microcontroller 8051microcontroller
8051microcontroller
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
 
8051 microcontrollers ch3
8051 microcontrollers ch38051 microcontrollers ch3
8051 microcontrollers ch3
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
 
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf
 
Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"
 
8051 full ppt
8051 full ppt8051 full ppt
8051 full ppt
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Ei502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 MicrocontrollerEi502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Microcontroller-8051.ppt
Microcontroller-8051.pptMicrocontroller-8051.ppt
Microcontroller-8051.ppt
 
8051 microprocessor
8051 microprocessor8051 microprocessor
8051 microprocessor
 
Microcontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMicrocontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumar
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 
Embedded Systems
Embedded SystemsEmbedded Systems
Embedded Systems
 
8051 microcontroller training (2) (sahil gupta 9068557926)
8051 microcontroller training  (2) (sahil gupta   9068557926)8051 microcontroller training  (2) (sahil gupta   9068557926)
8051 microcontroller training (2) (sahil gupta 9068557926)
 

Mais de Technogroovy India

Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd Technogroovy India
 
embedded systems & robotics Projects Based training @Technogroovy
embedded systems & robotics Projects Based training @Technogroovyembedded systems & robotics Projects Based training @Technogroovy
embedded systems & robotics Projects Based training @TechnogroovyTechnogroovy India
 
Buy Embedded Systems Projects Online
Buy Embedded Systems Projects Online Buy Embedded Systems Projects Online
Buy Embedded Systems Projects Online Technogroovy India
 
Embedded Systems & Robotics Projects
Embedded Systems & Robotics Projects Embedded Systems & Robotics Projects
Embedded Systems & Robotics Projects Technogroovy India
 
Microcontroller Based Projects
Microcontroller Based Projects Microcontroller Based Projects
Microcontroller Based Projects Technogroovy India
 
embedded systems course with live projects
embedded systems course with live projects embedded systems course with live projects
embedded systems course with live projects Technogroovy India
 

Mais de Technogroovy India (6)

Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
 
embedded systems & robotics Projects Based training @Technogroovy
embedded systems & robotics Projects Based training @Technogroovyembedded systems & robotics Projects Based training @Technogroovy
embedded systems & robotics Projects Based training @Technogroovy
 
Buy Embedded Systems Projects Online
Buy Embedded Systems Projects Online Buy Embedded Systems Projects Online
Buy Embedded Systems Projects Online
 
Embedded Systems & Robotics Projects
Embedded Systems & Robotics Projects Embedded Systems & Robotics Projects
Embedded Systems & Robotics Projects
 
Microcontroller Based Projects
Microcontroller Based Projects Microcontroller Based Projects
Microcontroller Based Projects
 
embedded systems course with live projects
embedded systems course with live projects embedded systems course with live projects
embedded systems course with live projects
 

Último

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Último (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

B tech Final Year Projects & Embedded Systems Training

  • 1. Practical Training Seminar on By: Tecnocrats Infotech 95408544414 Tecnocrats Infotech @9540854414
  • 2. “ An embedded system can be defined as those control systems which are designed either by microprocessor or microcontroller for a specific tasks. ” OR “ An embedded system is some combination of computer hardware & software, either fixed in capability or programmable, that is specifically designed for a particular kind of application device. ” Tecnocrats Infotech @9540854414
  • 3. Important Units Of microprocessor/controller • CPU: Central Processing Unit • I/O: Input /Output • Bus: Address bus & Data bus • Memory: RAM & ROM • Timer • Interrupt Tecnocrats Infotech @9540854414
  • 4. Block Diagram of an Embedded System Tecnocrats Infotech @9540854414
  • 5. Digital clock Moving message display DVD player Traffic Light Tecnocrats Infotech @9540854414
  • 6. General-purpose microprocessor • CPU for Computers • No RAM, ROM, I/O on CPU chip itself • Example--Intel’s x86: 8086,8088,80386,80486, Pentium Data Bus Many chips on mother CPU board General- Purpose Serial Micro- RAM ROM I/O Timer COM processor Port Port Address Bus General-Purpose Microprocessor System Tecnocrats Infotech @9540854414
  • 7. Microcontroller • A smaller computer. • On-chip RAM, ROM, I/O ports... • Example:- Motorola’s 6811, Intel’s 8051 and PIC 16X CPU RAM ROM A single chip Serial I/O Timer COM Port Port Microcontroller Tecnocrats Infotech @9540854414
  • 8. Microprocessor v/s Microcontroller Microprocessor Microcontroller • CPU is stand-alone, RAM, • CPU, RAM, ROM, I/O and ROM, I/O, timer are timer are all on a single chip separate • fix amount of on-chip ROM, • designer can decide on the RAM, I/O ports amount of ROM, RAM and • for applications in which I/O ports. cost, power and space are • expensive critical • general-purpose • single-purpose • Ex. 8085,8086 mp, • Ex. 8051, PIC mc, Motorola Motorola 6800, Intel’s 8086, MC’s, Phillips, etc. etc. Tecnocrats Infotech @9540854414
  • 10. The 8051 Microcontroller: • 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 Tecnocrats Infotech @9540854414
  • 11. Microcontroller 8051 internal Architecture Tecnocrats Infotech @9540854414
  • 12. Pin Description of the 8051 P1.0 1 40 Vcc • 8051 P1.1 2 39 P0.0(AD0) P1.2 3 38 P0.1(AD1) P1.3 4 37 P0.2(AD2) P1.4 5 8051 36 P0.3(AD3) P1.5 P1.6 6 7 IC 35 34 P0.4(AD4) P0.5(AD5) P1.7 8 33 P0.6(AD6) RST 9 32 P0.7(AD7) (RXD)P3.0 10 31 EA/VPP (TXD)P3.1 11 30 ALE/PROG (INT0)P3.2 12 29 PSEN (INT1)P3.3 13 28 P2.7(A15) (T0)P3.4 14 27 P2.6(A14) (T1)P3.5 15 26 P2.5(A13) (WR)P3.6 16 25 P2.4(A12) (RD)P3.7 17 24 P2.3(A11) XTAL2 18 23 P2.2(A10) XTAL1 19 22 P2.1(A9) GND 20 21 P2.0(A8) Tecnocrats Infotech @9540854414
  • 13. Pin Description Vcc(+5volt) Pin - 40 Ground(0 volt) Pin-20 Tecnocrats Infotech @9540854414
  • 14. Pin Description Port 0 from Pin-39 to pin-32 Dual functional Used to excess both data & address Tecnocrats Infotech @9540854414
  • 15. Microcontroller 8051 Pin Description Port 1 from Pin-1 to pin-8 Used as I/O port Tecnocrats Infotech @9540854414
  • 16. Pin Description Port 2 from Pin-21 to pin-28 Used to excess address & as I/O port Tecnocrats Infotech @9540854414
  • 17. Microcontroller 8051 Pin Description Port 3 from Pin-10 to Pin-17 P3.0 RXD P3.1 TXD P3.2 IN T0 P3.3 IN T1 P3.4 T0 P3.5 T1 P3.6 WR P3.7 RD Tecnocrats Infotech @9540854414
  • 18. Pin Description External memory reset Add. Latch enable crystal Program Store Enable Tecnocrats Infotech @9540854414
  • 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) Tecnocrats Infotech @9540854414
  • 20. Timers/counters • 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 e.g., traffic light. Tecnocrats Infotech @9540854414
  • 21. Timers/Counters • General 8051 has 2 timer: 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. Tecnocrats Infotech @9540854414
  • 22. TMOD Register: • Gate : It controls the way by which timer/counter will start. (set when gate is controlled by hardware) • C/T : Counter/Timer select bit.(set for counter) • M1 : Mode bit 1. • M0 : Mode bit 0. Tecnocrats Infotech @9540854414
  • 23. Interrupts Definition of ‘Interrupt’ “Event that disrupts the normal execution of a program and causes the execution of special instructions” Tecnocrats Infotech @9540854414
  • 24. Interrupts Program time t Tecnocrats Infotech @9540854414
  • 25. Interrupts Interrupt Program time t Tecnocrats Infotech @9540854414
  • 26. Interrupts Interrupt Program Program Interrupt Service Routine time t Tecnocrats Infotech @9540854414
  • 27. Interrupts • Internal or External • Handling can be enabled/disabled • Prioritized • General 8051: o 3x timer interrupts, o 2x external interrupts o 1x serial port interrupt Tecnocrats Infotech @9540854414
  • 29. External Interrupts Pins for external interrupts P3.2 IN T0 P3.3 IN T1 Tecnocrats Infotech @9540854414
  • 30. Health card Smart card Robotics ATM Tecnocrats Infotech @9540854414
  • 31. Thank You Obrigado Gracia s Danke Grazie Tecnocrats Infotech @9540854414

Notas do Editor

  1. Intel ’ s x86: 8086,8088,80386,80486, Pentium Motorola ’ s 680x0: 68000, 68010, 68020,68030,6040
  2. versatility 多用途的 : any number of applications for PC