training report 2k12 [autosaved]1

Upload: ashish-kr

Post on 04-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    1/29

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    2/29

    Basic Robotics

    AndEmbedded System

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    3/29

    Topics

    Embedded system

    8051 microcontroller Specifications

    Programming a microcontroller

    Simulation and Burning Application of Embedded System

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    4/29

    Embedded System

    Hardware:

    Single Chip Capable of

    Performing a specificSet of Tasks

    Choosing Chip

    Interfacing various

    interaction devices.

    Software:

    The Set of instructions

    Given to the chip.

    Which language to

    Choose

    Will the chip understand

    the language

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    5/29

    Embedded System

    Microprocessor

    No RAM

    No ROM

    No I/O ports.

    Microcontroller

    CPU (microprocessor) RAM

    ROM

    I/O ports

    Timer

    ADC and other

    peripherals

    Choosing a Chip

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    6/29

    Embedded System

    Which Micro

    Controller ?

    8051

    ARM

    AVR

    PIC

    Other Options

    VLSI technology FDGA

    PLC

    SCADA

    Choosing a Chip

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    7/29

    Topics

    Embedded system

    8051 microcontroller Specifications

    Programming a microcontroller

    Simulation and Burning Application of Embedded System

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    8/29

    8051 uC

    8 bit ALU

    4 I/O port 8 bit each

    128 byte RAM

    4K ROM

    2 Timers

    1 SID /SOD Port

    6 interrupt lines

    8051 specifications

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    9/29

    8051 uC8051 Pins Diagram

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    10/29

    8051 uC

    8051 Programming

    1. Ports Programming

    2. Timers programming

    3. Serial data communication

    programming

    4. Interfacing External RAM and

    ROM

    5. Use of interrupts for special

    purpose.

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    11/29

    Topics

    Embedded system

    8051 microcontroller Specifications

    Programming a microcontroller

    Simulation and Burning

    Application of Embedded System

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    12/29

    8051 Programming

    Choice of Language

    1. C Language is used for

    programming

    2. This was written in KIEL

    software and

    3. This is converted to hex file

    and then used by 8051

    Other Choices of

    language

    Assembly

    C++

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    13/29

    8051 Programming

    Integrated Development Environment

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    14/29

    8051 Programming

    Integrated

    Development

    Environment

    Editor Assembler

    Linker

    Object to hexconvertor

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    15/29

    8051 Programming

    Writing a programm in KEIL

    Open KEIL software

    Select project>new uVeision project

    Give project a nameNew window will appear

    Select your microcontroller (e.g.NXP

    80c31

    Now click file> new

    Give file name a SAMPLE_NAME.c

    Write the program.

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    16/29

    8051 Programming

    Writing a programm in KEILInterfacing a FND (7 segment display)

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    17/29

    8051 Programming

    Program in KEIL

    Interfacing LCD (16x2)

    E

    R/W

    RS

    DB7DB0

    LCD

    controller

    communications

    bus

    Microcontrolle

    r

    8

    LCD Module

    80c51

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    18/29

    8051 Programming

    Programs In KIELKeyboard interfacing

    C1

    C2

    C3

    C4

    R1

    R2

    R3

    R4

    0123

    567

    DEF

    9AB

    C

    8

    4

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    19/29

    8051 Programming

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    20/29

    Topics

    Embedded system

    8051 microcontroller Specifications

    Programming a microcontroller

    Simulation and Burning

    Application of Embedded System

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    21/29

    Embedded System

    Simulation and Burning

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    22/29

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    23/29

    Embedded System

    Burning

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    24/29

    Embedded System

    Burning

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    25/29

    Embedded System

    Burning

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    26/29

    Topics

    Embedded system

    8051 microcontroller Specifications

    Programming a microcontroller

    Simulation and Burning

    Application of Embedded System

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    27/29

    Embedded System

    Application

    Air conditioner

    ATM machine

    Battery charger

    Digital camera

    DVD player

    Fax machine

    Home security system

    Mobile phone

    Modem

    Navigation system

    PDA

    Photocopier

    Printer

    Router

    Scanner

    TV

    Video game console

    Wearable computer

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    28/29

    THANKS

  • 7/31/2019 Training REPORT 2K12 [Autosaved]1

    29/29

    QUESTIONS?