Login    Register
User Information
Username:
Password:
We are a free and open
community, all are welcome.
Click here to Register
Sponsored
Who is online

In total there are 82 users online :: 5 registered, 0 hidden and 77 guests


Most users ever online was 155 on Mon Aug 15, 2016 1:40 am

Registered users: Bing [Bot], Google [Bot], Google Adsense [Bot], MSNbot Media, Yahoo [Bot] based on users active over the past 5 minutes

The Team
Administrators
Global Moderators
global_moderators.png CS

Help with electronics

All non-spudgun related discussion goes here such as projects, theories, serious questions, etc. All "off-topic" posts (aka useless posting, determined by moderators) will be removed.
Sponsored 
  • Author
    Message

Help with electronics

Unread postAuthor: joemama » Tue Nov 27, 2007 8:58 pm

well im wondering is there a such thing as a relay that can be activated/deactivated by usb?? is usb standard voltage , b/c then i could find a relay for that voltage.
  • 0


joemama
Corporal
Corporal
 
Posts: 70
Joined: Tue Sep 13, 2005 6:47 pm
Reputation: 0

Unread postAuthor: knappengineering » Tue Nov 27, 2007 11:00 pm

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 :wink: :lol: BTW, good luck, I don't know what you are using it for, but it sounds like a fun project. :D
  • 0

Knapp Engineering
www.ewr24.com
User avatar
knappengineering
Sergeant First Class
Sergeant First Class
 
Posts: 137
Joined: Sun Jun 24, 2007 1:01 pm
Reputation: 0

Unread postAuthor: Killjoy » Tue Nov 27, 2007 11:44 pm

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.
  • 0

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

Killjoy
Brigadier General
Brigadier General
 
Posts: 1053
Joined: Sun Nov 12, 2006 12:51 am
Location: New Mexico
Reputation: 0

Unread postAuthor: TechnoMancer » Wed Nov 28, 2007 12:14 am

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?
  • 0


TechnoMancer
Corporal
Corporal
 
Posts: 64
Joined: Mon Jul 02, 2007 4:58 am
Location: Christchurch New Zealand
Reputation: 0

Unread postAuthor: knappengineering » Wed Nov 28, 2007 12:34 am

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.
  • 0

Knapp Engineering
www.ewr24.com
User avatar
knappengineering
Sergeant First Class
Sergeant First Class
 
Posts: 137
Joined: Sun Jun 24, 2007 1:01 pm
Reputation: 0

Unread postAuthor: TechnoMancer » Wed Nov 28, 2007 12:40 am

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!
  • 0


TechnoMancer
Corporal
Corporal
 
Posts: 64
Joined: Mon Jul 02, 2007 4:58 am
Location: Christchurch New Zealand
Reputation: 0

Unread postAuthor: TurboSuper » Wed Nov 28, 2007 5:58 am

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).
  • 0

"If at first you dont succeed, then skydiving is not for you" - Darwin Awards

TurboSuper
Brigadier General
Brigadier General
 
Posts: 986
Joined: Thu Jun 16, 2005 1:44 pm
Reputation: 0

Sponsored

Sponsor
 


Unread postAuthor: joemama » Wed Nov 28, 2007 7:30 pm

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
  • 0


joemama
Corporal
Corporal
 
Posts: 70
Joined: Tue Sep 13, 2005 6:47 pm
Reputation: 0

Return to Non-Spudgun Related Discussion

Who is online

Registered users: Bing [Bot], Google [Bot], Google Adsense [Bot], MSNbot Media, Yahoo [Bot]

Reputation System ©'