Go Down

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

fkeel


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?

Thanks

P.
http://embodimentlabs.tumblr.com/
http://paulstrohmeier.info/

CrossRoads

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.
http://www.bestbuy.com/site/Dynex%26%23153%3B+-+Wireless+Optical+Mouse+-+Gray/2380794.p?id=1218323850772&skuId=2380794
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.

fkeel


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?
http://embodimentlabs.tumblr.com/
http://paulstrohmeier.info/

putyn

#3
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...

http://pjrc.com/teensy/usb_keyboard.html
http://pjrc.com/teensy/usb_mouse.html
http://pjrc.com/teensy/td_keyboard.html
http://pjrc.com/teensy/td_mouse.html

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

bilbo

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

fkeel

thats pretty sweet. thanks for the link, bilbo :-)
http://embodimentlabs.tumblr.com/
http://paulstrohmeier.info/

Go Up