470,647 Members | 1,155 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

accessing a USB HID

I've been teaching myself Python as part of my senior design project at
university.

The obstacle our group currently faces is communicating with a
microcontroller (ACS USB Servo II) that appears in Windows as a USD
HID. Unfortunately, the vendor's sample code is in Visual Basic and
Visual C++ which none of our group members have any experience using.

My hope is that someone has experience with this type of problem and
can point me to some reference material. At this point I'm a bit lost
in the morass of USB terminology.

While I'm at it... if anyone knows of a better way to approach this
problem (serial or parallel microcontroller) or another language with
better tools, I'd appreciate that as well. We're just trying to turn
several motors on and off while polling some photodiodes and all this
HID business seems like unnessary overkill.

Any assistance much appreciated,
Jordan

Mar 17 '06 #1
3 1740
jo*******@gmail.com wrote:
I've been teaching myself Python as part of my senior design project at
university.

The obstacle our group currently faces is communicating with a
microcontroller (ACS USB Servo II) that appears in Windows as a USD
HID. Unfortunately, the vendor's sample code is in Visual Basic and
Visual C++ which none of our group members have any experience using.

My hope is that someone has experience with this type of problem and
can point me to some reference material. At this point I'm a bit lost
in the morass of USB terminology.

While I'm at it... if anyone knows of a better way to approach this
problem (serial or parallel microcontroller) or another language with
better tools, I'd appreciate that as well. We're just trying to turn
several motors on and off while polling some photodiodes and all this
HID business seems like unnessary overkill.


After cursory look at the device home page it appears the vendor is
providing an Active X control. So it looks like you will need to learn
client side COM programming no matter what language you choose. For
Python you will need win32 extensions:
http://starship.python.net/crew/mham...Downloads.html
or you can use ActivePython distribution that comes integrated with it.

Don't be scared by USB HID, it's just a mandatory classification of the
device under Windows, you don't need to deal with it. Python and COM
don't look scary:
http://www.python.org/windows/win32c...ClientCom.html

-- Serge.

Mar 17 '06 #2
In article <11**********************@j33g2000cwa.googlegroups .com>,
Serge Orlov <Se*********@gmail.com> wrote:
jo*******@gmail.com wrote:

Mar 17 '06 #3
Thanks! I'll get cranking along and post my progress to the thread.

Mar 17 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Amy Tseng | last post: by
5 posts views Thread by Sandeep | last post: by
6 posts views Thread by Chris Styles | last post: by
47 posts views Thread by fb | last post: by
3 posts views Thread by AdamM | last post: by
3 posts views Thread by niju | last post: by
5 posts views Thread by Daniel Corbett | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.