Analog Keypad For Osu! Or Whatever 3D Printer Model

Author: @
License: CC BY-SA
File formats: stl,f3d,dxf
Download type: zip
Size:3.4MB

The file 'Analog Keypad For Osu! Or Whatever 3D Printer Model' is (stl,f3d,dxf) file type, size is 3.4MB.

Summary

Please adjsut the modol to your needs, especially if you want to FDM print it, its possible but its not designed for FDM when it comes to tolerances,
parts required :
1 arduino pro micro
6 wooting lekker switches
1 regular keyswitch
6 hall effect sensors ( i used 49E)
WS2812 led strips (60/m) : 11 for key backlight and rotary knob + 22 optional ones for base lighting
1 as5600 rotary encoder and corrosponding magnet
1 9x4x4 bearing (can easilly be adjusted to be anything else)

Wiring:
attach the encoder to power, scl and sda
install the lead starting at the bottom (4 keys) row from left to right
then the top row also left to right
then the encoder going counterclockwise and starting on the right led
afterthat the surrounding leds for the case can be wired in (i needed 22 so the code is expecting 22 in its default state)

the code an be found at https://github.com/jamani133/KeyPad
in the hardware folder

to first use the keypad preferrably after its been closed
upload code
open a serial terminal in the arduino IDE at 9600 baud, type and send
"all" to use all keys, then
"calibrate" and press all analog keys
type and send "save" to save the configuration

type help to get a list of possible commands

the code definitly needs improvement and i reccomend writing it yourself

NOTE:
the arduino ide's serial monitor sends a newline (n) whever you press enter and because i am lazy the code expects this and will reject the command when this is not there, you can easilly change, add or remove commands at your will by chaning the code

bottom_half_and_shit.stl 212.7KB
keycap.stl 840.1KB
keypad_v12.f3d 2.9MB
layout.dxf 4.6KB
lid.stl 90.9KB
lid_adjusted_for_FDM.stl 210.0KB
spinner.stl 582.1KB