Page 1 of 1

ESP32-S2 to create Virtual-Here like remote WiFi USB server?

Posted: Wed Aug 24, 2022 10:35 pm
by puterboy
Currently, I use a Raspberry PI Zero running VirtualHere server to create a remote WiFi USB hub server with the VirtualHere client software running on my Windows Iaptop.

This allows me for example to view and control my oscilloscope and digital function generator remotely since each of them is controllable via USB. So, I connect the RPi to the oscilloscope or function generator via USB and then remotely control and monitor USB over WiFi via my remote laptop.

Now a RPi seems overkill plus RPI's are not made to be shutdown abruptly.
It seems like it would be ideal to use an esp32-S2 as the remote USB hub server -- as it seems to have all the necessary functionality: WiFi, full USB stack along with ample speed, memory and processing power with its 2 cores. Plus the esp32 board could probably even be powered by the USB port itself.

So, has anyway done such a feat?

There are so many use cases beyond the one I reference above which would benefit from converting a fixed USB device into a wireless WiFi USB device, all for the price of a cheap, tiny, and low-power esp32 board.
For example, convert a USB keyboard or game controller into a WiFi keyboard or game controller.

Any thoughts?

Re: ESP32-S2 to create Virtual-Here like remote WiFi USB server?

Posted: Thu Aug 25, 2022 1:28 am
by chegewara
Virtual here application is based on USB/IP protocol. Here you can find some info about USB/IP on esp32:
https://www.google.com/search?q=usb%2Fi ... e&ie=UTF-8