I stand corrected, Sky25es.
Great pics. Now the construction makes sense.
Did they follow typical wire colors?
- Red for 5v
- Black for ground
- Yellow and green for data lines
- White for the button
Like you mentioned earlier, that 12 tooth encoder wheel is
really low res.
You could probably 3d print a higher resolution replacement.
- There are some generic parametric ones on Thingiverse that could be adapted for this application.
Standard angular spacing between the optos equals a whole number multiplier + 0.5 (1.5, 2.5, etc) times the width of a tooth in degrees so when one opto is at the edge of a tooth or gap, the other opto is in the middle of a tooth or gap.
opto degrees = 1.5 (multiplier) * 360 degrees/24 tooth-widths (that's 12 teeth + 12 gaps)
opto degrees = 1.5 * 15 degrees/tooth
opto degrees = 22.5
If you step up to a 2.5 multiplier, you get an 18 tooth wheel with 9 degrees per tooth.
- Probably do-able and a 50% gain in resolution.
If you step up to a 3.5 multiplier, you get a 28 tooth wheel with about 6.43 degrees per tooth.
- Wouldn't hurt to try, but you might run into backspin.
Another improvement to the original encoder wheel design is to add a very narrow inner hub to reinforce the teeth, especially for a 28 tooth version.
Scott