Skip to content
Discussion options

You must be logged in to vote

For USB, the standard type to show up as a soundcard/microphone on the PC, would be Audio Device Class
However, there is no example code for that in micropython-lib, yet. https://github.com/micropython/micropython-lib/tree/master/micropython/usb
I also think that USBDevice requires ESP32-S3 ?

So the easiest is likely to use Wi-Fi and send the data to a web server. For example, send a few seconds at a time, using either HTTP or MQTT. You will want to implement some queuing/buffering between the reading of audio data and transmission over Wi-Fi. I hope you have a ESP32 board with PSRAM, as this will be a bit RAM hungry to get working reliably.

Replies: 3 comments 4 replies

Comment options

Josverl
Sep 27, 2025
Collaborator Sponsor

You must be logged in to vote
3 replies
@ujur007
Comment options

@JackCode0011
Comment options

@ujur007
Comment options

Comment options

You must be logged in to vote
1 reply
@ujur007
Comment options

Answer selected by ujur007
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
4 participants