I have seen many smart home systems that enables you to hook up your appliances to your PC and control it right from your desktop. They are all very comprehensive and above all very expensive. I was thinking of doing something similar without using a micro controller ( i know they are the fashion today but a layman has an aversion to it ). I kept thinking and thinking and tey suddenly it stuck me...the good old PARALLEL port!!!!...

I have used it to light an LED using a c program when i was 15...then i left it as soon as i layed my hands upon my first microchip pic project.

But i thought i better dust it back up...come one guys..let us do it....
 
Remove these adsRemove these ads by Signing Up

Step 1: Basic Ideas of a Paralell Port

Everybody knows what is parallel port, where it can be found, and for what it is being used. the primary use of parallel port is to connect printers to computer and is specifically designed for this purpose. Thus it is often called as printer Port or Centronics port (this name came from a popular printer manufacturing company 'Centronics' who devised some standards for parallel port). You can see the parallel port connector in the rear panel of your PC. It is a 25 pin female (DB25) connector (to which printer is connected). On almost all the PCs only one parallel port is present, but you can add more by buying and inserting ISA/PCI parallel port cards.

the Pin outs are simple...
pins 2-9 are the 8 data pins which we will be using to control up to 8 switches.
Saib0tx says: Jan 6, 2009. 7:22 PM
There are only three steps?
inkwash (author) in reply to Saib0txJan 7, 2009. 7:10 AM
yes of course!!!...isn't that wonderful???
User1005273 in reply to inkwashMay 25, 2011. 8:21 AM
It's clearly an amazing project, but with only three steps I don't have enough detail to actually do it.
drresearch says: Sep 7, 2010. 6:33 AM
Nice. Just so that you know (in case you don't already know), also the serial port can be used, it has less outputs (only two, but four inputs) but it can still be used for some simple projects.
inkwash (author) in reply to drresearchSep 7, 2010. 8:04 PM
i hav seen such projects, but never tried one. u have any details on how its done?
drresearch in reply to inkwashSep 8, 2010. 1:17 AM
yeah, first of all attached is a picture of the pinout of the male side of the connector. Pins 2 and 3 are for receiving and transmitting data (for advanced circuits) so we will not use them, pin 5 is ground, and the other pins are all high/low I/O lines. Pins 1,6,8,9 are inputs (meaning you can give +5V in and the software will detect this), and pins 4,7 are outputs (meaning you can switch the high/low state from the software). An important note is that the serial port doesn't always operate at 5V, it will detect also 5V on pins 1,6,8,9 but the output of pins 4,7 is usually about 10V on a desktop computer. Regarding the controller software I only know how to make it for Linux operating system, since I guess you use Windows I think you'll just have to google around.
drresearch in reply to drresearchSep 8, 2010. 1:19 AM
Well, evidently the attachment didn't come, here is a link to the picture of the pinout: http://www.western-data.com/products/images/9-pinout.jpg
spyroot says: Jan 24, 2010. 9:37 PM
What id you want to manipulate more than two appliances? no details?
inkwash (author) in reply to spyrootFeb 18, 2010. 8:17 AM
Hi,

I Promise to come up with a better explaining instructable of this project real soon..this was my first one...
perpetual_change says: Sep 30, 2009. 10:32 AM
Could you put a picture to see how the final implementacion ended? Thanks!
grubby6913 says: Aug 2, 2009. 7:51 AM
The eight switches, can they be turned on and off seperatly?
inkwash (author) in reply to grubby6913Aug 2, 2009. 10:14 AM
yeah sure...there are 8 different data-line in the parallel port..you can program to activate anyone separately.. (i am sorry if am vague...i promise t update the instructables real soon with full detailed instructions)
juankppo says: Jul 10, 2009. 9:27 PM
hi! it is an amazing project. I have all the parts,but I haven't got idea how to connect the 6v rely ( can you explain me how to connect the 5 connectors of the rely?). Have you got any picture of the real circuit or the end project to see how to solder the components?
inkwash (author) in reply to juankppoJul 11, 2009. 10:58 AM
A relay is actually a switch that can be switched on electrically.I hope the relay you have has the following layout, circuit -> | | AC OUT -> | AC IN-> | | the first two pins connect to the circuit. the middle pin must be the AC IN. Connect the phase there and take out the out put from the innermost pin. Be careful when using AC :)
dagenius says: Apr 22, 2009. 5:53 PM
Where is the "house control" part? It would be nice if you showed us exactly how to hook it up to room lights, appliances, devices, etc.
stephenniall says: Apr 11, 2009. 6:42 PM
Could i use this to power other devices too?
inkwash (author) in reply to stephenniallApr 13, 2009. 12:52 AM
yeah.....it depends on the rating of the relay used...u can power upto 5A appliances...if u can lay your hands on a heavy duty (industry use) relay it can handle upto 15A...(That is hell a lot of power)
stephenniall in reply to inkwashApr 13, 2009. 5:27 AM
Lol I was thinking of making a 'Bank' Style Alarm and Locking door with like a metal bit with solenoids Automatically locking when the alarm goes off and Lights etc
garagemonkeysan says: Mar 16, 2009. 8:48 AM
Great Instructable. I'm sorry I didn't find this before I bought a Parallel Port Relay Board.
I couldn't get the Lamp.zip to work on my WinXP laptop. Here's an alternative that worked for me:
http://neil.fraser.name/software/lpt/
It's called lpt.exe. The VB6 version works too.
Thanks! : )
sny2ksa says: Feb 12, 2009. 8:40 AM
Nice work Can u upload or mail the source code of this project. Best regards Shahid shahid@deef.com
redbird01 says: Feb 4, 2009. 2:36 PM
You say it can accommodate up to eight switches. How many did you incorporate into your nifty red box?
inkwash (author) in reply to redbird01Feb 4, 2009. 8:58 PM
3...i only have 3 lights in my room (...a patience too...to wire up the same circuit 3 times :) )
maxpower49 says: Dec 30, 2008. 12:16 PM
this is cool but does the software work with windows xp and can this handel a 120v light
inkwash (author) in reply to maxpower49Dec 31, 2008. 2:19 AM
Sure it does...i am using windows xp...i tested it also in vista home... And it can handle a 120v light for sure...the relay is actually a switch that makes and breaks a contact...equipment we connect to relay is completel isolated from the circuit...
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!