Step 5Software...
I am by no means a programmer. I have dabbled in web programming and PHP code but never any system level codeing. I was able to download and compile parcon.
parcon is available here
http://bigasterisk.com/projects/parallel
After downloading and compiling running
./parcon 5h 3h
will provide 5v power logic out of the number 5 pin. I found that on my computer this circuit did not have enough power to switch the relay. I overcame this by wireing two pins and ground together in parallel. ( yo dawg ) This provide the power needed to throw the relay and I was rewarded with the sound of water rushing.
./parcon 5l 3l
powers off the relay and allows the valve to close.
almost to automated awesomness
| « Previous Step | Download PDFView All Steps | Next Step » |













































I believe the correct method for doing this is to connect your P-Port pin to an opto-isolator through a current-limiting resistor and have the opto-isolator switch the relay (possibly supplied by the PC's 12v rail) along with a diode for reverse emf protection.
Just my 2 cents, use it/ dont use it :)
~Rob.
I like the idea of supplying 12volts from the computers power supply. I did not think of that during construction.
Thank you for your feedback.
Brandon