Add another USB port to ESP32?

Hey all,
I'm working with the DOIT ESP32 DevKit V1 Wi-Fi Development Board with only 1 micro-usb port and a radar that only has a usb-c port. Is it possible to connect the radar to the esp32 somehow? My first thought was to use the Adafruit FT232H Breakout module to convert usb-c to GPIO or SPI, but I'm unsure if that would work or not. Or if there was a better solution to this issue. Any ideas?
Thanks in advance

Can you provide a link to the radar user guide?

Have you tried an adapter cable? I am assuming the ???radar is compatible.

1 Like

Here it is. I noticed that there are UART pins on it, so is it as easy as just connecting those 4 pins to 7, 8, 16, 17 on the dev board?

The ESP32 would have to be configured as USB Host (if that's possible).

I'm new to this stuff so I'm not sure what you mean by an adapter cable. Is that a usb-c cable with GPIO heads on the other end? This is the radar I'm using for reference.

No. The uRAD device is 5v, and the I/O on the esp32 is not 5v tolerant. You will need level shifters.

Indeed pins 16 and 17 are indeed a UART and typically used as Serial2.

What is on pins 7 and 8 of the esp32 dev board?

Don't use those ! they are connected to flash. If you want to use UART1 the default pins are 9 & 10, but also those are not usable, but you can modify the pins.

I would use the UART mode. But make sure you protect the ERSP32 rx pin. use 3x 1k resistors.
RADAR tx -> 1K ESP32 rx -> 1K -> 1K -> GND to drop the logic level down from 5v to 3.3v Do not use higher value resistors, or you will not be able to achieve the baud rates you want.

You stated there were connectors with the two ports, they make adapter cables that will have a USB-C connector on one and a micro-USB on the other. It appears that will not work but without knowing what you are using I can use the information given.