143Views6Replies

Author Options:

Arduino/Trinket USB scroll wheel? Answered

I've seen several tutorials on making an Arduino or Adafruit Trinket based volume control wheel, but I can't seem to find anything about making a scroll wheel.  Does anyone have any suggestions or know of any tutorials on how to make a USB scroll wheel with an Arduino or Trinket?
Thanks
~Josh

6 Replies

user
steveastrouk (author)2017-12-27

Shouldn't be too hard with an Arduino Leonardo. That will enumerate as a HID in the USB stack, with the right coding, then making it emit mouse events is straight forward

Select as Best AnswerUndo Best Answer

user

I hadn't thought of that, I'll have to look into how much a Leonardo costs. Thanks!

Select as Best AnswerUndo Best Answer

user
Downunder35m (author)2017-12-27

Original UNO or china clone?
The later often use a different USB chip that requires a different driver to work.

Select as Best AnswerUndo Best Answer

user

If I use an Arduino, it would be a clone.

Select as Best AnswerUndo Best Answer

user
Downunder35m (author)2017-12-26

Do you something like the scroll whell on your mouse to go through webpages and so on?
Or just to get scroll and directional impulses to be used on Arduino or similar?

Select as Best AnswerUndo Best Answer

user

Like the scroll wheel on a mouse, to go through webpages and stuff.

Select as Best AnswerUndo Best Answer