CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

Embed Size (px)

Citation preview

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    1/30

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    2/30

    ` MR. E. ASHOK KUMAR(Asst. Prof. EEE Dept.)

    SAVEETHA UNIVERSITY

    PREPARED BY:-KUMAR GAURAVRUSTAM ANSARIQUYAMUDDIN KHANRAJIV KUMAR BARIK

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    3/30

    ` INTRODUCTION

    ` THE PARALLEL PORT

    ` PIN DIAGRAM FOR PARALLEL PORT

    `

    TO IDENTIFY THE MEMORY LOCATION FOR APARTICULAR MACHINE

    ` CIRCUIT DESCRIPTION

    ` COMPONENT DESCRIPTION

    `

    RELAY` SOFTWARE

    ` SYSTEM REQUIRMENTS

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    4/30

    ` HARDWARE REQUIRMENT

    ` SOFTWARE REQUIRMENT

    ` WORKING

    ` APPLICATION` ADVANTAGES

    ` SCOPE FOR EXTENSION

    ` CONCLUSION

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    5/30

    ` It can be used to control the printer as well as

    house hold and other electrical appliances.

    ` The computer program included as part of theproject controls RELAYS through the interface

    circuit,which in turn, switch the appliances ON or

    OFF.

    ` The parallel port has 12 output including 8 data

    lines and 4 control lines.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    6/30

    *The parallel port or line printer terminal is found on

    the back of a PC as a D type 25 pin female

    connector.

    *The port is composed of:-

    -> 4 control lines

    -> 5 status lines and

    -> 8 data lines

    *The original parallel port is a bundel of three ports.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    7/30

    *These are

    -> data port

    -> status port and

    -> control port

    *Each of them having specific addresses assigned

    to them.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    8/30

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    9/30

    ` We are using DB25 connector for parallel port.

    ` Pins 2 through 9 from the 8 bit data output port.

    ` Pins 1, 14, 16, and 17 from the control port which

    is capable of reading / writing.` Pins 10 through 13 and pin 15 together form the

    status port.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    10/30

    ` To identify the assingments for a particular

    machine:-

    ->the DOS debug program can be usedto display memory locations.

    ` For example:-

    >debug- d 0040:0008 L 80040:0008

    78 03 78 02 00 08 00 00

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    11/30

    ` Thus according to the addresses displayed it

    follows that the address of the data port is

    0*0378 and so on.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    12/30

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    13/30

    ` Relay

    ` One 470 ohm resistance

    ` One 4.7k ohm resistance

    ` One opto-couplar IC numbered MCT2E.

    ` One transister numbered BC148

    ` A diode numbered IN4007.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    14/30

    ` OPTO-COUPLER

    -> is an integrated circuit.

    -> number of the IC used is MCT2E

    -> it is a combination of a light source anda photosensitive detector.

    -> MCT2E opto-coupler IC is used in this

    circuit is a 6 pin IC.

    `

    THE PIN-NUMBERING AND THECORRESPONDING FUNCTION ARE ASFOLLOWS:-

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    15/30

    ` 1-As an anode of the diode.

    ` 2-As a cathode of the diode.

    ` 3-N internal connection (not used).

    ` 4-As an emitter of the photo transistor.

    ` 5-As a collector of the phototransistor.

    ` 6-As a base of the phototransistor.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    16/30

    ` Relay is a circuit used for tripping and switching

    purpose . Here we have used two types of relays,

    which are as follows:-

    1. Relay ( 6v , 100 ohm, and 1c/o):-used for singletripping.

    2. Relay (6v ,100 ohm,and 2c/o):- used for double

    tripping.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    17/30

    ` The software program developed for the project

    basically consists of:-

    ` Fornt end developed in c.

    ` The front end of the program is used for a friendly

    and simple interface for the user.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    18/30

    ` The system requirment for this application can be

    broadly categorized under two heading namely:-

    ` HARDWARE REQUIRMENT

    ` SOFTWARE REQUIRMENT

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    19/30

    ` PROCESSOR:-

    ` Pentium | / Pentium || / Pentium ||| etc.

    ` MEMORY:-` 32MB RAM (minimum).

    ` RESOLUTION:-

    ` 800*600 Pixels

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    20/30

    ` PLATFORM:- Any operating system such as

    window XP, VISTA, 7.

    ` LANGUAGE:- C or c++.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    21/30

    ` IN THIS PROJECT DEVELOPED :-

    ` The software program and the hardware circuitwork interactively to generate appropriate signalsto switch the connected devices on or off.

    ` An in the interface to switch a device on / off :- itrequired to enter the valid values of bits number.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    22/30

    ` This code on the behalf of the user interacts with

    the back end which is developed in C++.

    ` The executable binary code in C++ is actually

    used for generating appropriate output in the formof current signal at the printer port to activate the

    hardware circuit designed.

    ` The hardware works like an on or off switch

    according to the signal from the parallel port of thecomputer.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    23/30

    ` The current singnal from the printer port is fed into

    the opto- coupler IC of the circuit.

    ` On the execution of the software the printergenerate a voltage value of 3.3 volts .

    ` The low value of current taken as output from the

    IC is net sufficient for relay- tripping.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    24/30

    ` So a transister is used in common base

    configuration and hence used as an amplifier.

    ` Thus transister is responsible for amplifying the

    current so as to trip the relay.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    25/30

    ` It can be used for domestic purposes such as

    offices, schools, hotels etc.

    ` It can be used as a switching device at placeswhere computers are available.

    ` Although traffic lights are microprocessor

    controlled ,this projects can also be employed forcontrolling the same.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    26/30

    ` User friendly :- project has simple and efficientinterface.

    ` Easy handling :- maintenance is not required.

    ` Machine independent :- not any special

    packages or hardware is required.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    27/30

    ` This project can be made wirless also transmitter

    and reciver can be used with sensors attached at

    the hardware box and also at the application

    devices so as to make the system wireless.

    ` We can also use mobile phone and internate

    connection for enabling / disabling the electrical

    devices.

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    28/30

    ` www.google.com

    ` Fundamental of c

    ` Integrated circuit

    ` Ieee` And my friend. Mr D.vishal kumar(work in HCL

    TECHNOLOGY PVT. LIMITED as a TECHNICAL

    SUPPORT manager in PHONEX DEPARTMENT.)

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    29/30

  • 8/8/2019 CONTROLING THE ELECTRICAL APPLIANCES USING PCS

    30/30

    Thank you !!!!!