paul- wrote: 
> There are several users doing this. ..  <cut> ..
> All of our encoders seem to have more velocity than yours.

Paul, Chill,  and others here,
I finally debugged my encoder issues, so let me share to pass knowledge
and experiences:

As with a lot of difficult problems it had multiple issues.
First the audio card that exposes Raspi pins , has bad documentation, so
pushing me to use the wrong BCM numbers in the sbpd init.
Second , The rotary controllers I have , are not all the same;
especially the hardware resistors on the module board do interfere with
the default used here ( pull-up software resistors and ti to ground
switches.) Using the 3V3 on the appropriate pin helps to get reliable
levels on the output pins. This is why Chill might not have experienced
it. I recognise his module in the photo.
Third, it seems the borrowed script should not be started over and over
again with new sbpd lines. I have not looked into the issue, but if just
started once from boot it does produce the expected results, if ran for
the 10th or so time, the correct settings give different results.

But Hey!  I got trough , and have 3 working sets now. Thank you for
providing the info in this thread.

Last ; On the sensitivity of the controllers, I believe there is a
difference in the amount of physical clicks and contact logical cycles.
So 1 perceived click might very well be 2 or more steps measured by
sbpd. I read that before , but can't find that source right now.

Regards, M-H



Pi based multi-room audio system powered by PiCorePlayer(s):
Pi3B with Phat-dac in a Rasptouch, 2 pi B+ with Cirrus Logic Audio Card,
Pi Zero with Phat-beat ,  and a few other tests...
------------------------------------------------------------------------
M-H's Profile: http://forums.slimdevices.com/member.php?userid=66156
View this thread: http://forums.slimdevices.com/showthread.php?t=107001

_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to