Page 1 of 1

TinyUSB on ESP32 WROOM 32D

Posted: Thu Mar 02, 2023 9:46 pm
by MMartinez85
Hello, I'm currently working on a project that involves data logging and saving on a microSD card using a Firebeetle using an ESP32 WROOM 32D. We currently have it working but I just realized a method of data extraction might not be possible. We wanted to extract the data via the micro USB port the Firebeetle has but when looking into TinyUSB I noticed that it only talks about the ESP32-S2. Is that really the only chip it will work with? I'm going to try out TinyUSB still but just wanted to see if there were other ways to extract the data from the microSD card. We were planning on extracting with Bluetooth as well but we really wanted to extract using a cable. I'm still new to the ESP world so sorry if some things aren't obvious to me.

Thank you!

Re: TinyUSB on ESP32 WROOM 32D

Posted: Sat Mar 04, 2023 12:12 am
by ESP_Sprite
TinyUSB needs USB-OTG, and at the time of writing this comment only the ESP32-S2 and -S3 has that.

Re: TinyUSB on ESP32 WROOM 32D

Posted: Wed Mar 15, 2023 3:57 pm
by jigr1969
You can add USB OTG by means of a USB to Serial bridge chip, which is the CH340.

Something like this, https://www.sparkfun.com/products/15096, attached to some GPIO pins on the ESP32 will give you the ability to transfer data via USB. The issue will be the code to allow such a thing to happen will be difficult.

Alternatively, you can transfer data serially?