Skip to the content
PCBKitNew board
2 layers28 × 104 mmKlipper keys5, the printed circuit board in 3D

This “keyboard” with 5 keys gets conneted directly to the GPIOs of the RasbperryPi. This way no MCU or anything fancy is needed. The case is tested on a vCore 3.1 400mm with 3030 profiles.

Size
28 × 104 mm
Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
6
Pads
35
Tracks, vias
20, 0
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
21 Jul 2023
Updated
31 Jul 2023

Overview

Klipper keys5 is an open-source printed circuit board by Technofrikus, from the Technofrikus/KlipperKeys repository on GitHub. It is a 2-layer board of 28 × 104 mm with 10 parts on 6 nets, routed with 20 tracks and 0 vias.

README

README.md

Klipper Keys

For pictures etc see: https://www.printables.com/model/539404-klipper-keys-keyboard-for-3030-and-2020-profiles

This “keyboard” with 5 keys gets conneted directly to the GPIOs of the RasbperryPi. This way no MCU or anything fancy is needed. The case is tested on a vCore 3.1 400mm with 3030 profiles. Not sure about clearance on other printers. But electrically should also work for Vorons etc.

For me light switching during printing is not super reliable. Not sure why. Everything else works great.

The PCB is OpenSource and all files, including production files, can be found here:

https://github.com/Technofrikus/KlipperKeys

You need:

BOM:

Printing

1x Case 1x Baseplate (choose which profile size you need) 1x PCB

Cable

6-wire cable in your needed length both ends crimped with Dupont connectors (standard 2.54mm pitch)

Hardware

1x 6-pin-header 4x M3 threaded insert (5,7mm length or shorter work) 4x M3x10 screw

For 2020 profile

2x M3x8/10 2x hammer nut Can also use bigger screws (not longer), just have to increase the size of the hole a little with a knife.

For 3030 profile

2x M5/6x12 2x hammer nut with the same thread size 5x MX-compatible switches and keycaps Try these printable relegendable keycaps I used with some tips for printing: https://www.thingiverse.com/make:912979

Connecting

The Pins are named on the PCB. Also check the picture for the marked pins. Reference: https://pinout.xyz Configuration

Then add these settings to your macro-file. I have a user-macro-cfg which I included from printer.cfg to have these things separate. But you can also put it directly in the printer.cfg These gcodes are custom to my setup (lights) and RatOS (unload_filament). Please change these to your liking and printer setup.

text
[gcode_button button_light]
pin: ~rpi:gpio17
press_gcode: CASE_LIGHTS_TOGGLE

[gcode_button button_load]
pin: ~rpi:gpio9
press_gcode: LOAD_FILAMENT

[gcode_button button_unload]
pin: ~rpi:gpio10
press_gcode: UNLOAD_FILAMENT

[gcode_button button_PLATemp]
pin: ~rpi:gpio22
press_gcode:
 SET_HEATER_TEMPERATURE HEATER=extruder TARGET=200
 SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=60

[gcode_button button_cooldown]
pin: ~rpi:gpio27
press_gcode:
 TURN_OFF_HEATERS

If you want to use a Button as an Emergency-Stop, use this code:

text
[gcode_button ESTOP_BUTTON]
pin: ...
press_gcode:  
   {action_emergency_stop("Impending Doom Averted!")}

I have not tested this, but ThaoChan provided it and it works for him. Thanks again Thao for your help with the Config! Check it out here: https://www.reddit.com/r/klippers/comments/ssj67j/comment/ju6ld9p/?utm_source=reddit&utm_medium=web2x&context=3

Parts

10
QtyValueFootprintReferences
5MX_SW_soldermarbastlib-mx:SW_MX_1uMX1, MX2, MX3, MX4, MX5
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
1Conn_01x06_SocketConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ1

Questions

How big is the Klipper keys5 PCB?

It measures 28 × 104 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Klipper keys5 use?

10 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Klipper keys5 KiCad files?

From the Technofrikus/KlipperKeys repository on GitHub, at the commit this page was made from: the board is Klipper-keys5.kicad_pcb and its schematic Klipper-keys5.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Klipper keys5 design in my own project?

Its repository states no licence, so its author keeps all rights: ask Technofrikus before reusing the design.

Similar boards

  • 2 layers57 × 55.2 mmLogicAnalyzer, the printed circuit board in 3D

    LogicAnalyzer

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    10 parts5.1kGPL-3.0
  • 2 layers32.2 × 15.4 mmProtector, the printed circuit board in 3D

    Protector

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    10 parts4.3kMIT
  • 2 layers26 × 18 mmConn, the printed circuit board in 3D

    Conn

    yaqwsx/KiKit

    Automation tools for KiCAD

    10 parts2.1kMIT
  • 2 layers44.3 × 30.5 mmLime2-SATA RevA, the printed circuit board in 3D

    Lime2-SATA RevA

    OLIMEX/OLINUXINO

    OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

    10 parts1.5k
  • 2 layers17.8 × 43.2 mmNano Adapter, the printed circuit board in 3D

    Nano Adapter

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    10 parts1.1kGPL-3.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    10 parts1kGPL-3.0