Connect with us

Need a relay controlled by a PC.

Discussion in 'Electronic Basics' started by Mongoose, Feb 25, 2004.

Scroll to continue with content
  1. Mongoose

    Mongoose Guest

    Hello. I need a relay that can control the power to a TV set and can
    be open and closed from a computer. Currently I can use an X10 system
    but that is unreliable since it gets all kinds of false signals from
    the power lines. So what I would rather have is a relay that connects
    to a PC by a cable. Does anyone have an suggestions?

    I'm a CS, not an EE so I can program computers but my knowledge of
    electronics is basic.
     
  2. Guest

  3. the Wiz

    the Wiz Guest

    http://www.boondog.com/

    Click on the Products link.

    More about me: http://www.jecarter.com/
    VB3/VB6/C/PowerBasic source code: http://www.jecarter.com/programs.html
    Freeware for the Palm with NS Basic source code: http://nsb.jecarter.com
    Drivers for Pablo graphics tablet and JamCam cameras: http://home.earthlink.net/~mwbt/
    johnecarter [email protected] mindspring dot.dot com. Fix the obvious to reply by email.
     
  4. Mongoose

    Mongoose Guest

    Thanks! These look like they'll work.
     
  5. Si Ballenger

    Si Ballenger Guest

    You can get a relay board kit controlled from the parallel port
    for ~$40 or less on the net. do a google search for parallel port
    relay kit.
     
  6. ------------------------------
    Use a 470 ohm resistor from pin 2 of the LPT port to the base of a
    2N2222A transistor, (the pin next to the one under the tab), the
    emitter of that transistor (tab) to pin 18, and the collector to
    the relay coil. The other side of the relay coil needs an external
    supply, +12V from the PC PSU will work, and if the relay contacts
    are rated at 240VAC and enough amps, then you can run the TV cord
    through those contacts and turn it on and off if you set the 'lsb'
    data bit HI.

    -Steve
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-