Help with electronics
- knappengineering
- Specialist
- Posts: 137
- Joined: Sun Jun 24, 2007 1:01 pm
- Contact:
Just do a quick google search on usb voltage, it took me about 2 seconds to find out that it is 5V, so just get a relay to match it. Remember - google is a powerful tool BTW, good luck, I don't know what you are using it for, but it sounds like a fun project.
Knapp Engineering
www.ewr24.com
www.ewr24.com
I think jamco electonics has a little relay/usb controller board, which allows the relays to br controlled form you computer. But like knap said, a usb's volatge is about 5 volts, so almost any realy would do.
Stanford Class of 2012
"In the end our society will be defined not only by what we create, but what we refuse to destroy"- John Sawhill
"In the end our society will be defined not only by what we create, but what we refuse to destroy"- John Sawhill
-
- Private 4
- Posts: 64
- Joined: Mon Jul 02, 2007 4:58 am
- Location: Christchurch New Zealand
well you see you'll need a device to decode the USB to turn the relays on and off, and to make them visible to the computer. that is what the relay controller does. If you have ever used micro controllers before and can get one that has a USB interface on it then you can do a lot of stuff with it. what do you want this for? have you had any electronics experience before?
- knappengineering
- Specialist
- Posts: 137
- Joined: Sun Jun 24, 2007 1:01 pm
- Contact:
If you don't need it to be controlled by your computer, you can have it just activated when you plug it in, just from the 5v provided by the usb port. And that would eliminate the need for a microcontroller, but it would be awesome to have it controlled by you computer.
Knapp Engineering
www.ewr24.com
www.ewr24.com
-
- Private 4
- Posts: 64
- Joined: Mon Jul 02, 2007 4:58 am
- Location: Christchurch New Zealand
its not that hard many of the microchip 18f series of micro controllers have USB ports in them but you'd have to learn a language to program it in. C is probably best! then you could do a lot more than just control a relay with it!
-
- Corporal 5
- Posts: 986
- Joined: Thu Jun 16, 2005 1:44 pm
- Been thanked: 1 time
If it were up to me, Id say use an LPT port instead of a USB port.
LPT ports send their data in parallel without any encoding, so basically just tie the relay to one of the data pins (with a reverse-biased diode across it, of course). Then just send FFh to the port.
I won't explain exactly how to do this, since there's oodles of info on Google about it, but it's going to be more difficult to get working on an NT-based O/S (Windows XP, for example).
LPT ports send their data in parallel without any encoding, so basically just tie the relay to one of the data pins (with a reverse-biased diode across it, of course). Then just send FFh to the port.
I won't explain exactly how to do this, since there's oodles of info on Google about it, but it's going to be more difficult to get working on an NT-based O/S (Windows XP, for example).
"If at first you dont succeed, then skydiving is not for you" - Darwin Awards
i am bulding a cooling system for my 360 , and lol 5 volts is not nearly enuf , buT i wanted it to turn off and on with the system the answer..... relay!! im gona get an charger that has better outputs 12-16volts soder to wires to it ( getto ) then run it by a relay so it wil turn of and on with the console. tada! lol ,
yea and u guys answerd all my qustions thanx a million
yea and u guys answerd all my qustions thanx a million