X-Y coordinate mouse box - á la Etch-a-Sketch » Historique » Version 1
Sander Samuel, 07/05/2015 10:44
1 | 1 | Sander Samuel | X-Y coordinate mouse box - á la Etch-a-Sketch |
---|---|---|---|
2 | ============================================= |
||
3 | Arduino Micro has Atmel 32U4 as a brain, and this chip can act as a a generic HID device and emulate a mouse. So I'll attach two rotary encoders for X & Y, probably a IR sensor, so it can also take commands from a remote control, and put it in a box. With a nice cable and two knobs on it it should convince anybody to abandon their trackpads forever. |
||
4 | |||
5 | Parts: |
||
6 | ------ |
||
7 | * Atmel 32U4 based [Arduino Leonardo Micro Pro](https://www.sparkfun.com/products/12640) clone - [ebay](http://www.ebay.fr/itm/Leonardo-Pro-Micro-ATmega32U4-Arduino-IDE-1-0-3-Bootloader-replace-Pro-Mini-/310634777706?pt=LH_DefaultDomain_0&hash=item4853468c6a) |
||
8 | * 2 rotary encoders [ebay](http://www.ebay.fr/itm/310702417391?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649) |
||
9 | * Nice [cable](http://www.ebay.fr/itm/291301484101?var=590434167867) |
||
10 | |||
11 | ![board](https://dl.dropboxusercontent.com/u/2515634/acolab-redmine/micro-pro.JPG) |
||
12 | ![encoder](https://dl.dropboxusercontent.com/u/2515634/acolab-redmine/rotary-encoder.jpg)![encoder](https://dl.dropboxusercontent.com/u/2515634/acolab-redmine/rotary-encoder.jpg) |
||
13 | ![cable](https://dl.dropboxusercontent.com/u/2515634/acolab-redmine/cable.jpg) |
||
14 | |||
15 | Code: |
||
16 | ------ |
||
17 | * [mouse and keyboard libraries](http://www.arduino.cc/en/Reference/MouseKeyboard) |
||
18 | * [encoder library](http://www.pjrc.com/teensy/td_libs_Encoder.html) |