3
\$\begingroup\$

I'm trying to replace a 2 pin JST connector with a micro usb female connector to supply 5v to my circuit.

Obviously I should connect VBUS to +5v and GND to GND.

Should I connect shield to GND?

Should I do anything with the other pins (D+, D-), or just leave them not connected?

enter image description here

\$\endgroup\$
1
  • \$\begingroup\$ You can leave the data pins unconnected. \$\endgroup\$
    – user57037
    Commented Apr 23, 2017 at 5:21

1 Answer 1

3
\$\begingroup\$

If you are (ab)using USB for power only, on most computers and power supplies you can simply connect VUSB and GND. You do not need to connect shield. Keep in mind you should limit it to 500mA if you are using a PC as the source. 90% will not require enumeration.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.