Sei sulla pagina 1di 30

m MR. E.

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

PREPARED BY:-
KUMAR GAURAV
RUSTAM ANSARI
QUYAMUDDIN KHAN
RAJIV KUMAR BARIK
m INTRODUCTION
m THE PARALLEL PORT
m PIN DIAGRAM FOR PARALLEL PORT
m TO IDENTIFY THE MEMORY LOCATION FOR A
PARTICULAR MACHINE
m CIRCUIT DESCRIPTION
m COMPONENT DESCRIPTION
m RELAY
m SOFTWARE
m SYSTEM REQUIRMENTS
m HARDWARE REQUIRMENT
m SOFTWARE REQUIRMENT
m WORKING
m APPLICATION
m ADVANTAGES
m SCOPE FOR EXTENSION
m CONCLUSION
m It can be used to control the printer as well as
house hold and other electrical appliances.

m The computer program included as part of the


project controls µRELAYS¶ through the interface
circuit,which in turn, switch the appliances µON¶ or
µOFF¶.

m The parallel port has 12 output including 8 data


lines and 4 control lines.
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.
 These are
-> data port
-> status port and
-> control port

 Each of them having specific addresses assigned


to them.
m We are using DB25 connector for parallel port.
m Pins 2 through 9 from the 8 ±bit data output port.
m Pins 1, 14, 16, and 17 from the control port which
is capable of reading / writing.
m Pins 10 through 13 and pin 15 together form the
status port.
m To identify the assingments for a particular
machine:-
->the DOS debug program can be used
to display memory locations.
m For example:-
>debug- d 0040:0008 L 80040:0008
78 03 78 02 00 08 00 00
m Thus according to the addresses displayed it
follows that the address of the data port is
00378 and so on.
m Relay

m One 470 ohm resistance

m One 4.7k ohm resistance

m One opto-couplar IC numbered MCT2E.

m One transister numbered BC148

m A diode numbered IN4007.


m 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.
m THE PIN-NUMBERING AND THE
CORRESPONDING FUNCTION ARE AS
FOLLOWS:-
m 1-As an anode of the diode.

m 2-As a cathode of the diode.

m 3-N internal connection (not used).

m 4-As an emitter of the photo transistor.

m 5-As a collector of the phototransistor.

m 6-As a base of the phototransistor.


m 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.
m The software program developed for the project
basically consists of:-

m Fornt end ± developed in c.

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


and simple interface for the user.
m The system requirment for this application can be
broadly categorized under two heading namely:-

m HARDWARE REQUIRMENT

m SOFTWARE REQUIRMENT
m PROCESSOR:-
m Pentium | / Pentium || / Pentium ||| etc.

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

m RESOLUTION:-
m 800600 Pixels
m PLATFORM:- Any operating system such as
window XP, VISTA, 7.

m LANGUAGE:- C or c++.
m IN THIS PROJECT DEVELOPED :-

m The software program and the hardware circuit


work interactively to generate appropriate signals
to switch the connected devices ³on´ or ³off´.

m An in the interface to switch a device on / off :- it


required to enter the valid values of bits number.
m This code on the behalf of the user interacts with
the back end which is developed in C++.
m 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.
m The hardware works like an on or off switch
according to the signal from the parallel port of the
computer.
m The current singnal from the printer port is fed into
the opto- coupler IC of the circuit.

m On the execution of the software the printer


generate a voltage value of 3.3 volts .

m The low value of current taken as output from the


IC is net sufficient for relay- tripping.
m So a transister is used in common base
configuration and hence used as an amplifier.

m Thus transister is responsible for amplifying the


current so as to trip the relay.
m It can be used for domestic purposes such as
offices, schools, hotels etc.

m It can be used as a switching device at places


where computers are available.

m Although traffic lights are microprocessor


controlled ,this projects can also be employed for
controlling the same.
m |  :- project has simple and efficient
interface.

m § 
     

m  
 :- not any special
packages or hardware is required.
m 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.

m We can also use mobile phone and internate


connection for enabling / disabling the electrical
devices.
m www.google.com
m Fundamental of c
m Integrated circuit
m Ieee
m And my friend. Mr D.vishal kumar(work in HCL
TECHNOLOGY PVT. LIMITED as a TECHNICAL
SUPPORT manager in PHONEX DEPARTMENT.)
ANY QUERIES
??????????????????????
??????????????????????
??????????????????????
?
Thank you !!!!!

Potrebbero piacerti anche