Question: Electronics newb, writing code on a Mac for ESP32 using Platformio. The ESP32 is connected to my Mac Studio via USB and a USB hub. All works well as long as I use one specific Micro USB cable which I have found via trial and error. The device is properly detected and upload works fine.

However, now I’d like to move the prototype further away from my workstation. For this I require a longer USB cable. After some searching I realized that not all Micro USB cables support a data connection.
Considerin this, after just buying [my second, supposedly fully connected Micro USB cable](https://www.amazon.de/gp/product/B0722PX1PM/) — still not luck.

Could the length be an issue?
Do you have some advice which cable to buy for this use case?

Any advice (and maybe explaination) on this issue would be greatly appreciated.

Answer: 
Here's the appropriate schematic.

[![enter image description here](https://i.stack.imgur.com/9ITML.png)](https://i.stack.imgur.com/9ITML.png)
You can double or triple the voltage by connecting another bridge rectifier. However, while voltage multipliers can increase the voltage, they only supply a lower current to the load. In this way, an additional 24 V power supply or a 36 V power supply can be easily made.

**Voltage doubler circuit:**
[![enter image description here](https://i.stack.imgur.com/C1w7L.jpg)](https://i.stack.imgur.com/C1w7L.jpg)
[![enter image description here](https://i.stack.imgur.com/fcYW6.jpg)](https://i.stack.imgur.com/fcYW6.jpg)
**Voltage tripler circuit:**
[![enter image description here](https://i.stack.imgur.com/ReOsu.jpg)](https://i.stack.imgur.com/ReOsu.jpg)
[![enter image description here](https://i.stack.imgur.com/9mIvh.jpg)](https://i.stack.imgur.com/9mIvh.jpg)