3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino as USB-client?

I was searching for something fun to make with my arduino when I came across this:
http://www.practicalarduino.com/projects/virtual-usb-keyboard
I tried to make it work but it didn't work for me. could that be because I used 3.3V zener diodes?
If you made something according to the link did it work for you?
 

7 answers
sort by: active | newest | oldest
Dec 29, 2011. 9:09 AMsteveastrouk says:
I doubt its the zeners. Did it ennumerate ?

Steve
Dec 29, 2011. 11:07 AMsteveastrouk says:
The process of the computer recognising your device is called ennumeration.

Try reversing the data lines and see what happens.

Its a clever, and very complex piece of code you're playing with.

Steve
Dec 31, 2011. 3:42 AMsteveastrouk says:
You SAID it didn't see your arduino the first time !

I would add some debugging code and run the Arduino's own serial port to your PC as well.
Dec 31, 2011. 10:32 AMsteveastrouk says:
You've picked a particularly complex project to start with then !! The V-usb driver stack is not the easiest thing to steer by the look of it.

There will be other things you need to set in the code I suspect. The REFERENCE project that this is based on is here
http://www.obdev.at/products/vusb/hidkeys.html

The arduino USB library you need is here:
http://code.google.com/p/vusb-for-arduino/downloads/detail?name=vusb-for-arduino-005.zip

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!