32

CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

  • Upload
    dhs1989

  • View
    217

  • Download
    0

Embed Size (px)

DESCRIPTION

controlling electrical appliances

Citation preview

Page 1: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S
Page 2: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

MR. E. ASHOK KUMAR (Asst. Prof. EEE Dept.) SAVEETHA UNIVERSITY

PREPARED BY:- KUMAR GAURAV RUSTAM ANSARI QUYAMUDDIN KHAN RAJIV KUMAR BARIK

Page 3: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

INTRODUCTION THE PARALLEL PORT PIN DIAGRAM FOR PARALLEL PORT TO IDENTIFY THE MEMORY LOCATION FOR A

PARTICULAR MACHINE BLOCK DIAGRAM CIRCUIT DESCRIPTION COMPONENT DESCRIPTION RELAY SOFTWARE SYSTEM REQUIRMENTS

Page 4: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

HARDWARE REQUIRMENT SOFTWARE REQUIRMENT WORKING APPLICATION ADVANTAGES SCOPE FOR EXTENSION CONCLUSION

Page 5: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

It can be used to control the printer as well as house hold and other electrical appliances.

The computer program included as part of the project 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.

Page 6: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

*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.

Page 7: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

* These are -> data port -> status port and -> control port

* Each of them having specific addresses assigned to them.

Page 8: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S
Page 9: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

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.

Page 10: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

To identify the assingments for a particular

machine:- ->the DOS debug program can be used to display memory locations. For example:- >debug- d 0040:0008 L 80040:0008 78 03 78 02 00 08 00

00

Page 11: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

Thus according to the addresses displayed it follows that the address of the data port is 0*0378 and so on.

Page 12: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S
Page 13: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S
Page 14: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

Relay One 470 ohm resistance

One 4.7k ohm resistance

One opto-couplar IC numbered MCT2E.

One transister numbered BC148

A diode numbered IN4007.

Page 15: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

OPTO-COUPLER -> is an integrated circuit. -> number of the IC used is MCT2E -> it is a combination of a light source

and a photosensitive detector. -> MCT2E opto-coupler IC is used in this circuit is a 6 pin IC. THE PIN-NUMBERING AND THE

CORRESPONDING FUNCTION ARE AS FOLLOWS:-

Page 16: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

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.

Page 17: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

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 single tripping.

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

Page 18: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

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.

Page 19: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

The system requirment for this application can be broadly categorized under two heading namely:-

HARDWARE REQUIRMENT

SOFTWARE REQUIRMENT

Page 20: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

PROCESSOR:- Pentium | / Pentium || / Pentium ||| etc.

MEMORY:- 32MB RAM (minimum).

RESOLUTION:- 800*600 Pixels

Page 21: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

PLATFORM:- Any operating system such as window XP, VISTA, 7.

LANGUAGE:- C or c++.

Page 22: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

IN THIS PROJECT DEVELOPED :-

The software program and the hardware circuit work interactively to generate appropriate signals to switch the connected devices “on” or “off”.

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

Page 23: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

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 form of 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 the computer.

Page 24: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

The current singnal from the printer port is fed into the opto- coupler IC of the circuit.

On the execution of the software the printer generate a voltage value of 3.3 volts .

The low value of current taken as output from the IC is net sufficient for relay- tripping.

Page 25: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

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.

Page 26: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

It can be used for domestic purposes such as offices, schools, hotels etc.

It can be used as a switching device at places where computers are available.

Although traffic lights are microprocessor controlled ,this projects can also be employed for controlling the same.

Page 27: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

User friendly :- project has simple and efficient interface.

Easy handling :- maintenance is not required.

Machine independent :- not any special packages or hardware is required.

Page 28: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

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.

Page 29: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

The successful completion of the project is the result of the total hard work and proper coordination between the project members .The project guide is the one of the key factor whose valuable time and support helps us in the way of the development of the project.

In this project we have tried to implement all the available tools according to our knowledge. Though we have completed the project but it needs to be implemented further in more advanced way which can be possible by including some advanced feature and much more animation. Advanced version of the project would be the more professional and it will have market value we belive

Page 30: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

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.)

Page 31: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

ANY QUERIES ???????????????????????????????????????????????????????????????????

Page 32: CONTROLING THE ELECTRICAL APPLIANCES USING PC’S

Thank you !!!!!