Our great sponsors
-
EspTinyUSB
ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If you want to plug in a USB device such as a GPS puck, the S2 must be in USB host mode. The ESPTinyUSB library includes a few USB host examples. The acm directory is for USB CDC ACM but I have no idea if this will work for your device.
I have the Adafruit ESP32-S2 TFT board, and I am trying to read in a USB peripheral on my ESP board. I thought this was going to be an easy task and I am quite overwhelmed. I was hoping I could stay in the circuitpython ecosystem, but it seems like making the ESP32 a USBhost is not supported yet. My next level of comfort would be in the arduino ecosystem using https://github.com/adafruit/Adafruit_TinyUSB_Arduino. I believe this will do what I want, but I am having difficulty porting it into the Arduino core. Has anybody here done this successfully? I'm specifically stuck on #2:
Related posts
- I've been working on a new sound library for the ESP32, but I could use some help.
- Is it possible to access the S3 USB interface (not the serial one) from Arduino? If so, what does it look like?
- Benchmarking latency across common wireless links for microcontrollers
- USB host on ESP32 with Arduino IDE
- Physical Knobs and Elixir