Buying guide · Beginner · 3 min read
USB Cables and Connectors
Type-C, Micro-B, Data vs Charge
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
Most upload problems blamed on a board are really the USB cable. Charge-only cables carry power but no data wires, so the board powers up but the computer cannot see it. Arduino Uno uses USB Type-B, many ESP32 and Nano boards use Micro-B or Type-C, and new boards use Type-C. When adding a USB-C socket to your own design, fit 5.1 kΩ pull-down resistors on CC1 and CC2, or USB-C chargers will not supply power.
Key specs at a glance
- Type-B
- Arduino Uno and Mega, printers
- Mini-B
- Older Arduino Nano clones
- Micro-B
- Many ESP8266, ESP32 and Pico boards
- Type-C
- Newer ESP32, Pico 2 boards, Raspberry Pi 4 and 5
- USB 2.0 power
- 5 V; 500 mA standard port, more from chargers
- USB-C sink
- Two 5.1 kΩ resistors on CC to request 5 V
Data vs charge-only cables
Cheap cables bundled with gadgets often omit the D+ and D− data wires. If a board lights up but no COM port appears, try a known data cable first. Label your good data cables.
Then check the driver for the board's USB-to-serial chip (CH340, CP2102 or FTDI). Long, thin cables also drop voltage, causing resets when Wi-Fi or a motor starts; keep cables short or use a thicker one.
USB-C in your own projects
A USB-C socket on a breakout or your own PCB must tell the charger it wants power. Put a 5.1 kΩ resistor from each of CC1 and CC2 to ground; without them, many USB-C chargers and C-to-C cables supply 0 V. Getting more than 5 V (9, 12 or 20 V) needs a USB PD trigger board that negotiates with the charger.
Protect projects with a polyfuse, and add a Schottky diode if the board might be powered from USB and another source at once, so they do not back-feed each other.
Current and powering projects
A computer USB 2.0 port supplies 500 mA by default, USB 3.0 ports 900 mA. Phone chargers often give 1 to 3 A at 5 V, which suits LED strips and small motors. Calculate your load with the power supply sizing calculator. For anything over a couple of amps, use a dedicated SMPS and power wiring rather than a USB cable.
Try it: Voltage drop calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Using a charge-only cable and blaming the board.
- Missing CC resistors on a USB-C socket.
- Long thin cables causing brownouts.
- Drawing more current than a computer port can supply.
- Back-feeding USB and an external supply together.
Frequently asked questions
Why is my board not detected on USB?
Most often a charge-only cable. Try a known data cable, then install the CH340 or CP2102 driver.
Which USB cable does Arduino Uno use?
USB Type-A to Type-B, the square printer-style connector.
Why does my USB-C board not power from a C-to-C cable?
It probably lacks the 5.1 kΩ CC resistors. A USB-A to C cable may work instead.
Can I get 12 V from USB-C?
Yes, with a USB PD charger and a PD trigger board set to 12 V.
How much current can USB supply?
500 mA from a USB 2.0 computer port; 1 to 3 A or more from chargers.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 14 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
- USB-IF USB Type-C Cable and Connector Specification
- USB 2.0 specification (power limits)
- WCH CH340 datasheet
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




