Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Interfacing / Re: rotary encoder chatter on: July 23, 2007, 04:12:58 pm
The encoder I am using has three pins to interface with: A, B, and common.

I first wired up the encoder as such to test:

A -> resistor -> GND
B -> resistor -> GND
common -> 5V

As expected, when I rotated the wheel, the results were (keep in mind visible to the eye):

Clockwise:   A and B on, only B, both off
Counter:      only B, A and B on, both off

So it seems that the code from the playground should work adequately, or am I totally off?
2  Forum 2005-2010 (read only) / Interfacing / rotary encoder chatter on: July 23, 2007, 02:53:09 pm
Hey guys,

I have cannibalized an old mouse and am attempting to use the scroll wheel for a project.

The problem that I am having is in trying to use the code from the playground...

It seems that no matter which direction I turn the wheel, the encoder0Pos value increases - in random intervals.

The little reading I have done online about this leads me to believe this is due to switch "chatter" within the encoder itself.

My question for those more knowledgeable than I:  What can I do to eliminate this 'chatter' ???

-post
3  Forum 2005-2010 (read only) / Interfacing / Running Multiple Segmented LEDs on: November 07, 2006, 03:48:52 pm
I was just wondering, if it takes 7 digital IO pins to run 1 7-segment LED,
how would one utilize 3 7-segment LEDs on the arduino (say for an alarm clock?)

thanks!

-post
Pages: [1]