USB to Wireless to USB ... is it possible?

Is there any USB adapter that you can plug in your PC and will convert the USB output in wireless and then have a second USB adapter that will receive the wireless signal and reconvert it to USB input? The second USB adapter would preferably have to be relatively small.

UPDATE:

What I'm really trying to do is: a really long USB cable, but without the cable; in other words, "wireless USB". I'm trying to connect a robot that I built and that has a USB port. Of course, I could add a wireless interface but it'd be long and complicated... that's why I came up with this idea. USB hubs aren't really an option since the said robot has to move around.

4

8 Answers

Wireless USB hubs and extenders do exist (this hub, for instance) but they appear to be rather expensive. I would expect their to be noticeable speed and latency issues so I wouldn't want to run an external drive or video device using one, but for something like a printer it should work well (though for that particular use you might find it significantly cheaper+easier to buy a new printer with wireless built in and connect it to your existing wireless AP as a network printer).

1

I've recently found the answer, with the help of some feedback from my own thread (here).

To have the a USB device extended over the wireless network, you'll need something called a "virtual USB" setup. One service I've successfully used was VirtualHere (Windows compatible), with an alternative being USB/IP (more for Linux).

Essentially, the "USB adapter" you've mentioned would have to be a computer with WiFi capabilities; In the case of a robot, perhaps the WiFi-included version of a Raspberry Pi computer could do the trick.

I would say this is not simple to do for one reason - power supply. USB is in most cases used also to power the connected device. Imagine you would like to connect a flash drive this way. USB cable transmits 5V to the device so it can work. Using wireless dongle connected to PC would provide power to the dongle, but not to the remote USB (smaller plug for input to the usb flash disk). For this reason, such wireless USB cable would require its own power supply (eg. a battery, which will be relatively big and you would need to charge it often, or a wall plug).

3

If it capable of accept a USB wifi adapter use that to connect to it to your wifi. Then communicate over IP.

If not, you could strap a raspberry pi 3 onto your robot, and connect that to your wifi. Its will offer a large amount of functionality, including storing pre-built routines on the SD card. The Pi has USB ports so you can run a short 1 foot or less cable, and connect the 2 devices.

You then have to operate over TCP/IP.

There's a device made by Speedybee which claims to be a Bluetooth to USB host adapter, so you plug it into a USB device. It needs power of course since it's not going to get any from the USB device. It seems to have been made to talk to their drone flight controller but it says it allows a serial port over USB up to 110kbaud. So it might be usable for your robot.

Your questions are a little ambiguous -- we don't know what you're trying to connect. There are two possibilities: a USB device, or another computer.

  • To connect another computer, you'd use a NIC. USB Wifi NICs exist and are on the market; put one on each computer, and configure an ad-hoc network (or use a wifi router or AP). You could also use a USB serial port to connect two computers, but existing products will probably be designed for wired use.

  • To connect a USB device, you'd use a USB extender. Wired versions are available; they convert USB to ethernet cabling to extend the signal range beyond USB's 5m limit.

    I don't know of any wireless extender products, but it's not impossible. It'd make an interesting DIY project.

This sounds like a job for Bluetooth? Bluetooth is designed to be the wireless peripheral connector protocol.

You can get Bluetooth compatible versions of almost all USB peripherals (mice, printers, webcams, speakers, etc), and these days USB Bluetooth dongles to plug into the back of your PC can be smaller than your thumbnail.

Thomas M brought up an excellent point, which is that USB technology is intended to provide both data transfer AND POWER to the connected device.

So the concept of creating a USB OVER THE AIR technology doesn’t really work because at best, you could, in theory, convert the usb data protocol over to some kind of wireless protocol, but then how do you address the power requirement of the end device? Sure, you could make the wireless USB receiver device capable of being plugged into the wall for power and that would only give you an advantage of being able to replace a usb cable with a power supply instead... From an engineering / product design perspective I can’t see much utility in a USB OVER THE AIR technology and if you really do need it, then get a raspberry PI and use ‘VirtualHere’ which seems to be a mature and flexible USB over TCP/IP technology that has a wide variety of platform support.

You Might Also Like