Building A Serial Relay

Thread Starter

jjacquay712

Joined Jul 26, 2009
1
Hi everyone, I'm new to building circuits (I'm mostly a programmer) and was needing some instruction on building a relay for a serial port.

What I want to do, is be able to have a "1" sent on the data pin on the serial port to turn a circuit on, then have another "1" sent to turn the circuit off. I was talking to someone and they said I would need something called a "flip-flop".

Another option I was thinking of is just using a simple transistor to control the circuit, and have a program in a while loop to constantly send data to keep the circuit open.

Which option would you consider to be the best? Any help is greatly appreciated.


Thanks, John
 
Top