DIY Klipper box with OLED display and rotary encoder

TinkerBox TinkerBox

6
16 ngày trước
I made a cost-effective Klipper box that has an OLED display, a rotary encoder, and a push-button power switch. It was specifically built for my Ender 3 V3 SE to run Klipper, but it could be used in any Klipper system that needs it.
OLED display needed to be converted to be used with I2C instead of SPI, and I also had to prepare a piece of 4-pin flat cable with Dupont connectors.
Together with Raspberry Pi Zero 2 as a Klipper host, everything fits together inside a custom designed 3D printed housing, and I have shown you the whole process, from preparing and wiring each of the components, to Klipper installation and settings adjustments, and to how each components are configured in the system.

Components used in the project:
OLED display: 2.42in SSD1309 with SPI and I2C capable interface
Rotary encoder: KY-040 type
Power switch: 12mm tact switch with button cap
Raspberry Pi Zero 2

Tools and materials:
4-wire flat cable, M2.5x4mm screws, Dupont connectos, crimping tool, Soldering iron and solder

Links to videos and sites referred to in the video:

My wire crimping video:
https://youtu.be/kzxBVLyWrfI?si=IUVI_toUuHKdiEGf

Klipper configuration file, printer.cfg, for Ender 3 V3 SE
https://github.com/0xD34D/ender3-v3-se-klipper-config

OLED display setup guide for Klipper
https://hackmd.io/@seya128/ryCzCzRDu

And my 3D printed housing:
https://www.printables.com/model/900966-klipper-box

Time codes
00:00 Project overview
00:50 Components
02:32 OLED: SPI to I2C
05:28 Connecting cables
10:55 Components wiring
14:58 Klipper installation
21:10 Power button
24:41 OLED
31:48 Rotary encoder