kurtheiz
Posts: 1
Joined: Sat May 02, 2015 1:27 pm

Connect via ISB to PC

Sat May 02, 2015 1:31 pm

Hi,

Is it possible to connect to the Rasberry Pi from my PC directly via USB? I would like to plug in a HID Barcode Scanner into a USB port on the Pi, and receive the scanned values via the Pi to a program on my PC via USB ?

User avatar
rpdom
Posts: 13889
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Connect via ISB to PC

Sat May 02, 2015 3:32 pm

No.

The Pi is a USB Host, the same as a PC. You can't connect two hosts together.

pauldy
Posts: 54
Joined: Tue Jun 12, 2012 3:34 pm

Re: Connect via ISB to PC

Sat May 02, 2015 3:49 pm

It would be possible for slave mode on the A units but you get host or slave mode not both at the same time. You could write your own usb stack for the gpio pins but that seems like overkill. Best option is to deliver the scanned data via ethernet unless you are doing some type of mitm parsing of the barcode data in which case the rpi isn't the device for you.

Return to “Windows 10 for IoT”