I wanted to mount my rotary controller on the bottom left front of my cabinet (out of the way, near my bottom-mounted exit button). Given its appropriately short shaft, the knob would be difficult to install directly through a wood panel (cabinet side or floor).
Here is another alternative to mount the encoder on a piece of 18mm/0.75" plywood.
I drilled a small hole all the way through for my desired knob position. Then I drilled 9/32" (7 mm) hole for the shaft about 1/4" into the front side of the wood. The depth is not too important but keeping it between 3/16" and 1/4" is best. Then from the inside I used my 1 1/4" Forstner bit to drill out for the PCB. Do not drill all the way through. When you start to see the 9/32" hole you are probably almost done. Try mounting the PCB to see if enough of the shaft appears to tighten on the screw. If not drill some more with the Forstner bit. If you accidentally go all the way through then you will have to use the mounting plate idea that Phazer51 used.
In the picture below, there are four quadrants. Top left shows the front. My test piece of wood is very soft and you will see a divot. You can also just see a depression caused by the locking nut and washer when I tightened on the PCB. Top right shows the back side. My Forstner bit slipped a bit too but at least it is on the back. Bottom left shows the knob from the top. Bottom right shows the knob from the side. You need to allow a little bit of room between the wood and knob so the button can be depressed.

The picture below shows the dimensions of the PCB (in green), the dimensions of the rectangular socket, and the hole for the shaft - all in mm. The shaft as you can see is off center. The strict turning diameter of the whole thing is 2 x SQRT(14*14*2) = 40mm (~1.5"). I got by with a 1.25" hole partly because I deliberately drilled it slightly off center from the shaft for the knob.

Try this at home on a spare piece of wood before committing it to your cabinet.
Edit: Fixed some min typos
Edited by MikePinball, 21 September 2019 - 04:57 PM.



Top

Contributor













are all trademarks of VPFORUMS.