I am working on a project where stm32 HID device is connected to a PC using USB cable. There is no need for unplugging on the product side, so can I replace a usb connector with JST one or directly solder it on board? Does the metal part of micro usb play a role in data transfer?

  • \$\begingroup\$ This has been done in at least one product I'm using, with the connector available to the customer. I own a bigger version of that device and it works pretty nicely. \$\endgroup\$
    – jaskij
    Apr 13, 2021 at 10:53
  • \$\begingroup\$ The metal part connects the shield which helps with EMC but does not itself carry data. if you need the shield on your device just use another connector pin. \$\endgroup\$
    – Jasen
    Apr 15, 2021 at 20:12

1 Answer 1


A lot of USB devices such as keyboards or mice have a captive cable which either has a custom connector is directly soldered to board.

The Micro USB connector itself plays no role in the data transfer.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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