Page 1 of 1
Question about rotary encoder
Posted:
Sat Aug 22, 2009 4:33 pm
by dainy
Hello,
I built the all in one v3.1 kit. The kit works correct except the rotary encoders.
I use two rotary encoder (ALPS STEC16B04) for left/right and up/down.
They have three pins and I connect left/right to pin A and B and ground to pin C.
And the problem is if I turn the encoder one step the menu from the megadrum jumps two steps.
Does anybody know what's to do that this work correct?
Thanks
dainy
Re: Question about rotary encoder
Posted:
Sat Aug 22, 2009 4:37 pm
by dmitri
You wired it incorrectly. Where do you see in
https://www.megadrum.info/~megadrum/sit ... _kicad.png that A and B should be connected to left/right?
Re: Question about rotary encoder
Posted:
Sun Aug 23, 2009 9:39 am
by dainy
Hello
The rotary encoder has no letters or numbers at the pins, but I found a data sheet where the pins labeled with A, B and C. The two switches inside the encoder should be connected to pin A and B and the other side of the switches together to pin C. That's what I found to connect them.
I can't open the link you sent.
Thanks
dainy
Re: Question about rotary encoder
Posted:
Sun Aug 23, 2009 9:51 am
by dmitri
Re: Question about rotary encoder
Posted:
Sun Aug 23, 2009 12:08 pm
by dainy
I connect it exactly like on the schematic. Maybe the rotary encoders do not work good enough for this function.
Re: Question about rotary encoder
Posted:
Sun Aug 23, 2009 1:58 pm
by dmitri
dainy wrote:I connect it exactly like on the schematic.
Please draw a sketch of how you connected your encoders to the board to confirm that it is exactly like in the schematic.
Maybe the rotary encoders do not work good enough for this function.
For what function?
Re: Question about rotary encoder
Posted:
Thu Aug 27, 2009 6:30 pm
by dainy
Hello,
I solved the problem with the rotary encoder. The rotary encoder was connected correct. But the problem was the encoder self.
First I used the rotary encoder from ALPS type STEC16B04 with 24 pulses and 24 detents. The problem with this was the switch signal from A and B. It is different to other rotary encoders.
Now I use the rotary encoder from ALPS type STEC11B04 with 15 pulses and 30 detents. And this works correct.