English 中文(简体)
Talking to a motor driver through USB
原标题:

I have a motor, connected to a motor driver, connected a windows XP computer by a CAN-BUS (throught USB). I want to "talk" to the motor driver and have some questions:

  • Does the USB appear as a COM port?
  • What protocol do I use or how do I find out what protocol to use?
  • Does anyone have or know of any public implementations of a similar thing that I can look at?
  • Are there any other hits you want to share?

    Thanks!

问题回答

While I also think SO is a better place for this, I do have some useful information.

Check out this CodeProject article, it explains the basics of talking to USB devices, with a sample Win32 application. It s pretty focused on the HID class of USB devices, so if you CAN based driver doesn t present itself as a HID device, you might be in for some pretty significant work.





相关问题
Question about Process communication over USB cable

I have some questions regarding communication over USB cable in Linux, in a Host-Target Device environment.(USB2.0) Please help as we are stuck for the below imiplementation. We have a host PC ...

Turn on PC with USB-device

I want to be able to turn my PC on and off using an IR-remote sensor that is connected via USB to the PC. The sensor is a custom PCB implemented with an AVR microprocessor and V-USB software USB-...

Is there software or code to alter USB power output

I had a look at this and this but no one sounded particularly sure of their ideas and I m kind of after a different thing anyway. I want to hook my usb power cables (red and black) up to my phone so I ...

Monitor USB traffic

I want to view all traffic going out the USB, with the potential to block data transactions to/from the USB based on content policy. How would this be done? Any way to achieve this in C#, or is it ...

热门标签