Logitech G502 modified macro keypad
1. Preparation materials
(1) Proofing PCB board
(2) One G502 pcb board
(3) 11 keyboard shafts and keycaps each
(4) Several wires
(5) 502 glue or other quick-drying glue ( Optional)
(6) A heart that loves DIY
2. Processing materials
(1) Prepare the PCB for proofing, place the shaft on the pad, align it to the lower left corner (to ensure welding consistency and beauty) and
After fixing it with glue at one point on the shaft body, you can weld it on the back
. (2) Remove the micro motion from the prepared G502 motherboard. The method for handling the micro motion on the small board is as follows
. Method 1: Small board Without disassembling the micro-movement, solder the pins directly to the PCB.
Method 2: Use a soldering iron or air gun to remove the FPC socket on the motherboard, and connect it to the PCB through the wiring method in the figure below.

Notes: Sensor FPC cable and its The slots are very fragile, don't use force to break any one of them, otherwise you will not be able to use the G502
(3) The wires should not be too thick or too long. They can be tinned in advance to facilitate subsequent soldering
. 3. Start soldering
due to the mouse button The trigger logic is to connect GND and the pin of the microcontroller after micro-pressing. Therefore, only one GND pin needs to be connected between G502 and PCB. As shown in Figure

4. Prepare the shell
and use an extra piece of PCB board as the base plate.

Method 1 : Use m2 nuts, m2 studs, and m2 screws to fix (thicker, the strongest and safest)
Method 2: Use hot melt glue to fix, G502 motherboard load-bearing (the thinnest, unsafe)
5. Debugging and use of macros
(1) Download GHUB Logitech driver software
Logitech G HUB advanced gaming software, RGB and game configuration files (logitechg.com.cn)
(2) Determine the keyboard keys corresponding to each key, here is my example


6. Physical display


of physical video