Electronic – How to use a rotary encoder without housing

encoderrotary

I'm looking to buy a rotary encoder and I've stumbled upon this:

enter image description here

which I assume is an encoder stripped of its housing.
My question is how would I use it? There is no shaft to turn, so I'm assuming I would need to buy the housing separately, which probably would affect accuracy.
It is however much cheaper than standard encoders and has a great resolution.

EDIT:
It is an AS5600 as seen
on this site or
this site.

Best Answer

Looks like it's an AS5600. You just need a magnet positioned above it, there are Hall sensors inside, that are compared for strength in two axes and the position calculated (the arctan of the ratio of the two).

There's an eval kit from the manufacturer, which shows the mechanical arrangement for its intended use - volume controls or rotary switches. enter image description here