DC to USB cable is often used in our life, and in various electronic products , these cables can be used universal, but the function is different, some USB cable can only charge but others can be coming with both power charging and data transmission. It depends on the structure of the cable.
USB data cable structure
1. In general, red line: positive pole of power supply (marked as +5V or VCC on the wiring), white line: negative voltage Data line (marked as: Data- or USB Port -), green line: positive voltage Data line (marked as: Data+ or USB Port +), black line: GROUND (marked as: GROUND or GND).
2. The USB head faces up to yourself (that is, the one with the touch piece faces up, and you can clearly see the touch pieces yourself). From left to right, the corresponding functions of the wires connected by the touch piece are: ground cable, reading cable, writing cable, and +5V cable.
3. The USB flash drive is a USB port, with the power cord on both sides and the data cable in the middle.