final [compatibility mode]

Upload: wahab-uddin-nazar

Post on 30-May-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 Final [Compatibility Mode]

    1/32

    Supervised By: En rAbdulRafa Khatri

    Wahab uddin Nazar (GL) 06ES56

    Sami Illahi AGL 06ES50

    Supervised By:Final Year Poject/Thesis Group

    Wasim Abbas 06ES51

    Sharyar Jamali 06ES11

    Latif gul 06ES20

  • 8/14/2019 Final [Compatibility Mode]

    2/32

    Controllingthecomputerremotelyw y

    Almosteverybodytodayisusedtooperatingaremotecon ro .

    TV

    Airconditioner

  • 8/14/2019 Final [Compatibility Mode]

    3/32

    Continue

    Thissmallessentialdevicecalledremotecontrolis

    notsocommoninthecomputerworld

    Eachdaythecomputerisusedmoreandmoreasa

    , , , ,

    photographs

    includedwiththeappliancesthecomputeris

    emulating?

    Thepurpose

    of

    this

    project

    is

    to

    construct

    avery

    differentexistingsolutionssoastocontrolthe

    .

  • 8/14/2019 Final [Compatibility Mode]

    4/32

    Ob ectivesand

    Aims

    launchanapplication,volumecontrol,stop,

    play pausetypeofdifferentoperationsusingTVremote

    fromthedistance.

    ThisprojectcanbeextendedtocontrolPC asaremote

    mouse

  • 8/14/2019 Final [Compatibility Mode]

    5/32

    Methodolo : Option1:AddanIrDAporttothecomputer

    Option2:Transferdatabetweenanelectronic

  • 8/14/2019 Final [Compatibility Mode]

    6/32

    ThisprojectisanimplementationofRC5remote

    receptiononan8051microcontroller.

    T ereceive co eis eco e an senttot ePC

    remotesoftwarewritteninVisualBasic.

    pressed.

  • 8/14/2019 Final [Compatibility Mode]

    7/32

    Hardwareand

    software

    to

    be

    used

    HARDWARE:

    AT89C2051MICROCONTROLLER

    MAX232

    TSOP1738IR

    RECEIVER

    TVREMOTE

    11.0592MHzCRYSTAL

    PCCOM

    PORT

    CONNECTOR

  • 8/14/2019 Final [Compatibility Mode]

    8/32

    VisualBasic

    6.0Thirdgenerationeventdrivenprogramminglanguageand

    integrateddevelopmentenvironment(IDE)fromMicrosoftforitsCOMprogramm ngmo e .VB sa socons ere are at ve yeasytolearnanduseprogramminglanguage,becauseofitsgraphical

    development

    features

    and

    BASIC

    heritage.

    The Vision IDE from Keil combines project management, makefacilities, source code editing, program debugging, and completesimulation in one powerful environment. The Vision development

    platform is easyto

    use and it helps you quickly create embedded

    programs that work. The Vision editor and debugger are integratedin a single application that provides a seamless embedded project

    .

  • 8/14/2019 Final [Compatibility Mode]

    9/32

    Testin

    Technolo iesused:

    Checking PortusinghyperterminalofPC

    Infraredsensortestorcircuit

    RC5

    decoder

    implementing

    on

    8051

    microcontroller

  • 8/14/2019 Final [Compatibility Mode]

    10/32

    Whatcontribution

    would

    the

    ro ect

    make?:

    While using media files, we can control its different

    operations from the distance.

    This project makes us realize that there is a whole new

    world lives on printed circuit boardsand probably more efficient.

    It brings us one more step closer to the future world and

    u s our con ence.

  • 8/14/2019 Final [Compatibility Mode]

    11/32

  • 8/14/2019 Final [Compatibility Mode]

    12/32

    Microcontroller AT8 C20 1:

    Features:

    2KBytes

    of

    Reprogrammable

    Flash

    Memory

    Endurance:10,000Write/EraseCycles

    2.7Vto6VOperatingRange

    FullyStaticOperation:0Hzto24MHz

    Twolevel

    Program

    Memory

    Lock

    15ProgrammableI/OLines

    Two16bitTimer/Counters

    ProgrammableSerial

    UART

    Channel

    DirectLEDDriveOutputs

    Onchi Analo Com arator

  • 8/14/2019 Final [Compatibility Mode]

    13/32

    MAX232Line

    Driver

    Microcontroller

    8051

    works

    on

    TTL

    voltage

    levels

    which

    cannotbeusedtocommunicateoverRS232CMOSlevel

    levelconverterisneededwhichcanconvertTTLto

    RS232andRS232toTTLvoltagelevels.

    MAX232.

    RS232 volta e levels 10V and +10V from 5V ower

    supply

  • 8/14/2019 Final [Compatibility Mode]

    14/32

  • 8/14/2019 Final [Compatibility Mode]

    15/32

    Features

    OperatesFromaSingle

    5VPowerSupplyWith

    1.0_F

    Charge

    Pump

    OperatesUpTo120Kit/s

    Receivers

    30VInputLevels

    LowSupply

    Current

    ...8

    mATypical

  • 8/14/2019 Final [Compatibility Mode]

    16/32

    Standardserial

    interface

    of

    MAX232

  • 8/14/2019 Final [Compatibility Mode]

    17/32

    IRsensor

    TSOP1738

    Receivedmodulatedinfraredsignalandconvertsn oe ec r ca s gna .

    Applications:

    .

  • 8/14/2019 Final [Compatibility Mode]

    18/32

    Photodetectorandpreamplifiercircuitintheonepackage.

    .

    5V

    output

    (active

    at

    level

    0).

    38kHzintegratedoscillator.

    .

    Highlevelofimmunitytoambientlight.

    Improved

    shielding

    against

    electrical

    field

    interference. .

  • 8/14/2019 Final [Compatibility Mode]

    19/32

    Technical s ecification:

    Supply:5V

    Powerconsumption:0.4to1.0mA(low)

    Min.Ee irradiation:0.35mW/m2typ.

    ng eo e ec on:

    Dimensionsofthecasing(mm)12.5x10xThickness5.8

  • 8/14/2019 Final [Compatibility Mode]

    20/32

    TVremote

  • 8/14/2019 Final [Compatibility Mode]

    21/32

    Introductionto

    RC5

    rotocol

    Mostaudioandvideosystemsareequippedwithaninfrared

    remote

    control.

    A

    common

    used

    standard

    code

    TheRC

    5code

    from

    Philips

    is

    possibly

    the

    most

    used

    protoco y o y sts,w eava a tyo c eapremotecontrols.

    Theprotocol

    is

    well

    defined

    for

    different

    device

    types

    ensuringcompatibilitywithyourwholeentertainmentsys em.

  • 8/14/2019 Final [Compatibility Mode]

    22/32

    Features

    5bitaddressand6bitcommandlength(7

    commandbitsforRC5X)

    Biphasecoding(akaManchestercoding)

    Carrier requencyo 36 Hz

    Constantbittimeof1.778ms(64cyclesof36kHz)

    eren comman sw c are v e

    32addresseseachof64commands.

  • 8/14/2019 Final [Compatibility Mode]

    23/32

    cont

    Thetransmittedcodeisadatawordwhichconsistsof

    14bits

    2startbitsfortheautomaticgaincontrolinthe

    .

    1togglebit(changeeverytimewhenanew

    5addressbitsforthesystemaddress

    6instructionbitsforthe ressedke

  • 8/14/2019 Final [Compatibility Mode]

    24/32

  • 8/14/2019 Final [Compatibility Mode]

    25/32

    PCCOMPORTCONNECTOR:

    OldPC'sused25pinconnectorsbutonlyabout9p nswereac ua yuse so o aymos connec ors

    areonly

    9pin.

    Eachofthe9pinsusuallyconnectstoawire.Besidesthetwowiresusedfortransmittingandreceivingdata.

  • 8/14/2019 Final [Compatibility Mode]

    26/32

    CONT..

  • 8/14/2019 Final [Compatibility Mode]

    27/32

    Cont.

    PIN DIRCTIONOFSIGNAL1. CarrierDetect CD fromDCE Incomin si nalfroma

    modem

    2. ReceivedData

    (RD)

    Incoming

    Data

    from

    aDCE

    3. TransmittedData(TD)OutgoingDatatoaDCE

    4. DataTerminalReady(DTR)Outgoinghandshakingsignal

    5. SignalGroundCommonreferencevoltage

    6. DataSet

    Ready

    (DSR)

    Incoming

    handshaking

    signal

    7. RequestToSend(RTS)Outgoingflowcontrolsignal

    8. ClearToSend(CTS)Incomingflowcontrolsignal

    9. RingIndicator(RI)(fromDCE)Incomingsignalfromamodem

  • 8/14/2019 Final [Compatibility Mode]

    28/32

    PCRemotecontrolsoftwarePCRemoteControlisaversatilesoftwarethatallowsyouto

    contro t ecomputer nas mp eway,asyou ow t a or

    DVDplayer.

  • 8/14/2019 Final [Compatibility Mode]

    29/32

    Availableactions

    AllNumericalKeys

    ArithmeticKeys

    Enter

    Windowkeys

    Calculator

    Notepad

    Escape

    Help

    Refresh

    CDdrivecontrolControl

    panel

    Computerlog

    off

    Capslock

    Tab

    Backspace

    Reboot/shutdown

    Volumecontrol

    5Userdefined

    DeleteLeft/Right

    Up/downarrows

    programs.

    Pageup/down

  • 8/14/2019 Final [Compatibility Mode]

    30/32

    ontro o t ecomputer ur ngmultimediareproduction.

    Windowsmediaplayer

    Presentations

    MicrosoftPower

    point

  • 8/14/2019 Final [Compatibility Mode]

    31/32

    F r h r

    im l m n i n

    in

    f r

    Controlhomeappliances&devicessuchas

    Roomlights

    Fans

    Doorlockandunlock

    Washingmachines

    Otheruses

    Utilityconsumptionremotemeterreading

    Contact

    less

    apparatus

    control

    Telemetrydatatransmission

    Carsecurit s stems.

  • 8/14/2019 Final [Compatibility Mode]

    32/32