PC Socket 12v That can be controlled with software

  X™ 19:30 29 Sep 06
Locked

OK, I want to wire a relay up to a port on the PC, that can be controlled with software. So, like into a USB port, but is there a way to disable and enable them with software?

  slimbo51 20:49 29 Sep 06

Relay as in what type (transistor,Triac, Electro/mechanical)

Where's supply voltage comming from to power switch.

Do you need a buffer interface to stop feedback to M/board. Could possibly use opto isolator.

Best way to software control is to write a prog in assembler code and run it from within a Dos window.

Good luck, lots of work required.

  Fruit Bat /\0/\ 20:56 29 Sep 06

USB is 5V at a max of 500mA

click here for control equipment.

  Wilham 21:11 29 Sep 06

X™ : The traditional coil relay has inductance which causes a large voltage back emf when current switches off at high slew rate, such as by a PC.
To drive a relay via any port you need an electronic switch plus a buffer matching the relay coil impedance. This may be a simple transistor/resistance arrangement, but you ought to read up the subject before risking damage.

I recommend you have a look at The Art of Electronics by Horowitz & Hill, 2nd Edition.CUP. Your local library might find you a copy. It's A level standard but remerkably readable with v little maths. ISBN is 0-521-37095-7

  woodchip 21:28 29 Sep 06

USB is not 12volts

This thread is now locked and can not be replied to.

Nintendo Switch review: Hands-on with the intuitive modular console and its disappointing games…

1995-2015: How technology has changed the world in 20 years

Method Studios' title sequence for BBC series Taboo is truly unsettling

Best Pages for iOS tips | How to use Pages for iPad & iPhone: 6 simple tips to get more out of…