Skip to content

Latest commit

 

History

History
242 lines (138 loc) · 12.6 KB

readme.md

File metadata and controls

242 lines (138 loc) · 12.6 KB

English / 日本語

How to create a custom layout with SU120

1

2

The SU120 allows a certain degree of freedom in key arrangement by connecting the boards with biscuits.

Maximum number of keys that can be placed

Without a rotary encoder, up to 6 rows and 10 columns = 60 keys can be placed per Pro Micro.

6x10

By connecting two Pro Micro with TRRS cable, it can be used as a split keyboard with 60 keys on one side and a total of 120 keys.

momo120

By wiring as DuplexMatrix, it is possible to use up to 240 times more keys, but I will omit the explanation here.

When using a rotary encoder, two pins are used for each rotary encoder, so the number of pins that can be used for key placement is reduced accordingly.

Specifically, when two rotary encoders are arranged for one Pro Micro, a maximum of 6 rows and 6 columns = 36 keys can be arranged.

6x6

If you place one rotary encoder for one Pro Micro, you can place up to 6 rows and 8 columns = 48 keys.

6x8

Note that these rows and columns are on the wiring. For example, by combining 6 rows and 6 columns as shown in the figure below, the layout can be 3 rows and 12 columns.

3x12

Screw to connect the board

Use M1.4 screws to connect the boards. Use a pan-head screw with a large ground contact surface, not a flat head screw.

It is certain to use a M1.4 screw with a screw length of 5 mm and an M1.4 nut together.

4

Depending on the source of the screw, it may be possible to fix it with just a M1.4 screw with a screw length of 3 mm without a nut. If the screw length is 3mm, it will not protrude from the board.

5

The rules of thumb so far are as follows:

-Wilco's and Hirosugi's M1.4 screws are thicker than the holes in the board, and the screws are tight. Can be assembled without nuts. -Wilco's M1.4 nut is quite expensive (if you buy 100, the unit price before tax is 92 yen). Hirosugi does not have an M1.4 nut in the lineup.

-Aliexpress's 100 cheap M1.4 screws that cost around $ 1 are slightly thinner, and it is better to procure M1.4 nuts together to assemble securely.

-There are subtle differences among the 10 boards that can be received in one order, and the screwing is tight or loose.

Therefore, I personally do the following.

-If you can wait 2-3 weeks for delivery, buy 5mm M1.4 screw and M1.4 nut on Aliexpress. If it runs short, it takes time to arrive again, so buy twice as many as you need. -If you do not want to wait 2-3 weeks, buy M1.4 screws with a screw length of 3 mm from Wilco and Hirosugi. -If you want to make it hard and strong anyway, buy M1.4 screws with a screw length of 5mm with Wilco and Hiroshi, and temporarily assemble without nuts. Order M1.4 nuts separately from Aliexpress, and tighten them with nuts at a later date.

Biscuits

These parts are used to connect cut boards.

Located on the outer periphery of the board. There is a line at the cutting position, so cut it with a nipper. Since it is a small part, please attach your hand so that it does not fly.

biscuits_cut

The screw holes of the biscuit are located at the corners of the part where the key switch is placed, and the inside of the corner of the 19.05 mm square where the key switch is placed by 1/8 (2.38125 mm) vertically and horizontally.

3

Install from the back side of the board so that it does not interfere with the key switch.

biscuit_contact_surface

Biscuits written as linear are used when connecting in a straight line such as a grid layout or a side-by-side key layout.

Biscuits written as stagger are used when connecting staggered, such as Row-Staggered and Column-Staggered.

For example, for a grid layouts, use 1u linear for vertical and horizontal connections and 0.25u stagger for bracing.

matrix_layout_biscuits

See the table below for details. Quantity is designed so that 60% keyboard layout (US, JIS) is possible with 4 boards.

Printing Quantity Overview Connection example (connecting red circles)
1u linear 5 Connect 1U
1.25u linear 2 Connect 1U and 1.25U
1.5u linear
1u linear
1 Connect 1U and 1.5U
Connect 1.25U
1.25U Can be used as a 1u linear by disconnecting at the break

2u linear
1.5u linear
1u linear
1 1U with no stabilizer Connect 2U
Use it for key arrangement with 0.5U space
If you separated by a cut, you can use it as a 1.5u linear or 1u linear.

1/8u stagger 6 Connect 1U by 0.125u (1 / 8u)
0.25u stagger 4 Connect 1U by 0.25u (1 / 4u) shift
Connect 1U by 0.5u (1 / 2u) shift
Used for diagonal bracing of the grid layouts

3/8u stagger 1 Connect 1U by 0.375u (3 / 8u) shift
0.5u stagger
0.25u stagger
1 Connect 1U by 0.5u (1 / 2u ) shift
If you separated by a cut, you can use it as a 0.25u stagger
5/8u stagger
3/8u stagger
1 Connect 1U by 0.625u ( 5 / 8u ) shift
If you separated by a cut, you can use it as a 3 / 8u stagger
0.75u stagger
3/8u stagger
1 Connect 1U by 0.75u ( 3 / 4u ) shift
If you separated by a cut, you can use it as a 3 / 8u stagger

Wire used for wiring

If you have a grid arrangement or a close connection, it is convenient to bend the diode legs.

bend_wire

8

For distant connections, use covered wires to avoid shorts.

wiring

If there is a lot of wiring, it is better to use polyurethane copper wire to reduce the thickness.

At first, we used 0.5mm polyurethane copper wire, bent it to form and then soldered it, but it takes time and effort.

uew_wiring3

Recently, 0.29mm polyurethane copper wire is used and wired in a straight line.

uew_wiring2

The following Scrapbox article is helpful for the thickness of polyurethane copper wire.

When wiring polyurethane copper wires in a straight line, do so after soldering diodes and sockets.

Key matrix wiring

After connecting the board with biscuits, connect the wiring of the vertical and horizontal key matrix.

In the vertical direction, make the through hole printed with COL (for example, the red circle in the figure below) conductive.

Similarly in the horizontal direction, the through hole printed with ROW (for example, the blue circle in the figure below) should be connected.

Since it has been pre-wired, it will conduct if the board is connected.

9

Wiring is required where the board is not connected. As mentioned earlier, it is easier to bend and solder the diode's legs.

bend_wire

8

Wiring to connect Pro Micro and key matrix

After confirming the continuity of the key matrix, connect Pro Micro to the key matrix.

When viewed from the front side of the board, the maximum is 10 keys on the side, A B C D E F G H I J from the left, the maximum is 6 keys on the vertical, and 1 2 3 4 5 6 from the top.

6x10 When using two rotary encoders, the maximum is 6 keys on the side. When using one rotary encoder, the side is a maximum of 8 keys.

The naming method is the same as the address in Microsoft Excel.

10

front_side_with_address

Turn the board over and connect the silk printing address on the back of the Pro Micro to the corresponding row / column with polyurethane copper wire (UEW wire).

In the state of the board, the Pro Micro and the key are already wired so that they have the following addresses.

7

Back side (image)

11

When connecting and expanding boards, it is necessary to connect the expanded rows and columns to Pro Micro.

Any through hole can be used for the corresponding row and column at the end of the connection.

For example, any through hole in the C row (orange circle) can be connected to the Pro Micro C printed through hole (orange square).

The through hole (blue circle) on the third line can be connected to the Pro Micro 3 printed through hole (blue square).

connect_address

In the case of two rotary encoders, the maximum is 6 rows and 6 columns, so one column to the right (up to F column) and the bottom can be expanded to 6 rows by breaking the existing 4th row. Three boards are required for this, and for example, the red arrows are connected.

Since 6D and 6E are assigned to the push buttons of the rotary encoder, the push buttons and 6D and 6E keys have the same behavior.

6x6wiring

When there is one rotary encoder, the maximum is 6 rows and 8 columns, so 3 columns to the right (up to H columns), the bottom can be expanded to 6 rows by breaking the existing 4th row. The number of boards required for this is four (three can be made if they are finely connected). For example, the red arrows are connected.

6x8wiring

When there is no rotary encoder, the maximum is 6 rows and 10 columns, so 5 columns to the right (up to column J), and the bottom can be expanded to 6 rows by breaking the existing 4th row. Four boards are required for this, for example, connecting the red arrows.

6x10wiring

Firmware

Prepare the QMK Firmware build environment referring to the following link.

QMK Firmware brought when building the build environment is forked https://github.com/e3w2q/qmk_firmware/tree/su120. Or bring the headquarters and there [https://github.com/e3w2q/qmk_firmware/tree/su120/keyboards/handwired/su120](https://github.com/e3w2q/qmk_firmware/tree/su120/ keyboards / handwired / su120) You may copy the following:

To write the default keymap, go to the qmk_firmware folder and execute the following according to the number of rotary encoders.

  • No rotary encoder

    make handwired/su120/rev1:default:avrdude  
    
  • 2 rotary encoders (1 right hand, 1 left hand)

    make handwired/su120/rev1_2knob:default:avrdude  
    
  • 4 rotary encoders (2 right hand, 2 left hand)

    make handwired/su120/rev1_4knob:default:avrdude  
    

In addition to the default keymap, a test keymap is provided.

In the test keymap, the logical arrangement of the entered key (for example, "A1" for the key in the first row and A column) is entered. Slave side inputs are prefixed with an “S”. When the rotary encoder is turned, “1ST_ENC_R”, “1ST_ENC_L”, etc. are input.

Please use it when performing the input test of all keys without using [KeyboardTester.com] (https://www.keyboardtester.com/tester.html).

  • No rotary encoder
    make handwired/su120/rev1:test:avrdude  
    
  • 2 rotary encoders (1 right hand, 1 left hand)
    make handwired/su120/rev1_2knob:test:avrdude  
    
  • 4 rotary encoders (2 right hand, 2 left hand)
    make handwired/su120/rev1_4knob:test:avrdude  
    

When Detecting USB port, reset your controller now ... is displayed, press the reset switch next to Pro Micro to start writing.