DIY sysex fader box status and questions.

ToAd tom.adam at thebigear.be
Sat Apr 21 14:12:51 CEST 2012


http://ly.rsdelivers.com/product/alps/stec12e08/rotary-encoder-12mm-24pulse-vert-switch/6234237.aspx

it's an ALPS STEC12E08, and I used a PCB I had lying around from the 
midibox project:
http://www.ucapps.de/mbhp_din.html

Still could use some help ;-)

Cheers,
ToAd

On 21/04/2012 11:29, Paul Maddox wrote:
> sounds like you've got ones with indents and that they have no 
> connection at the indent (i.e. they float high).
> Got a schematic/part number?
>
> Paul
>
> On Sat, Apr 21, 2012 at 8:41 AM, Jay Vaughan <jayv at synth.net 
> <mailto:jayv at synth.net>> wrote:
>
>     > The values I should see are like this:
>     > 2 bits per encoder
>     > Sequence CW rotation:
>     > 00 10 11 01
>     > Sequence CCW rotation:
>     > 00 01 11 10
>     > But between each step I see 11, as this is the value when the
>     encoder is not turned.
>     > Now, how does one cope with this behaviour?
>     > Should I only check for the 10 -> 01 or 01 ->10 transitions? Am
>     I not loosing too much accuracy this way? (I can test this pretty
>     easy I think, but I thought I ask first.)
>
>     I don't think you're going to lose too much accuracy by converting
>     the 4 bytes to a word, and using it as a plain old number.  This
>     number, if you get it, tells you what direction the knob is
>     turned.  Don't put too much pressure on bit-ops, just convert to a
>     word and use that word in your switch statement ..
>
>
>     ;
>     --
>     Jay Vaughan
>
>
>
>
>     _______________________________________________
>     music-bar mailing list
>     music-bar at lists.music-bar.org <mailto:music-bar at lists.music-bar.org>
>     http://lists.music-bar.org/cgi-bin/mailman/listinfo/music-bar
>
>
>
>
> _______________________________________________
> music-bar mailing list
> music-bar at lists.music-bar.org
> http://lists.music-bar.org/cgi-bin/mailman/listinfo/music-bar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.music-bar.org/pipermail/music-bar/attachments/20120421/3bdf1e7a/attachment.html>


More information about the music-bar mailing list