For audio, it is more natural to use a knob. Replaced the mouse click wheel for a potentiometer type rotary encoder and added a nice metal knob. The rotary encoder I used is the cheapy $.99 one from Electronic Goldmine.
It even has a momentary switch when you push it (to which I will wire the volume "dim" function). This particular encoder does 30 clicks per revolution (in my application that's 30 dB). Same wiring as the click wheel (center tab to Gnd, A tab to Arduino digital pin 2 -interrupt 0- and B to pin 4 (can be any other pin). Code is v 0.4
No comments:
Post a Comment