Improve Corne Chocolate EN build-guide (was google-translated)

Apart form language, it also fixes formatting, so some links,
images and code-blocks are now shown as they should.
This commit is contained in:
hoijui 2020-07-07 09:57:59 +02:00
parent 3695701f1e
commit fd437a8e7c

View File

@ -1,25 +1,25 @@
> Translated by Google
# Build Guide
This is the build guide for Corne Chocolate.
[Click here for Corne Cherry] (https://github.com/foostan/crkbd/blob/master/corne-cherry/doc/buildguide_jp.md).
[Click here for Corne Cherry](https://github.com/foostan/crkbd/blob/master/corne-cherry/doc/buildguide_en.md).
## Parts
### Required
## parts
### required
| Name | Number | Remarks |
|:-|:-|:-|
| PCB | 2 pieces | |
| Top plate | 2 pieces | |
| Bottom plate | Two pieces | PCB type and acrylic type are available |
| ProMicro protection plate | 2 pieces | |
| ProMicro | 2 | |
| Pro Micro protection plate | 2 pieces | |
| Pro Micro | 2 | |
| TRRS Jack | 2 | |
| Tact switch | 2 pieces | |
| Tactile switch | 2 pieces | |
| Diode | 42 pieces | Compatible with chip components only
| Kailh PCB Socket (for Choc) | 42 | |
| Key switch | 42 pieces | Compatible with Choc only |
| Keycaps | 42 | 1u 40, 1.5u 2 |
| Key switch | 42 pieces | Compatible with Choc (low profile) only |
| Key-caps | 42 | 1u 40, 1.5u 2 |
| OLED module | 2 pieces | |
| 4 pin headers | 2 | |
| 4 pin sockets | 2 | |
@ -30,199 +30,266 @@ This is the build guide for Corne Chocolate.
| TRS (3 pole) cable | 1 | TRRS (4 pole) cable also available |
| Micro USB Cable | 1 | |
### Option
### Optional
| Name | Number | Remarks |
|:-|:-|:-|
| SK6812MINI | 54 | Upward mounting 42, Downward mounting 12 |
| SK6812MINI | 54 | 42 for backlight, 12 for under-glow |
## Advance preparation
There is work to add a farm to ProMicro in the middle of implementation, but it is time-consuming to prepare the environment for building the farm, so it is recommended to start with it first.
https://docs.qmk.fm/#/newbs_getting_started Refer to here etc. and install the necessary ones according to the OS (it takes time to install, so it is efficient to run while running while proceeding).
## Preparation
## Implementation
It is recommended to [flash the firmware](#firmware) onto the Pro Micro before doing anything else,
as it is time-consuming to prepare the environment for building it,
and doing it in the middle of the soldering process is a hassle.
Since the PCB is reversible, first decide which one to use for the left or right.
## Building
![01](https://user-images.githubusercontent.com/736191/52534345-dcce8b00-2d83-11e9-9b6a-b1f9f4b75519.png)
Since the PCB is reversible,
you first have to decide which one to use for the left side.
### diode
![](https://user-images.githubusercontent.com/736191/52534345-dcce8b00-2d83-11e9-9b6a-b1f9f4b75519.png)
### Diodes
Solder the diode of the chip part.
On Corne Cherry it is up to you to choose which side to attach, but with Corne Chocolate you must ** be sure to attach it to the back **.
Mounting on the surface will interfere with the top plate.
Solder the diodes to the PCB.
Since the chip parts are very small, it is easier to work with tweezers and adverse tweezers.
** Since the mounting direction of the diode is determined **, it is possible to proceed smoothly if you arrange the columns and rows to be mounted in advance as shown in the following photo.
On Corne Cherry, it is up to you to choose which side to attach,
but with Corne Chocolate you must **be sure to attach it to the back**.
Mounting on the front will interfere with the top plate.
![02](https://user-images.githubusercontent.com/736191/52534466-1b187a00-2d85-11e9-8ce3-bb13067a1b29.png)
Since the diodes are very small,
it is easier to work with tweezers and inverted tweezers.
Since the **mounting orientation of the diode is crucial**,
it is possible to proceed smoothly if you arrange the columns and rows to be mounted in advance,
as shown in the following photo.
The direction of the diode is as follows. Attach the chip component so that the “|||” mark is facing the “|” of the diode mark “| ◁” (image is posted from Corne Cherry).
![](https://user-images.githubusercontent.com/736191/52534466-1b187a00-2d85-11e9-8ce3-bb13067a1b29.png)
![03](https://user-images.githubusercontent.com/736191/54487560-cb285800-48da-11e9-9e1e-aafaacf5723c.jpg)
The orientation of the diode is as follows.
Attach the chip component so that the "|||" mark on the diode is facing the "|" of the diode mark "| ◁" on the PCB (image from Corne Cherry).
Tips for attaching chip parts, but first put solder only on the right side of the pad as spare solder.
![](https://user-images.githubusercontent.com/736191/54487560-cb285800-48da-11e9-9e1e-aafaacf5723c.jpg)
![04](https://user-images.githubusercontent.com/736191/52534531-0c7e9280-2d86-11e9-9636-ba582cdae265.png)
Tip for soldering on SMD parts:
First put solder only on the right side of the pad.
Next, solder one of the diodes by melting the spare solder.
At this time, it is recommended that you use inverted tweezers so that you can hold the chip part firmly without applying force and concentrate on alignment and soldering.
Also, if the soldering iron is too hot or the solder is touched too much, the flux contained in the solder may evaporate and a solder pile may be formed neatly, but since it can be repaired later, at this point just be aware of attaching parts. It's okay.
![](https://user-images.githubusercontent.com/736191/52534531-0c7e9280-2d86-11e9-9636-ba582cdae265.png)
![05](https://user-images.githubusercontent.com/736191/52534541-320b9c00-2d86-11e9-982c-45ec7f7b7741.png)
Next, solder one of the diodes by melting the solder you already put on the board.
At this time,
it is recommended that you use inverted tweezers so that you can hold the SMD part firmly without applying force,
and concentrate on alignment and soldering instead.
Also, if the soldering iron is too hot or the solder is touched too long,
the flux contained in the solder may evaporate and a solder pile may be formed,
but since it can be repaired later,
at this point just be aware of attaching parts;
It's okay.
Then solder the other. Be careful not to apply too much because a small amount of solder is sufficient.
If you have applied too much, you can remove it with a suction line or scoop it with a soldering iron.
![](https://user-images.githubusercontent.com/736191/52534541-320b9c00-2d86-11e9-982c-45ec7f7b7741.png)
![06](https://user-images.githubusercontent.com/736191/52534553-56677880-2d86-11e9-872e-ea374c8f6824.png)
Then solder the other pin.
Be careful not to apply too much solder because a small amount is sufficient.
If you have applied too much,
you can remove it with a suction pump or scoop it with a soldering iron.
If the amount of solder on the pre-soldering side is small, perform additional soldering, and if it is peaked, apply flux from above and heat to clean.
![](https://user-images.githubusercontent.com/736191/52534553-56677880-2d86-11e9-872e-ea374c8f6824.png)
![07](https://user-images.githubusercontent.com/736191/52534577-b78f4c00-2d86-11e9-9c6d-64893dce2754.png)
If the amount of solder on the pre-soldering side is too small,
add more soldering,
and if it is pilled up,
apply flux from above and heat to clean.
![](https://user-images.githubusercontent.com/736191/52534577-b78f4c00-2d86-11e9-9c6d-64893dce2754.png)
### TRRS jack, reset switch, pin socket
![08](https://user-images.githubusercontent.com/736191/52534580-bfe78700-2d86-11e9-9fa6-bdde5283af5b.png)
![](https://user-images.githubusercontent.com/736191/52534580-bfe78700-2d86-11e9-9fa6-bdde5283af5b.png)
Solder the TRRS jack, reset switch and pin socket to the ** surface of the PCB ** as shown in the picture below.
Since the diode is attached on the back side, it will be on the opposite side.
Solder the TRRS jack, reset switch and pin socket to the **front of the PCB**
as shown in the picture below.
Since the diode is attached on the back side,
it will be on the opposite side.
![09](https://user-images.githubusercontent.com/736191/52534621-40a68300-2d87-11e9-9749-14459d2b1eac.png)
![](https://user-images.githubusercontent.com/736191/52534621-40a68300-2d87-11e9-9749-14459d2b1eac.png)
### Jumpers for OLED modules
When using OLED module, jumper as follows.
** Please jumper only on the surface **.
![10](https://user-images.githubusercontent.com/736191/52534622-4d2adb80-2d87-11e9-8935-f7dc5fab4c38.png)
When using an OLED module, use solder as jumpers (4 times per side) as follows.
**Please jumper only on the surface**.
If the jumper doesn't work, you probably have a small amount of solder or the flux in the solder has vaporized.
In that case, if you use a lot of solder or apply a separate flux, you can make a jumper well.
![](https://user-images.githubusercontent.com/736191/52534622-4d2adb80-2d87-11e9-8935-f7dc5fab4c38.png)
### ProMicro
If the jumper doesn't work,
you probably have a small amount of solder,
or the flux has vaporized.
If so, you cna fix the jumper by applying more solder or separate flux.
![11](https://user-images.githubusercontent.com/736191/52534637-99761b80-2d87-11e9-958a-c6ca836a7936.png)
### Pro Micro
Solder the pin header to the white frame and solder the ProMicro back side up.
![](https://user-images.githubusercontent.com/736191/52534637-99761b80-2d87-11e9-958a-c6ca836a7936.png)
![12](https://user-images.githubusercontent.com/736191/52534641-a266ed00-2d87-11e9-8dcb-832b90556ac2.png)
![13](https://user-images.githubusercontent.com/736191/52534643-aa269180-2d87-11e9-9c05-67924d235968.png)
Solder the pin headers to the white frame and solder the Pro Micro with back side up.
When using the spring pin header, please refer to [Helix Build Guide] (https://github.com/MakotoKurauchi/helix/blob/master/Doc/buildguide_jp.md#pro-micro).
![](https://user-images.githubusercontent.com/736191/52534641-a266ed00-2d87-11e9-8dcb-832b90556ac2.png)
![](https://user-images.githubusercontent.com/736191/52534643-aa269180-2d87-11e9-9c05-67924d235968.png)
When using the spring pin header,
please refer to the [Helix Build Guide](https://github.com/MakotoKurauchi/helix/blob/master/Doc/buildguide_jp.md#pro-micro).
### OLED module
![14](https://user-images.githubusercontent.com/736191/52534716-4bade300-2d88-11e9-9fc4-e96787870d07.png)
![](https://user-images.githubusercontent.com/736191/52534716-4bade300-2d88-11e9-9fc4-e96787870d07.png)
Insert the pin header into the OLED pin socket first, then solder the pin header and the OLED module.
At this time, be careful not to float the OLED module while holding it down with your finger because it is easy to float.
Insert the pin header into the OLED pin socket first,
then solder the pin header and the OLED module.
At this time,
make sure that he OLED module sits tightly on the socket while holding it down with your finger,
because it tends to stick out easily.
![15](https://user-images.githubusercontent.com/736191/52534720-5e281c80-2d88-11e9-9b76-164d9b63692f.png)
![16](https://user-images.githubusercontent.com/736191/52534722-67b18480-2d88-11e9-94d0-e3c899bcc020.png)
![](https://user-images.githubusercontent.com/736191/52534720-5e281c80-2d88-11e9-9b76-164d9b63692f.png)
![](https://user-images.githubusercontent.com/736191/52534722-67b18480-2d88-11e9-94d0-e3c899bcc020.png)
### Operation check
We recommend that you check the operation at the stage where the ProMicro and OLED modules are attached (it is difficult to isolate the problem at the end).
Before checking the operation, insert the crkbd firmware into ProMicro by referring to the “Firmware” section below (be sure to insert it on both sides).
We recommend that you check the operation at the stage where the Pro Micro and OLED modules are attached (it is difficult to isolate the problem at the end).
Operation confirmation is performed by connecting the left hand side to a PC with MicroUSB and connecting the left hand side and the right hand side with a TRS cable. Since there may be a defect such as a jack, make sure to connect the left and right instead of one by one before checking the operation. If you have done this correctly, short-circuit the pad to attach the PCB socket with tweezers etc., and the key pressed on the OLED module will be displayed.
Before checking the correct operation,
flash the crkbd firmware to the Pro Micro by referring to the [Firmware](#firmware) section below
(be sure to insert it on both sides).
![17](https://user-images.githubusercontent.com/736191/52534757-b95a0f00-2d88-11e9-9a81-467a9efbb935.png)
Operation confirmation is performed by connecting the left hand side to a PC with Micro USB
and connecting the left hand side and the right hand side with a TRS cable.
Since there may be a defect such as a jack,
make sure to connect the left and right instead of one by one before checking the operation.
If you have done this correctly,
short-circuit the pad to attach the PCB socket with tweezers,
and the key pressed on the OLED module will be displayed.
![](https://user-images.githubusercontent.com/736191/52534757-b95a0f00-2d88-11e9-9a81-467a9efbb935.png)
## LED (optional)
![18](https://user-images.githubusercontent.com/736191/52534775-fd4d1400-2d88-11e9-8fcc-9916160a6478.png)
![](https://user-images.githubusercontent.com/736191/52534775-fd4d1400-2d88-11e9-8fcc-9916160a6478.png)
I will install SK6812MINI.
The LED can be mounted even after completion, so if you are worried about mounting it, we recommend that you skip this chapter and complete it first.
The LED can be mounted even after completion,
so if you are worried about mounting it,
we recommend that you skip this chapter and complete it first.
SK6812MINI is very heat sensitive and breaks easily.
We recommend using a soldering iron with a temperature control function and operating at a temperature of about 220 ° C to 270 ° C.
Even if the temperature is adjusted, if the iron is left on the LED for a long time, it will be damaged, so try to solder as quickly as possible.
Solder four LEDs at a time, but we recommend soldering two at a time instead of four at a time to prevent the LED temperature from rising, as this will make it harder to break.
We recommend using a soldering iron with a temperature control function and operating at a temperature of about 220°C to 270°C.
Even if the temperature is set that low,
the LED will be damaged if the iron is left on it for a long time,
so try to solder as quickly as possible.
Solder four LEDs at a time,
but we recommend soldering two at a time instead of four at a time to prevent the LED temperature from rising,
as this will make it less likely to overheat.
First, check the mounting position.
Solder 1 ~ 6 so that the back side (Undergrow) shines, 7 ~ 27 so that the front side (Backlight) shine. Below is the location to attach the LED (image is posted from Corne Cherry).
Solder 1 - 6 so that the back side (under-glow) shines,
7 - 27 so that the front side (back-light) shines.
Below is the location to attach the LED (image from Corne Cherry).
![19](https://user-images.githubusercontent.com/736191/46822561-c6f58d00-cdc6-11e8-90d4-de015410a7a4.png)
![20](https://user-images.githubusercontent.com/736191/46822569-cc52d780-cdc6-11e8-9602-f6265a2c876d.png)
![](https://user-images.githubusercontent.com/736191/46822561-c6f58d00-cdc6-11e8-90d4-de015410a7a4.png)
![](https://user-images.githubusercontent.com/736191/46822569-cc52d780-cdc6-11e8-9602-f6265a2c876d.png)
For steps 1 to 6, solder the product so that the black part circled below is on the bottom and the silk mark indicated by the arrow is on the top.
Note that the direction changes between 1 ~ 3 and 4 ~ 5.
For LEDs 1 to 6,
solder the part so that the black part circled below is on the bottom and the silk mark indicated by the arrow is on the top.
Note that the direction changes between 1 - 3 and 4 - 5.
![21](https://user-images.githubusercontent.com/736191/46822428-6d8d5e00-cdc6-11e8-8858-06e8dbdb8ee8.png)
![](https://user-images.githubusercontent.com/736191/46822428-6d8d5e00-cdc6-11e8-8858-06e8dbdb8ee8.png)
For 7 to 27, perform soldering so that the largest pad surrounded by a circle and the silk mark indicated by an arrow are adjacent to each other, as shown below.
For 7 - 27,
perform soldering so that the largest pad surrounded by a circle and the silk mark indicated by an arrow are adjacent to each other,
as shown below.
![22](https://user-images.githubusercontent.com/736191/46822434-6ebe8b00-cdc6-11e8-9686-69ac88bb4389.png)
![](https://user-images.githubusercontent.com/736191/46822434-6ebe8b00-cdc6-11e8-9686-69ac88bb4389.png)
If everything can be successfully soldered, it will glow as follows.
If the LED lights only halfway, the LEDs are connected in the order of the numbers. Therefore, suspect that the LED that does not emit light or the previous LED is incorrectly soldered or damaged.
If everything was successfully soldered,
it will glow as follows.
If the LED lights only halfway,
the LEDs are connected in the order of the numbers.
Therefore, it is likely that the LED that does not emit light
or the previous LED are incorrectly soldered or damaged.
![23](https://user-images.githubusercontent.com/736191/52534803-751b3e80-2d89-11e9-9588-75576942ba46.png)
![24](https://user-images.githubusercontent.com/736191/52534807-7c424c80-2d89-11e9-9580-0daffc862ebb.png)
![25](https://user-images.githubusercontent.com/736191/52534811-85331e00-2d89-11e9-9752-c40ffab23419.png)
![](https://user-images.githubusercontent.com/736191/52534803-751b3e80-2d89-11e9-9588-75576942ba46.png)
![](https://user-images.githubusercontent.com/736191/52534807-7c424c80-2d89-11e9-9580-0daffc862ebb.png)
![](https://user-images.githubusercontent.com/736191/52534811-85331e00-2d89-11e9-9752-c40ffab23419.png)
### Kailh PCB Socket
![26](https://user-images.githubusercontent.com/736191/52534832-be6b8e00-2d89-11e9-82e6-be53dd82bf59.png)
Apply solder to the pads on both sides on the back. It is difficult to add it later, so please fill it up beforehand.
![](https://user-images.githubusercontent.com/736191/52534832-be6b8e00-2d89-11e9-82e6-be53dd82bf59.png)
![27](https://user-images.githubusercontent.com/736191/52534834-c75c5f80-2d89-11e9-987e-d1ca43cf6bc3.png)
Apply solder to the pads on both sides on the back.
It is difficult to add it later,
so please fill it up beforehand.
![](https://user-images.githubusercontent.com/736191/52534834-c75c5f80-2d89-11e9-987e-d1ca43cf6bc3.png)
Insert the socket and melt the solder.
At this time, hold the socket with tweezers or fingers so that the socket does not float.
At this time,
hold the socket with tweezers or your fingers so that the socket sticks to the board.
![28](https://user-images.githubusercontent.com/736191/52534839-d0e5c780-2d89-11e9-8579-d6967b801229.png)
![](https://user-images.githubusercontent.com/736191/52534839-d0e5c780-2d89-11e9-8579-d6967b801229.png)
The soldering is now complete.
![29](https://user-images.githubusercontent.com/736191/52534855-05f21a00-2d8a-11e9-8a63-a9f8b09a730a.png)
![30](https://user-images.githubusercontent.com/736191/52534859-0c809180-2d8a-11e9-959a-83c58da83844.png)
![](https://user-images.githubusercontent.com/736191/52534855-05f21a00-2d8a-11e9-8a63-a9f8b09a730a.png)
![](https://user-images.githubusercontent.com/736191/52534859-0c809180-2d8a-11e9-959a-83c58da83844.png)
### Plate, switch
![31](https://user-images.githubusercontent.com/736191/52534879-55384a80-2d8a-11e9-9648-e9e9b81625c1.png)
![](https://user-images.githubusercontent.com/736191/52534879-55384a80-2d8a-11e9-9648-e9e9b81625c1.png)
Use 3.5mm spacers for the top and bottom plates and 8mm spacers for the OLED.
Use 3.5mm spacers for the top and bottom plates
and 8mm spacers for the OLED.
![32](https://user-images.githubusercontent.com/736191/52534882-67b28400-2d8a-11e9-987d-00b5e14a8f2c.png)
![](https://user-images.githubusercontent.com/736191/52534882-67b28400-2d8a-11e9-987d-00b5e14a8f2c.png)
In addition, it is recommended to paint the side of the plate with black magic because it looks better.
In addition,
it is recommended to paint the side of the plate with a black marker
because it looks better.
![33](https://user-images.githubusercontent.com/736191/52534914-00e19a80-2d8b-11e9-8005-7e0b157e09e4.png)
![](https://user-images.githubusercontent.com/736191/52534914-00e19a80-2d8b-11e9-8005-7e0b157e09e4.png)
## Firmware
https://docs.qmk.fm/#/newbs_getting_started See here and prepare the environment to write the firmware.
Once the environment is created, build the firmware for Crkbd with the following command.
Refer to [the QMK _getting started_ guide](https://docs.qmk.fm/#/newbs_getting_started),
and install the necessary software according to your OS
(it takes quite some time to install).
`` `
Once the environment is ready,
build the firmware for Crkbd with the following command.
```
make crkbd: default
`` `
```
When the build is completed, execute the following command.
When the build is completed,
execute the following command.
`` `
```
make crkbd: default: avrdude
`` `
```
When you execute it, you will see the following log, and you can see that `.` increases.
Press the reset switch ** twice ** during this time to complete the firmware writing.
When you execute it,
you will see the following log,
and you can progress by `.`s appearing.
Press the reset switch **twice** during this time to complete the firmware writing.
`` `
```
<Omitted>
Checking file size of crkbd_rev1_default.hex [OK]
* File size is fine-27328/28672
Copying crkbd_rev1_default.hex to qmk_firmware folder [OK]
Detecting USB port, reset your controller now ........
`` `
```
Once the firmware has been written to one side of the ProMicro, the other side will follow the same procedure.
Once the firmware has been written to one side of the Pro Micro,
follow the same procedure for the other side.
This is the end.
! [34] (https://user-images.githubusercontent.com/736191/52534969-be6c8d80-2d8b-11e9-82ac-a2cd09ab96d1.png)
![](https://user-images.githubusercontent.com/736191/52534969-be6c8d80-2d8b-11e9-82ac-a2cd09ab96d1.png)