USB TO USB bridge using ESP32

Hello I'm working on a project and want to know if is possible to create a wireless usb connection using an ESP32, the purpose is to read the date from the device using ESP32 dand transmit wireless to the computer USB using an ESP32. I can't use the WIFI or BT of the computer so that is why I'm trying to know if this is possible, thanks!

read and transmit DATA*

I moved your topic to a more appropriate forum category @yoalmir .

The Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.

In the future, please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

Hi @yoalmir. Yes, it is possible.

Study the example sketches that are listed under Arduino IDE's File > Examples > WiFi menu to learn how to use the Wi-Fi capabilities of your ESP32 boards, then apply that knowledge to your project. After doing that, if you have any problems or specific questions you can come back here and add a reply on the forum thread with your code to get assistance from the forum helpers.

1 Like

Sorry thanks

1 Like

Ok will do that did you know if needs to be an specific ESP32 board?

Probably any ESP32 board would work, but it is not possible to give a definite answer without knowing more about your project:

  • How exactly is the board reading from the device?
  • How exactly do you want to communicate between the board and the computer over USB?

I assumed you already had the "NodeMcu" style of ESP32 board shown in your diagram.


If you don't already have the boards, you can consider the Arduino Nano ESP32:

https://docs.arduino.cc/hardware/nano-esp32

The Nano ESP32 is manufactured by Arduino and so buying this specific board helps to support the work the Arduino company does to produce, maintain, and support free open source software and documentation.

I think it is meant as a general USB extender, not for only one specific USB device and host.
Like some wireless USB "cable extension" over BT or WiFi, where the ESP32 will build the transparent wireless bridge between any USB device and host.
Correct?

Yes correct, that is exactly what I’m looking for ESP32 create the wireless bridge, I did order the ESP32 never worked with before but I was reading that is another device that support the USB feature like the ESP32-S3 so that is what I ask about to get the right one

This is definitely a tricky thing if you want to support the use with arbitrary USB devices. I didn't realize that was what you were hoping to accomplish.

If you want to work with native USB on either side (rather than only sending serial communication through a virtual serial port), then you will definitely want to get boards that use the modern ESP32 variants with native USB support, rather than the classic ESP32, which does not have native USB support.

Thanks for the information

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.