I'm making a small project which will take +5v from USB, What should I do with the D+ and D-, keep it open or short them to ground or do I have to add some components?
I want to run ATMEGA168 and 16x2 LCD with back light.
|
I'm making a small project which will take +5v from USB, What should I do with the D+ and D-, keep it open or short them to ground or do I have to add some components? I want to run ATMEGA168 and 16x2 LCD with back light. |
|||||||||||||||||
|
|
Don't do anything to them. They refer to differentially encoded transmission scheme that USB uses. Leave them alone, floating. All you need to power your circuit is the ground and power pins coming from the USB. Many devices that are purely USB powered only have wire connections for those two pins and nothing for the +/-D Also, be aware of the maximum current draw of your USB port, its something like 500 mA. If you draw too much your port will shut off to prevent short circuiting. |
|||||||||||||||||||||
|
|
(Re-edited.) USB 2.0, at high speed: 45 ohms from each data line to ground (to have 90 ohm differential impedance). |
|||||||||||||
|
|
you can leave them floating, or you can ground them...whatever you do it doesn't really matter if you are using the USB port for just powering your device or whatever you need the power for, you just need to stick to the "Current Limits", its 850mA or something like that , im not really sure.. i made a simple LED light for my Desktop and it worked fie with the USB, i connected the D+ with the D- through a 10kilo ohms Resistance and its doing fine |
|||
|
|