engineering:computer_science:projects:lily58_pro_diy_custom_keyboard

This is an old revision of the document!


Lily58 Pro - DIY Build Guide / Log

Tags: #lily58pro #lily58 #custom #keyboard #soldering #project

Last Reviewed: 16/02/2025

Status: In Progress / Incomplete


  • Split Keyboard
  • Custom Firmware
  • DIY but not Extremely complex for a First Time Keyboard
  • RGB !!!
  • Use 280 Celsius on your Soldering Iron - or convert that to Freedom Units -
    • The solder should turn liquid in 2-4 seconds
    • Mainly used 0.6mm diameter solder, with 2.0% flux
    • The first solder would need 350 degrees 4-5 seconds. That wasn't a great experience
  • If you unsure if the Diode is oriented correctly, you can use a Multimeter to test it
    • Search for the Diode Symbol ( |> | ) or set your Multimeter to Resistance Mode
    • Assuming the Multimeter Cables are Red > Positive and Black > Negative
    • Put the Probe Ends on the Diode
    • Value of 1 means that's the wrong side eg: your Red is on the “ | ” side of the Diode
    • Sub 1 (eg: 0.78) means that you Black Probe is on the “ | ” side of the Diode
  • If you are not an experienced Solderer, it sucks at first, but once it “clicks”, it goes fast
    • eg: once you learn the “wiggle and let it sit”, it's easy work for the Diodes
  • Bring time and patience - this will not be done in 30 - 60 minutes
    • if it is, you probably don't need to read this guide
  • Multimeter
Part NameQty.Model / DetailsBought AtWhat Is It For?Remarks
Lily 58 PCB2 Kriscables - Lily58 Pro DIY Hotswap KitWhere everything gets soldered onto
ProMicro Controller2 Part of the Kit from KriscablesThe brains of the keyboard
Diodes581N4148WPart of the Kit from KriscablesManages the flow of electrical current (can only flow in one direction)* They also known as “SOD-123”
* SMD are needed if you want Choc Switches
* If the PCB you find has Through-hole, then you would need Though-Hole Diodes
Microcontroller (Hotswap) Sockets4x 12 Part of the Kit from KriscablesAllows to easily change (so, no need to solder) the micro controller* You need 12 pins per side, per micro controller
* So 2 Sides x 12 Sockets x 2 Micro Controller
Mill Max Socket Pins4x 12 Part of the Kit from KriscablesThe “legs” of the microcontroller, which attach to the HotSwap Sockets* Same as the Microcontroller Sockets
* So 2 x 12 x 2
Part NameQty.Model / DetailsBought AtWhat Is It For?Remarks
Lily 58 PCB

You might already have this laying around if it's not your first electronic projects. Else you will need:

Part NameQty.Model / DetailsBought AtWhat Is It For?Remarks
Soldering Iron1 To solder
Tweezers1
Holding Components in Place

Briding components for testing
SolderSome Like hot glue, but for electronicsIdeally, Lead Free
  • Solder SMD Diodes to the PCB
    • make sure they are aligned correctly
    • this is now your BOTTOM
  • Solder Hotswap Sockets of the Microcontroller to the PCB
    • on the TOP side
  • Solder the Pins / Legs on the Microcontroller
    • Face down controller on the Hotswap Sockets
    • Legs fully in, solder in an X Pattern
  • Flash Basic Firmware
  • Manually bridge each key to make sure they are working
    • much easier to find and fix now then later
  • Solder the Key Switches
  • Solder the Hotswap Sockets for the Display
    • optional if not using a screen
  • Solder / Bridge the Screen Pins
    • if if not using a screen, good idea since no downside from doing it
  • Solder the TRRS / Reset Button
  • Solder underglow RGB
    • optional if RGB-less / wireless
  • Mount Bottom Plate
  • Mount Middle / Keyswitches Board
  • Add each individual Key Switch
  • Add Top Plate
  • Add Key Caps
  • Repeat for other Keyboard Half
  • Enjoy!
  • Make / Adapt Keys, eg using QMK Online Configurator
    • Convert your JSON to .c file
  • Make a new Keymap with QMK
  • Paste / Edit your Keymaps .c file
  • Flash your microcontroller
StepStep OverviewStep DetailsNotesScreenshot
1Solder the Diodes to to the bottom side of the PCB* I recommend using Painter's Tape or similar and mark the TOP side of the PCB (ask me why)
* Solder a bit of Solder to one side of the Diode Receiver
* Using Tweezers, hold the Diode in place, heat the previous solder joint until it falls / push into place
* Solder the other leg of the Diode
lily58_build_001.jpglily58_build_002.jpglily58_build_003.jpglily58_build_004.jpglily58_build_005.jpg
2Solder the Controller's Hotswap SocketsBasically it's the one surronded by a Squared Line\ \ * Put the Sockets on the TOP side of the PCB
* Flip the PCB over
* Solder the legs on each corner
* Check the Socket is leveled
* Solder the other legs
You can *technically* solder the Controller directly to the board, but I *HIGHLY* recommend against it

Swapping the controller later, in case it breaks or you want a different one will be a massive PITA.
3Solder the Legs of the Microcontroller* With the Controller FACING DOWN
* Put the Mill Max Pins into the sockets. Make sure they are inserted all the way down
* Solder the Pins
4Flash the Microcontroller* I recommend flashing with the default / a simple firmware / config, so yousure it's a good / working one
* To enter flash mode on the ProMicro, just brige GND with RST 2x times
* If you flashing via CLI, the command is something like:
qmk flash -kb lily58/rev1 -km default
5Test Each Key* It's much easier to test - and fix - any issue now then later
* Using Tweezers or your Multimeter, bridge each of the connections
* Make sure you get one and exactly one key input / signal
* If a key outputs multiple values:
* you probably have a solder bridge
* or a diode is broken
* If a key doesn't output anything:
* check your diode, even more they solder joints and orientation
* maybe the pin on the controller
* Make sure the key actually have a function you can test - eg: “a” -
6Solder the Howswap Switch Sockets* On the BOTTOM side of the PCB
* Remeber that the Socket will go in both ways, but only one way will leave the Hole Available for the Switch
* Put the Hotswap Socket In
* Heat up one leg / solder point and apply Solder
* With your finger on top of it to keep it in place, let it cool down
* Solder the other “leg”
While you can *technically* solder the Switch directly to the PCB, I highly recommend against it
It's very little cost, and unless you are 100% sure you won't want other switches, ever, it's worth to add them
Repairs are also much easier, since you can just swap the switch instead of having to solder it out
7Solder / Bridge the Screen Pins* On the TOP side of the PCB
* Bridge the 4 Jumpers, by soldering them 2 by 2 Vertically
* Even if you don't plan on using the OLED Screens, still recommended, since there is no harm in having them bridged
8Solder the TRRS / Reset Button / OLED Hotswap Socket* Solder the TRRS
* Solder the Reset Button
* If using a Screen, Solder in the Hotswap Socket
9Final Test Pre-Assembly* Now it's a good point to put the Screen on and Check it everything works
* Bridging / Activating the Switches should also be working as expected
10Solder the Underglow RGB* By far the most challenging solder, mainly on the dables
* Remember the Cable will go on the BOTTOM side
* Solder the 5V, Signal and GND with Cables
* Solder the cables to the holes in the PCB
* Remember that you can both solder the cables in the same direction or both pointing from in> outwards
11Assemble the Case* Add Screws and Raisers to the Bottom Layer
* Add OLED Cover Screws and Raisers to PCB Layer
* PCB Layer on Top of Bottom Layer
* Dampening Layer
* Top Layer
* Everything Still Working?
* Switches
* OLED Covers
* Keycaps
If you have less layers, just skip the ones you don't have
  • engineering/computer_science/projects/lily58_pro_diy_custom_keyboard.1742122439.txt.gz
  • Last modified: 2025/03/16 11:53
  • by carlossousa