2355Views24Replies

Author Options:

computer controlled relay Answered

I want to build a SIMPLE computer controlled relay. Not where u have the relay that is on when the computer is on, the kind where u have a program that has little buttons that u click to activate a relay.
Please help me!!!!!

Discussions

0
None
sci4me

8 years ago

im back and gonna keep triing

0
None
andy70707sci4me

Reply 7 years ago

I know this question is a few years old, but I've been looking through your profile and found it. If you're still looking for a solution, velleman do some nice kits. here and here, one of them is pre-assembled, and one is a kit and therefore cheaper (And more fun to build). Its a really great kit, if you are in the UK, you can pick it up in maplin, but if not, I think they do worldwide shipping. You simply connect it to a usb port, install their software, and you can control all the outputs with a simple button interface. They even have an iOS app so if you leave the pc its connected to on as a server, you can control the outputs on the go.

0
None
guyfrom7up

8 years ago

does your computer have a parallel port?  if so, it's as simple as 1 resistor (for transistor), 1 transistor, 1 relay (duh), and one diode to protect your computer.  Software is also very easy, too.

If you want more in depth stuff, say you have a parallel port

there are other ways, but this is by far the simplist

0
None
sci4meguyfrom7up

Reply 8 years ago

how would i connect the paralell port way? my dad does have a computer with paralell port, i think.

0
None
guyfrom7upsci4me

Reply 8 years ago

see:
http://www.epanorama.net/circuits/parallel_output.html

0
None
sci4meguyfrom7up

Reply 8 years ago

ok, now the problem is that i have no previous programming skills

0
None
guyfrom7upsci4me

Reply 8 years ago

usb is much much more complicated than this

0
None
sci4meguyfrom7up

Reply 8 years ago

how complicated? im willing to do almost anything now.

0
None
guyfrom7upsci4me

Reply 8 years ago

ok, well the simplist way to do it via USB is probably using an arduino.  Google arduino, it's a little device that can communicate to a computer via USB, you can write a little "sketch" (program) for the arduino, upload it to the arduino, and then write a program in a program callede Processing that communicates with the arduino

0
None
sci4meguyfrom7up

Reply 8 years ago

cant i just find a program to control the paralell port and connect it? and also could i do serial with only the transistor, resistor, relay, and a serial connection?

0
None
guyfrom7upsci4me

Reply 8 years ago

serial: I dunno, probably, i've never done it so I can't say anything.

Parallel Port: I think there was a program called CCCP (or something like that, maybe just my inner russian coming out xD), that did exactly what you want, all i remember was that it's icon was a little lightning bolt.

0
None
sci4meguyfrom7up

Reply 8 years ago

i looked it up and unless im a moron, its not exactly what i want. but i didnt check the icon.

0
None
guyfrom7upsci4me

Reply 8 years ago

how about:
http://www.hottimesoftware.com/download-1.htm

or

http://electronics-diy.com/parallel_port_controller.php

I think the name i remember before was PPC, parallel port controller, but thats a generic name so i'll never find the same piece of software.  The second one is similar to something you might want, but the first one probably has more features

0
None
sci4meguyfrom7up

Reply 8 years ago

u know what, i think ill just buy a kit. i mean, i dont wanna, but........... it just wont work. i hooked an led to the pins like it said for testing, it was always on. and there was some dll. file that wasnt working. i dont no what to do.

0
None
sci4meguyfrom7up

Reply 8 years ago

I am gonna try out the top one and if it works, then i wont need any more help, but ill tell u once iv tested it.

0
None
sci4meguyfrom7up

Reply 8 years ago

iv been tryin and im havin a hard time.