kingswindsor wrote: 
> I am just trying to get a rotary encoder to work using slimmer. I know
> the encoder works because it works in Moode but I am struggling to make
> it work with piCorePlayer. I am using the IQaudio DAC zero and the IQ
> audio encoder is connected to it.

Does your encoder work on the same hardware setup with Moode?
Are there pull-up resistors on the encoder's outputs?
Or does Moode turn on the Pi's internal pull-ups?

The following to options of PIKEYD are also available:
-pu set internal pull-up resistors
-pd set internal pull-down resistors

These may turn on the Pi's internal resistors. But I never tested them,
even Pikeyd was not written by me, so please make some research on that.
The original source is available here:
https://github.com/dozencrows/pikeyd/tree/rotary

I think Pikeyd only handles incremental rotary encoders. What type of
encoder do you have? I checked mine with a logic analyzer, and it
produced the "wave" form seen here:
https://en.wikipedia.org/wiki/Rotary_encoder#/media/File:Quadrature_Diagram.svg

I'm not an electronic expert btw.


------------------------------------------------------------------------
tbali's Profile: http://forums.slimdevices.com/member.php?userid=65336
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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

Reply via email to