seminar embedded lknow

Upload: deepanih

Post on 05-Apr-2018

229 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 SEMINAR Embedded Lknow

    1/29

    SEMINAR

    ONEMBEDDED SYSTEMS

  • 7/31/2019 SEMINAR Embedded Lknow

    2/29

    About CETPA InfoTech

    CETPA InfoTech Pvt. Ltd., a Indian MultinationalISO 9001 : 2008 Certified company working inthe field of Software & Embedded Development .CETPA is COMPUTER EDUCATION ANDTECHNOLOGY PROMOTION ASSOCIATION.

    CETPA is a group of professionals who areworking for the promotion of technology .

    It gives Summer/ Industrial Training Program inEmbedded System, Advance Embedded System,MATLAB, ANSYS, AutoCAD, C & C++,ANDROID.

  • 7/31/2019 SEMINAR Embedded Lknow

    3/29

    Overview

    Introduction to Embedded Systems

    Applications of Embedded Systems

    8051 Micro-controller

    Addressing Modes of 8051 Micro-controller Micro-controller (8051) Interfacing

    Advantages of Embedded Systems

    Conclusion

  • 7/31/2019 SEMINAR Embedded Lknow

    4/29

    Introduction to Embedded Systems

    Definition: An Embedded System is one that hascomputer hardware with software embedded in it asone of its important components.

    SOFTWARE PROGRAM

    #include #use delay (clock=20000000)#byte PORTB=6main(){set_tris_b(0);portb=255; //decimaldelay_ms(1000);portb=0x55; //hexadecimaldelay_ms(1000);portb=0b10101010; //binary

    delay_ms(500);}

    Its software embeds inROM (Read OnlyMemory). It does not needsecondary memories as in

    a computer

    HARDWARE

  • 7/31/2019 SEMINAR Embedded Lknow

    5/29

    Embedded system employs a combination ofsoftware & hardware to perform a specific

    function. Embedded systems are generally based on

    Micro-Processor, Micro-Controller .

    Television, Radio, CD player, Robots, Microwave

    Oven, Security systems, Printers, Wirelessphones are examples of Embedded Systems.

  • 7/31/2019 SEMINAR Embedded Lknow

    6/29

    Embedded SystemGeneral Block Diagram

  • 7/31/2019 SEMINAR Embedded Lknow

    7/29

    Embedded systems Applications

    a) Biomedical Instrumentation ECGRecorder, Imaging systems, patient monitorsystem.

    b) Communication systems Pagers, cellularphones, Network routers, fax , Satellites.

    c) Computer peripheralsPrinter, scanner,keyboards, displays, modems, hard disk drives,

    CD-ROM drives .

  • 7/31/2019 SEMINAR Embedded Lknow

    8/29

    d) Industrial Instrumentation Process

    controller, DC motor controller, robotic systems

    e) Aerospace : Navigation systems, automaticlanding systems, flight attitude controls,

    RADAR, SONAR, space exploration (e.g. TheMars Pathfinder)

  • 7/31/2019 SEMINAR Embedded Lknow

    9/29

    A THINKING ROBOT EQUIPPED WITHSOPHISTICATED LASER EYES AND AUTOMATEDPROGRAMMING REACTED TO UNPLANNEDEVENTS ON THE SURFACE OF MARS

    SOJOURNER ROVER

  • 7/31/2019 SEMINAR Embedded Lknow

    10/29

    8051 Micro-controller

    A microcontroller is a single silicon chip withmemory and Input/Output peripherals on it.Hence a microcontroller is also popularly knownas a single chip computer. Normally, a single

    microcomputer has the following features :

    Arithmetic and logic unit

    Memory for storing program

    EEPROM for nonvolatile data storage

    RAM for storing variables and special functionregisters

    Input/output ports

  • 7/31/2019 SEMINAR Embedded Lknow

    11/29

    Timers and counters

    A/D converter

    Circuits for reset, power up, serial programming,debugging

    Instruction decoder and a timing and control unit

    Serial communication port

    It is like a single chip computers that is oftenembedded into other systems to function as

    processing/controlling unit.

    Fig. 8051 Micro-controller

  • 7/31/2019 SEMINAR Embedded Lknow

    12/29

    Block Diagram of Micro-controller

    CPU RAM ROM

    I/OPort

    Timer SerialCOMPort

    A Single Chip

    Popular Micro-controllers are:

    Intel- 8048, 8051,80186,80188

    Motorola-MC14500,68HC05, 683xx

    PIC-16F876A, Z8 (Zilog)

  • 7/31/2019 SEMINAR Embedded Lknow

    13/29

    Features of 8051Micro-controller

    FEATURE QUANTITY

    ROM 4K bytes

    RAM 128 bytes

    Timer 2

    I/O pins 32

    Serial port 1

    Interruptsources

    6

  • 7/31/2019 SEMINAR Embedded Lknow

    14/29

    Addressing Modes of 8051

    Micro-controller

    Immediate Addressing Mode

    Register Addressing Mode

    Direct Addressing Mode

    Indirect Addressing Mode

    Indexed Addressing Mode

  • 7/31/2019 SEMINAR Embedded Lknow

    15/29

    Immediate Addressing Mode :Instructions using #; e.g. : MOV A, #n

    MOV Rr,#n

    Register Addressing Mode:Registers A and R0 to R7;e.g. : MOV A ,Rr

    MOV Rr , A

    Direct Addressing Mode:All 128 bytes (00h to 7Fh) of RAM and SFRs (80to FFh) may be accessed directly. e.g. :

    MOV A,ADD MOV ADD,A MOV Rr , ADD MOV ADD , #n MOV ADD1,ADD2

  • 7/31/2019 SEMINAR Embedded Lknow

    16/29

    Indirect Addressing Mode

    Registers R0 or R1 used as data pointers (00h to 7Fh)

    @ symbol is used

    MOV @Rp,#n

    MOV @Rp,ADD

    MOV @Rp,A

    MOV ADD,@Rp MOV A,@Rp

    Indexed Addressing Mode

    The MOVC instruction is used along with DPTR (DataPointer) and the Accumulator; A

    MOVC A,@A+DPTR

  • 7/31/2019 SEMINAR Embedded Lknow

    17/29

    Micro-controller Interfacing

    The following interfacing can be done withmicro-controller (8051):

    1) LEDs

    2) LCD3) Seven Segment and many more

  • 7/31/2019 SEMINAR Embedded Lknow

    18/29

    Features

    80C51 Central Processing Unit.

    5 V Operating voltages from 0 MHz to 40 MHz.

    16/32/64 KB of on-chip Flash user code memorywith ISP (Flash programmer).

    Supports 12-clock (default) or 6-clock modeselection via software or ISP.

    SPI (Serial Peripheral Interface) and enhancedUART.

    Four 8-bit I/O ports with three high-current Port1 pins.

    Three 16-bit timers/counters.

  • 7/31/2019 SEMINAR Embedded Lknow

    19/29

    LEDs Interfacing

    A light-emitting diode (LED) is asemiconductor light source. LEDs are used asindicator lamps in many devices, and areincreasingly used for lighting.

  • 7/31/2019 SEMINAR Embedded Lknow

    20/29

    The LED is based on the semiconductor diode.

    When a diode is forward biased, electrons areable to recombine with holes within the device,releasing energy in the form of photons. This

    effect is called electroluminescence

    The LEDs in a 7 segment display may beconnected in common anode or in common-

    cathode configuration.

  • 7/31/2019 SEMINAR Embedded Lknow

    21/29

    LED Interfacing with 8051

  • 7/31/2019 SEMINAR Embedded Lknow

    22/29

    LCD Interfacing

  • 7/31/2019 SEMINAR Embedded Lknow

    23/29

    LCD Interfacing with 8051

  • 7/31/2019 SEMINAR Embedded Lknow

    24/29

    Seven Segment Interfacing

    Seven-segment displays contains thearrangement of the LEDs in Eight (8) passion,and a Dot (.) with a common electrode, lead(Anode or Cathode).

  • 7/31/2019 SEMINAR Embedded Lknow

    25/29

    Types of Seven Segment

    Common Cathode (CC)All the 8 anode legs uses only one cathode, whichis common.

    Common Anode (CA)The common leg for the entire cathode is ofAnode type.

  • 7/31/2019 SEMINAR Embedded Lknow

    26/29

    Advantages of EmbeddedSystems

    Low cost

    Compact

    Speed High reliability

    Rugged

  • 7/31/2019 SEMINAR Embedded Lknow

    27/29

    Conclusion

    Embedded systems have virtually entered everysphere of our life and in the field of Electronics.

    The possibilities in this field are only limited by

    the imagination.

    Many of the embedded systems are managed byhuman controllers or by man machine interface

    for example a cell phone, a TV screen or a PCinterface. It is this MMI that often represents themost costly investment in the systemsdevelopment, in terms of both time and money.

  • 7/31/2019 SEMINAR Embedded Lknow

    28/29

    ANY QUERIES ????

  • 7/31/2019 SEMINAR Embedded Lknow

    29/29

    THANKS