Cheap 3D Printed Absolute Encoder Knob
APACHE-2.0 License
A cheap, 3D printed absolute position encoder knob based on a low-cost AS5600 breakout module.
Demo firmware using a TTGO T-Display ESP32 board is provided (PlatformIO Arduino).
See how it works:
Note: I found that removing R1 on the AS5600 module, which sets it for 5V operation, make the module more reliable and stable, but note that you will need a level-shifter to interface with a 3.3V microcontroller. Beware that the module has its own I2C pullups (R2 and R3) so if you power it from 5V it will apply 5V to the SDA and SCL pins, which could damage a 3.3V microcontroller.
I used a 4mm axial magnet instead of a diametric magnet because the AS5600 module I bought didn't come with a proper diametric magnet. You could modify the design to mount a diametric magnet aligned axially with the knob instead, if you have one.
Download the Fusion 360 design file here or preview it in your browser.
Print settings:
Download STL file
Print settings:
Download STL file
Print settings:
Download STL file
Copyright 2021 Scott Bezek
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.