Inquiry About ESP32 Thing Plus (USB-C) as USB Mass Storage Device

Dear SparkFun Community,

I am considering purchasing the ESP32 Thing Plus (USB-C) and have a few questions regarding its capabilities. Specifically, I need to use it as a USB mass storage device for data logging purposes.

When connected to a PC via USB-C, can the device be recognized as a USB mass storage device with the microSD card as the primary storage?

Is there a possibility that the 16MB SPI flash storage will be recognized as the primary storage instead of the microSD card?

Does the device support FAT32 file system on the microSD card?

Thank you for your assistance.

Best regards,

You can use TinyUSB to set up the ESP32 to present the microSD card as a mass storage device.

If you’re using WRL-20168, then no. It’s a usb serial device and can not become a mass storage device.

Thank you very much for your responses.

I will try using TinyUSB to set up the ESP32 Thing Plus (USB-C) to present the microSD card as a mass storage device. Your guidance has been very helpful.

Best regards,

I got my ESP32 Thing Plus to read a SD card with FAT file system on it using this library:

I don’t believe the ESP32 as on the Thing Plus has any USB protocols implemented in the hardware. Refer to spec sheet below, “ESP32 Series” as found on Thing Plus.

If possible you’d have to find a software implementation of the USB Mass Storage Device. I found this searching the internet…

https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/api/usb_msc.html

FYI ~ I think you’d have to also buy a USB port breakout and connect to GPIO, as the connector on the board is run through a serial logic level conversion chip.