Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: benji on May 31, 2008, 09:11:33 AM

Title: USB port question
Post by: benji on May 31, 2008, 09:11:33 AM
i have a rf transmitter circuit beside my computer and this circuit needs power, so i thought why buying a battery as long as i have a usb port
very close 8) ,,,,
i did read somwhere that the USB port can provide up to 500 mAmps ,,right?

well the problem is that i dunno how much current the rf transmitter needs,,,anyone??

does the usb port provide 5volts always ? or do i need to do anythin in windows or do program somthin?

thanks already for answers
Title: Re: USB port question
Post by: lkik on May 31, 2008, 05:11:16 PM
why dont you get a cord and test it
the 2 wires on the sides of the plug are the power
Title: Re: USB port question
Post by: Private Reid on May 31, 2008, 06:27:53 PM
A usb produces 5V by 500mA
Wiki has some usb stuff that i followed in making my various usb contraptions...

there is a negative, positive, 2 Data wires and a ground (usually uninsulated)

i don't recon it matters how much Amps the transmitter needs. buy a battery that will run the transmitter (make sure the battery is under 5V) and the usb port will just trickle charge the battery.

note: at 500mA an hour
Title: Re: USB port question
Post by: benji on June 01, 2008, 06:13:26 AM
i was thinkin to power the transmitter from the usb directly,,without a battery, ::), possible?
Title: Re: USB port question
Post by: izua on June 01, 2008, 06:27:41 AM
under usb specs, your device will have to enumerate. since this is not the case, you can sink about 100mA (50 units load) from a USB port without getting into trouble. Above 100mA your device will have to negociate higher power (up to 500mA per host). Most hosts don't care about it, but some will directly cut the current if this kind of surge is detected without beeing explicitly requested.

Title: Re: USB port question
Post by: benji on June 02, 2008, 04:17:34 AM
Quote
Above 100mA your device will have to negociate higher power (up to 500mA per host). Most hosts don't care about it, but some will directly cut the current if this kind of surge is detected without beeing explicitly requested.
well how do i request it?
Title: Re: USB port question
Post by: Rebelgium on June 02, 2008, 05:21:03 AM
Quote
Above 100mA your device will have to negociate higher power (up to 500mA per host). Most hosts don't care about it, but some will directly cut the current if this kind of surge is detected without beeing explicitly requested.
well how do i request it?

google and wikipedia will tell you

And to see howmuch current your transmitter draws, just measure it with a multimeter...
Title: Re: USB port question
Post by: benji on June 02, 2008, 07:25:38 AM
Quote
google and wikipedia will tell you

And to see howmuch current your transmitter draws, just measure it with a multimeter...

i know i could do it, :P, its just time consuming cuz i dont have the transmitter in my hands to expirement with it,,
i was jus looking for quick data ;D
Title: Re: USB port question
Post by: Admin on June 07, 2008, 05:00:07 PM
Quote
well the problem is that i dunno how much current the rf transmitter needs,,,anyone??
Power it with a battery that you already own, and measure the current draw with a multimeter. ;D