USB communicaqtion with Windows

I’m looking for examples of communication between Arduino controllers and the Windows API. More than just sending an upper or lower case character to set a pin high or low. I’m currently using an UNO R3. Here are some questions.

The current driver in use is usbuser.sys. It appears to be from Microsoft, but it seems to work on anything I’ve done so far.

  • Is there a driver from Arduino that should be used instead?
  • Will the Uno R3 work with Winusb.sys?

Are the Arduino Uno R3 or any of these drivers compatible with Windows.Devices.Usb?

Are there any guidelines from Arduino for developing a UWP-compatible driver, and/or library?

Can anyone provide any insight on this topic?

Thank, Chuck

I'm not a specialist in this area; the only question I can maybe answer is

No; the 'drivers' provided by Arduino seem to just link a USB VID/PID with a Microsoft usbser.sys driver and provide some additional details like a name.

No way with stock Uno. You'd have to flash a different firmware on the 16u4 (or what ever is used for usb communication).

What language and compiler are you using?
You basically don't need to know anything about what drivers Windows is using, you just need to open the correct serial port in you code

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