Go Down

Topic: Help me find the right tool: 1 Analog input to USB (Read 1 time) previous topic - next topic


Hi Everyone

I have a project which is space sensitive and basically requires only one analog input. The device should however be automatically recognized (as in, I dont want to worry "which com port is it" as I have to do with Arduinos)

I like the teensey, becouse rumor has it I cen let it emulate a USB device: http://www.pjrc.com/teensy/

I like this formfactor a *lot*: http://www.phidgets.com/products.php?category=0&product_id=1011

Both of these products feel overkill for my needs though.

What I want to do is basically create an additional scroll-wheel for moving through contents, such as a website. It should have the form-factor of a flash-drive, or usb dongle.

Any suggestions?




Can you just plug in one of the little laptop wireless mouse kind of thing?
Best buy shows 157 different models, here's an inexpensive one.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


hm. I would actually like to directly attach a potentiometer to my computer. I am sure there are some hacks which will have the same effect, but I want to figure out how to do it my (maybe more complicated) way:

take some analog sensor (i.e. potentiometer) --> connect it to some type of A/D converter --> connect it via USB to a computer --> have the computer recognize the device as the scroll wheel of a mouse

In the end I want a little USB dongle, with a twistable nob, which I can just plug into my laptop and scroll through text.

(and yes, its a gross oversimplification of what will be going on.)

Is this clearer?

Any suggestions?


Sep 30, 2011, 07:43 pm Last Edit: Sep 30, 2011, 08:18 pm by putyn Reason: 1
as far as i know teensy uses an atmel chip that has built in usb support

for your project you need to look at some usb implementations for atmel
vusb http://www.obdev.at/products/vusb/index.html
usbtiny http://dicks.home.xs4all.nl/avr/usbtiny/

hope this helps

Coding Badly

I'm a big fan of the Teensy.  I have several and they have served me very well.

Given the fact that you are building an HID device, the Teensy is a very good choice...


The price is certainly reasonable ($16).  And, the Arduino IDE enhancements are a nice bonus.


I remember seeing this a long time ago. Looks like it supports hid, so im sure you could emulate a scroll wheel. http://yveslebrac.blogspot.com/2008/10/cheapest-dual-trace-scope-in-galaxy.html
Alice asked the Chesire Cat, who was sitting in a tree, "What road do I take?"
The cat asked, "Where do you want to go?"
"I don't know," Ali


thats pretty sweet. thanks for the link, bilbo :-)

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131