Pages: [1]   Go Down
Author Topic: Help me find the right tool: 1 Analog input to USB  (Read 761 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
God Member
*****
Karma: 2
Posts: 711
a, b = b, a+b
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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.
Logged


Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 439
Posts: 23794
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
God Member
*****
Karma: 2
Posts: 711
a, b = b, a+b
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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?
Logged


Romania
Offline Offline
Full Member
***
Karma: 0
Posts: 174
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: September 30, 2011, 01:18:50 pm by putyn » Logged


Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12283
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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.
Logged

0
Offline Offline
Sr. Member
****
Karma: 1
Posts: 360
I'm 15. I like making things. I like breaking things better.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

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

Offline Offline
God Member
*****
Karma: 2
Posts: 711
a, b = b, a+b
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Pages: [1]   Go Up
Jump to: