TinyUSB on ESP32 WROOM 32D

MMartinez85
Posts: 1
Joined: Thu Mar 02, 2023 9:30 pm

TinyUSB on ESP32 WROOM 32D

Postby MMartinez85 » Thu Mar 02, 2023 9:46 pm

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!

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: TinyUSB on ESP32 WROOM 32D

Postby ESP_Sprite » Sat Mar 04, 2023 12:12 am

TinyUSB needs USB-OTG, and at the time of writing this comment only the ESP32-S2 and -S3 has that.

jigr1969
Posts: 1
Joined: Wed Mar 15, 2023 3:53 pm

Re: TinyUSB on ESP32 WROOM 32D

Postby jigr1969 » Wed Mar 15, 2023 3:57 pm

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?

Who is online

Users browsing this forum: No registered users and 44 guests