Refer: Silicon Chip Magazine July, 2013.
An easy way to test a USB port to see if it is dead, faulty or incorrectly wired to help prevent damaging a valuable USB device you plan to connect. Voltage is indicated using three LEDs. The complete project can be protected using the supplied clear heatshrink tubing. Kit supplied with double sided, soldermasked and screen-printed PCB with SMDs pre-soldered, clear heatshrink, USB connectors and components for USB 2.0 & USB 3.0.