phinder Posted March 31, 2007 Report Share Posted March 31, 2007 Hi guys,I'm in the first stage of planning a school project. This includes operation of solenoid valves through a computer. However, I am totally lost were to start from here. Some of the questions I have right now:1) When is it necessary to use relays?2) Would this (http://www.paia.com/proddetail.asp?prod=K74) board be suitable?3) Is there an alternative board that has USB connectivity?4) I heard Darlington transistor arrays can replace relays and minimize the circuit size. Would you recommend this approach instead of relays?4) How do I write a simple program in VB that opens/closes up to 8 valves?Your help is very much appreciated. Cheers, Philipp Quote Link to comment Share on other sites More sharing options...
Kevin Weddle Posted April 2, 2007 Report Share Posted April 2, 2007 I'm not a programmer, but serial communication is still widely used. I think the code is more extensive and the harware more elaborate for parallel port usage. Buffering would be my main concern if using your own computer. Quote Link to comment Share on other sites More sharing options...
phinder Posted April 3, 2007 Author Report Share Posted April 3, 2007 Thanks. Any other oppinions? Quote Link to comment Share on other sites More sharing options...
Kevin Weddle Posted April 3, 2007 Report Share Posted April 3, 2007 You may want to post in the microcontroller section, MP is good at that stuff. Quote Link to comment Share on other sites More sharing options...
MP Posted April 6, 2007 Report Share Posted April 6, 2007 Hello phinder and Kevin,I am not sure what type of power you need for these solenoids, but here is an example of controlling the mains voltage from a PC. I can't imagine you would need any more power than this for the solenoid.You can use the parallel port of the PC to set a pin high, which turns on a solid state relay. I prefer solid state relays to the mechanical types as posted in your link.You can duplicate such a circuit and use D0, D1, D2, D3, D4, D5, D6, and D7 to control 8 different SSRs (Solid State Relays).Here is an example. Click on the image below to enlarge it.MP Quote Link to comment Share on other sites More sharing options...
y_first Posted April 8, 2007 Report Share Posted April 8, 2007 Really,we can't direct control relay with circuit picture above as printer port has abount 2-3 voltage ,we should be TTL driver connect too. you can do it such as link belowhttp://www.thaiio.com/Project/4input_4output_board_project.html Quote Link to comment Share on other sites More sharing options...
MP Posted April 9, 2007 Report Share Posted April 9, 2007 I don't know why you wouldn't have the minimum 3 to 5 volts on the data lines of your parallel port unless you either measured incorrectly or you have a problem with your port. Check to see if it operates your printer. The ULN chip is not needed for parallel connection to an SSR. It needs no more current or voltage than your printer, if it were attached.MP Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.