Alex Rivera | Logout

How do I program a driver for a USB device for windows platform?

Asked 2008-10-02T07:58:45.193
12

I am looking for a device that reads wiring voltages via a USB interface and returns the data. How would I go about programming something to interpret this data and what language would I use?

edit: If it helps, this project is to develop a digital tachometre for older engines that don't support a comprehensive ODB2 data port. Therefore, it will read voltages on a DC circuit and have an accurate graphical interface. I have absolutely no idea where to start with all this but am determined to make it work! it's for windows.

Edit
Report

2 Answers

3

Have a look at libusb. It is available for both Linux and Windows.

answered 2008-10-02T08:02:04.077
1

Your easiest option is probably to buy some kind of off-the-shelf data acquisition device. Lots of companies make that kind of thing, but they're sometimes frighteningly expensive:

  1. National Instruments
  2. Amplicon
  3. LabJack

You could also build your own from a kit, although I can't find any links for you just now.

If you want something more custom you could use an EZ-USB or a PIC. They provide USB drivers (for Windows, at least) that allow you to interact with the device without writing drivers.

With most of these you have a fairly wide choice of programming languages, I've written software to communicate with EZ-USB devices from Visual Basic 6 in the past.

answered 2008-10-02T11:05:31.267

Your Answer