Originally Posted by
npbosch
I think you will need a 12 position (not an rotary encoder).
These can be bought at every electronic shop and will cost 1 to 3 euro.
Take a good look at what type you buy.
You have 12x1, 6x2, 4x3 types.
You will need the 12x1 type. This type has one ground pin and 12 positions.
The 4x3 type has 3 ground pins and has only 4 usable positions.
These kind of position switches are also available with 8 positions, but these are rare to find.
When your panel has markings at every 45 degrees you will need the 8 position type. At most panels the markings are at every 30 degree.
The leo bodnar type are rotary encoders. From an electronically viewpoint you should see a rotary switch as 12 individually on-of switches
A rotary encoder is far more complex. There are a lot of difderent types.
Most give 01010101 when you turn clockwise and 101010101 when you turn counterclockwise.
You need special input ouputcontrollers and take care that you buy the type that fits to that input outcontroller.