I'm designing a circuit and want to power it through a USB Micro B connector. I have already installed the connector on my board, but after connecting the USB female connector of the wire to my computer, I don´t get any voltage on the Micro USB B connector. How must I connect it? I used to use a USB B connector on my through hole prototype and it worked very good but it had only 4 pins. Can anyone help me?
USB cables have 4 wires inside, normally black is GND and red is +5V and are at opposite sides of the connection e.g. 5V|D+|D-|GND probe with your multimeter to check which is which.
Attached is a clip of a schematic from a working product. Pin 1 is +5, Pin 5 is 0V. You can look up the datasheet for the connector (part number shown). Pins 2 and 3 are Data lines (D- and D+ respectively), which you didn't ask about.
Pin 4 is used to select between host and client for OTG, and should be left open.
Spehro Pefhany and J. Mercer, Thank you all for your help. The problem was that the cable I was using doesn´t give 5v at the output. It gives only 0,3V. I couldn´t find the spec sheet but it has a label that says V8/V9 S/N: WT048000317 . I have just tried with 5 different cables and it worked all right with all of them. The fact that I am a beginer maked me ask the question in the forum but with your answers, you gave me confidence that I was doing everything all right. That really helped me to find the solution. Thank you all and keep like this. You are great!!!! Thanks again, Nicolas Cantera