mirror of
https://github.com/kata0510/Lily58.git
synced 2025-04-29 10:12:58 +00:00
update the build commands and add toc
This commit is contained in:
parent
473d41ab70
commit
8dfcb0936c
2 changed files with 48 additions and 1538 deletions
|
@ -1,6 +1,29 @@
|
||||||
# Lily58L Pro Build Guide [WIP]
|
# Lily58L Pro Build Guide
|
||||||
|
|
||||||
## Required parts
|
<!-- TOC depthfrom:2 depthto:2 -->
|
||||||
|
|
||||||
|
- [BOM](#bom)
|
||||||
|
- [Introduction](#introduction)
|
||||||
|
- [Attach the diodes](#attach-the-diodes)
|
||||||
|
- [Solder the led's for underglow optionally](#solder-the-leds-for-underglow-optionally)
|
||||||
|
- [Solder the led's for keycap back optionally](#solder-the-leds-for-keycap-back-optionally)
|
||||||
|
- [Soldering the TRRS jack and reset switch](#soldering-the-trrs-jack-and-reset-switch)
|
||||||
|
- [Attach the OLED display](#attach-the-oled-display)
|
||||||
|
- [Install Pro Micro with sockets](#install-pro-micro-with-sockets)
|
||||||
|
- [Solder the rotary encoder](#solder-the-rotary-encoder)
|
||||||
|
- [Solder the sockets](#solder-the-sockets)
|
||||||
|
- [Case assembly](#case-assembly)
|
||||||
|
- [Flash keymap on Pro Micro](#flash-keymap-on-pro-micro)
|
||||||
|
- [Default keymap](#default-keymap)
|
||||||
|
- [Operation check](#operation-check)
|
||||||
|
- [When in trouble](#when-in-trouble)
|
||||||
|
- [Customize the default keymap](#customize-the-default-keymap)
|
||||||
|
|
||||||
|
<!-- /TOC -->
|
||||||
|
|
||||||
|
## BOM
|
||||||
|
|
||||||
|
### Required parts
|
||||||
|
|
||||||
Part name | Quantity | Remarks | Photo |
|
Part name | Quantity | Remarks | Photo |
|
||||||
| ------- | -------- | ------- | ----- |
|
| ------- | -------- | ------- | ----- |
|
||||||
|
@ -17,7 +40,7 @@ Part name | Quantity | Remarks | Photo |
|
||||||
| Micro USB or USB-C cable | 1 pcs | Dependent what you use on the master half. ||
|
| Micro USB or USB-C cable | 1 pcs | Dependent what you use on the master half. ||
|
||||||
|
|
||||||
|
|
||||||
## Optionally:
|
### Optionally parts
|
||||||
|
|
||||||
Part name | Quantity | Remarks | Photo |
|
Part name | Quantity | Remarks | Photo |
|
||||||
| ------- | -------- | ------- | ----- |
|
| ------- | -------- | ------- | ----- |
|
||||||
|
@ -117,7 +140,7 @@ On the **front side** of the board, apply enough solder to bridge the four jumpe
|
||||||
|
|
||||||
Attach the connector for the OLED on front side (opposite side of diodes). Be careful to avoid adding a lot of solder, as it is easy for solder to flow into the connector.
|
Attach the connector for the OLED on front side (opposite side of diodes). Be careful to avoid adding a lot of solder, as it is easy for solder to flow into the connector.
|
||||||
|
|
||||||
## Install Pro Micro
|
## Install Pro Micro (with sockets)
|
||||||
|
|
||||||
**Before installing the Pro Micro, no matter which (can also happen on the elite c), check whether they are working by plugging them in and flashing the default keymap.**
|
**Before installing the Pro Micro, no matter which (can also happen on the elite c), check whether they are working by plugging them in and flashing the default keymap.**
|
||||||
|
|
||||||
|
@ -150,7 +173,7 @@ For other ways to mount your Pro Micros, look at [the crkbd build guide.](https:
|
||||||
|
|
||||||
Before you ask: The Procedure is absolutely identical for the Elite-C.
|
Before you ask: The Procedure is absolutely identical for the Elite-C.
|
||||||
|
|
||||||
## Some tipps for installing the OLED on the socket
|
### Some tipps for installing the OLED on the socket
|
||||||
|
|
||||||
- if you soldered the socket for the OLED, remove the black plastic thingy that's part of the header installed in the OLED. The you'll be able to shorten it's legs with your pliers and put them into the socket, resulting into a way more low profile OLED.
|
- if you soldered the socket for the OLED, remove the black plastic thingy that's part of the header installed in the OLED. The you'll be able to shorten it's legs with your pliers and put them into the socket, resulting into a way more low profile OLED.
|
||||||
- If you do not have sockets installed, you can add height to the oled, by removing pins out of headers, and putting the empty black plastics part onto the headers of the OLED.
|
- If you do not have sockets installed, you can add height to the oled, by removing pins out of headers, and putting the empty black plastics part onto the headers of the OLED.
|
||||||
|
@ -166,7 +189,7 @@ Soldering the rotary encoder is as simple as any other component. Put the encode
|
||||||
**For your information.** The top **two** legs serve as a simple connection that is closed by the rotary encoders tactile press. It's connected to the pins a switch would be connected to, if there were on in the place of the rotary encoder. Therefore, in your firmware the rotary encoder will serve, inter alia, as a switch in the matrix.
|
**For your information.** The top **two** legs serve as a simple connection that is closed by the rotary encoders tactile press. It's connected to the pins a switch would be connected to, if there were on in the place of the rotary encoder. Therefore, in your firmware the rotary encoder will serve, inter alia, as a switch in the matrix.
|
||||||
The lower three pins do the actual rotary-encoding part
|
The lower three pins do the actual rotary-encoding part
|
||||||
|
|
||||||
## You have reached a checkpoint
|
### You have reached a checkpoint
|
||||||
|
|
||||||
Plug your keyboard, look what happens, solve problems, be happy if there are none. (if you followed all the steps your pro micros should have firmware at this point)
|
Plug your keyboard, look what happens, solve problems, be happy if there are none. (if you followed all the steps your pro micros should have firmware at this point)
|
||||||
By now you can also checked whether all switches will be able to work. In order to do so, short the pads on which the kailh sockets will be installed (next step) with tweezers.
|
By now you can also checked whether all switches will be able to work. In order to do so, short the pads on which the kailh sockets will be installed (next step) with tweezers.
|
||||||
|
@ -183,16 +206,16 @@ The sockets take **way** more solder than the other components like the LEDs and
|
||||||
|
|
||||||
> Add image here: "Kailh hot swap sockets"
|
> Add image here: "Kailh hot swap sockets"
|
||||||
|
|
||||||
|
## Case assembly
|
||||||
|
|
||||||
|
### Attach the spacer
|
||||||
## Attach the spacer
|
|
||||||
Attach four 10mm round spacers to the holes near Pro Micro.
|
Attach four 10mm round spacers to the holes near Pro Micro.
|
||||||
It's easy to insert a screw from the back of the board and attach the spacer from the top.
|
It's easy to insert a screw from the back of the board and attach the spacer from the top.
|
||||||

|

|
||||||
|
|
||||||
Peel off the masking tape used to identify the front and back of the board.
|
Peel off the masking tape used to identify the front and back of the board.
|
||||||
|
|
||||||
## Attach the key switch
|
### Attach the key switch
|
||||||
Attach the top plate spacers for alignment. (MX: 7mm Choc: 4mm)
|
Attach the top plate spacers for alignment. (MX: 7mm Choc: 4mm)
|
||||||

|

|
||||||

|

|
||||||
|
@ -210,7 +233,7 @@ Always be careful to put the switches in nice and straight, otherwise you'll ben
|
||||||
After mounting the plate, push the switches again to make sure that installation is complete.
|
After mounting the plate, push the switches again to make sure that installation is complete.
|
||||||

|

|
||||||
|
|
||||||
## Pro Micro protective acrylic installation
|
### Pro Micro protective acrylic installation
|
||||||
Peel off the protective plastic layer covering the acrylic, and attach the acrylic to the board.
|
Peel off the protective plastic layer covering the acrylic, and attach the acrylic to the board.
|
||||||
**Mount with the wider side (labeled "幅が広い" here) outwards.**
|
**Mount with the wider side (labeled "幅が広い" here) outwards.**
|
||||||
|
|
||||||
|
@ -218,24 +241,20 @@ Peel off the protective plastic layer covering the acrylic, and attach the acryl
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Write key map
|
## Flash keymap on Pro Micro
|
||||||
The board requires a keymap in order to function. This section assumes that you're familiar with keymaps and the use of the QMK tool. If not, please refer to [the QMK "Getting Started" guide](https://docs.qmk.fm/#/getting_started_build_tools) (Windows: MSYS2; Mac, Linux: avrdude)
|
The board requires a keymap in order to function. This section assumes that you're familiar with keymaps and the use of the QMK tool. If not, please refer to [the QMK "Getting Started" guide](https://docs.qmk.fm/#/getting_started_build_tools) (Windows: MSYS2; Mac, Linux: avrdude)
|
||||||
|
|
||||||
The [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) can be used to write non-customized keymaps via a GUI, avoiding the need to configure a local QMK environment. (For custom keymaps, it's recommended to build the full environment described above).
|
The [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) can be used to write non-customized keymaps via a GUI, avoiding the need to configure a local QMK environment. (For custom keymaps, it's recommended to build the full environment described above).
|
||||||
|
|
||||||
**Right now the Lily58L code is not merged into QMK Master. You can find the code [here](https://github.com/BenRoe/qmk_firmware/tree/Lily58L/keyboards/lily58l).**
|
Clone/download the QMK firmware and execute the following in the `qmk_firmware` directory to write the default Lily58L keymap
|
||||||
|
|
||||||
|
make lily58/light:lily58l:avrdude
|
||||||
Clone/download the Lily58L firmware branch and execute the following in the `qmk_firmware` directory to write the default Lily58L keymap
|
|
||||||
|
|
||||||
git checkout Lily58L
|
|
||||||
qmk compile -kb lily58l -km default
|
|
||||||
|
|
||||||
|
|
||||||
When **`Detecting USB port, reset your controller now...`** is displayed, press the reset button on the keyboard to start writing.
|
When **`Detecting USB port, reset your controller now...`** is displayed, press the reset button on the keyboard to start writing.
|
||||||
Each half of the keyboard must be programmed separately using this approach.
|
Each half of the keyboard must be programmed separately using this approach.
|
||||||
|
|
||||||
Here is a [compiled firmware hex file](lily58l_rev1_default.hex) for the Lily58L with the default keymap.
|
If you're using DFU bootloader (in case of the elite c), replace the 'avrdude' with 'dfu'
|
||||||
|
|
||||||
## Default keymap
|
## Default keymap
|
||||||
The default keymap is laid out on the assumption that it will be used in the MacOS/US keyboard environment. Feel free to get creative and experiment with keymaps that match your preferences; consider changing to the JIS layout or adding a key to switch between English and Kana, for example.
|
The default keymap is laid out on the assumption that it will be used in the MacOS/US keyboard environment. Feel free to get creative and experiment with keymaps that match your preferences; consider changing to the JIS layout or adding a key to switch between English and Kana, for example.
|
||||||
|
@ -250,7 +269,7 @@ The build is completed by attaching the four rubber feet to the back of each boa
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Congratulations(?)
|
### Congratulations(?)
|
||||||
If everything works: You have built your lily58L. Have fun!
|
If everything works: You have built your lily58L. Have fun!
|
||||||
If something doesn't work:
|
If something doesn't work:
|
||||||
|
|
||||||
|
@ -277,21 +296,20 @@ Please set Lily 58 as a US keyboard in the OS keyboard settings. After switching
|
||||||
|
|
||||||
**If you have any problems, please feel free to send a message on Discord (https://discord.gg/frjFXZB) or Twitter: [@keycapsss](https://twitter.com/keycapsss)**
|
**If you have any problems, please feel free to send a message on Discord (https://discord.gg/frjFXZB) or Twitter: [@keycapsss](https://twitter.com/keycapsss)**
|
||||||
|
|
||||||
## Change the key map
|
## Customize the default keymap
|
||||||
This self-made keyboard use the QMK firmware, described above. The QMK firmware is highly customizable, and you can unlock a lot functionality simply by editing the keymap.
|
This self-made keyboard use the QMK firmware, described above. The QMK firmware is highly customizable, and you can unlock a lot functionality simply by editing the keymap.
|
||||||
### Edit keymap.c and customize
|
### Edit keymap.c and customize
|
||||||
When customizing a keymap, start by making a copy of the `qmk_firmware/keyboards/lily58/keymaps/default` folder and modifying that directory's internal `keymap.c` file.
|
When customizing a keymap, start by making a copy of the `qmk_firmware/keyboards/lily58/keymaps/lily58l` folder and modifying that directory's internal `keymap.c` file.
|
||||||
Please refer to the [official QMK documentation](https://docs.qmk.fm/#/keycodes) for the key codes and programming specifics.
|
Please refer to the [official QMK documentation](https://docs.qmk.fm/#/keycodes) for the key codes and programming specifics.
|
||||||
|
|
||||||
After changing the keymap,
|
After changing the keymap,
|
||||||
|
|
||||||
sudo make lily58:(any folder name):avrdude
|
make lily58/light:lily58lcopy:avrdude
|
||||||
|
|
||||||
If you get an error, please double-check the board, connection and command.
|
If you get an error, please double-check the board, connection and command.
|
||||||
|
|
||||||
|
|
||||||
### Handedness by EEPROM
|
### Handedness by EEPROM
|
||||||
I'll just add this as a tipp, cause it's fucking cool.
|
|
||||||
You can tell each side of the Keyboard, whether it's left or right, by writing it into it's eeprom.
|
You can tell each side of the Keyboard, whether it's left or right, by writing it into it's eeprom.
|
||||||
In order to do so, first put
|
In order to do so, first put
|
||||||
|
|
||||||
|
@ -300,10 +318,10 @@ In order to do so, first put
|
||||||
into your config.h.
|
into your config.h.
|
||||||
Then flash the keymap with
|
Then flash the keymap with
|
||||||
|
|
||||||
make lily58l:(yourkeymap):avrdude-split-left
|
make make lily58/light:(yourkeymap):avrdude-split-left
|
||||||
and
|
and
|
||||||
|
|
||||||
make lily58l:(yourkeymap):avrdude-split-right
|
make make lily58/light:(yourkeymap):avrdude-split-right
|
||||||
respectively.
|
respectively.
|
||||||
If you're using DFU bootloader (in case of the elite c), replace the 'avrdude' with 'dfu'
|
If you're using DFU bootloader (in case of the elite c), replace the 'avrdude' with 'dfu'
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue