Project:Arduino Rotary Encoder Menu System: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
I have recovered a number of ALPS rotary encoders from discarded industrial CRT monitors. I'm working on building a user interface menu system that makes use of the rotary encoders as the sole input technique. | I have recovered a number of ALPS rotary encoders from discarded industrial CRT monitors. I'm working on building a user interface menu system that makes use of the rotary encoders as the sole input technique. | ||
<div style ="height: | <div style ="height:300px;overflow-x:hidden;overflow-y:auto;border: 4px solid green;"> | ||
'''Rotary Encoder Test Sketch With Interrupts (non-PWM)''' | '''Rotary Encoder Test Sketch With Interrupts (non-PWM)''' | ||
<syntaxhighlight lang="cpp" line="GESHI_FANCY_LINE_NUMBERS" enclose="div"> | <syntaxhighlight lang="cpp" line="GESHI_FANCY_LINE_NUMBERS" enclose="div"> | ||
Line 112: | Line 112: | ||
See if it can cope with two encoders at rapid rate usage. | See if it can cope with two encoders at rapid rate usage. | ||
OK, working well --[[User:Msemtd|Michael Erskine]] 18:10, 29 July 2012 (EST) | |||
When using the Raspberry Pi as the menu display system we need to do a few things to a stock raspbian install... | |||
* auto login and start X: use option in raspi-config | |||
* switch off screen blanking: /etc/lightdm/lightdm.conf in SeatDefaults section "xserver-command=X -s 0 -dpms" | |||
* auto start application | |||
moving the cursor with Perl Tk |
Revision as of 23:10, 29 July 2012
I have recovered a number of ALPS rotary encoders from discarded industrial CRT monitors. I'm working on building a user interface menu system that makes use of the rotary encoders as the sole input technique.
multiple encoders
Try out http://code.google.com/p/adaencoder/ and PinChangeInt library (http://code.google.com/p/arduino-pinchangeint/) see...
http://arduino.cc/playground/Main/RotaryEncoders#Example14
See if it can cope with two encoders at rapid rate usage.
OK, working well --Michael Erskine 18:10, 29 July 2012 (EST)
When using the Raspberry Pi as the menu display system we need to do a few things to a stock raspbian install...
- auto login and start X: use option in raspi-config
- switch off screen blanking: /etc/lightdm/lightdm.conf in SeatDefaults section "xserver-command=X -s 0 -dpms"
- auto start application
moving the cursor with Perl Tk