Story
IMK6K
-Hotswap macro keyboard with 6 keys and backlight( WS2812B-3535 OR WS2812B-2020)
-Encoder
-I2C OLED
-CH32X033



Soldered jumpers:
JP7 -U1 power
JLP1 -LED power
JOP1- OLED power
JP3- OLED SCL
JP4-OLED SDA
CH32X033 I/O:


| PIN | I/O | FUNCTION |
| 1-3 | INPUT | SW1-SW3 (PA6,PA7,PB1) |
| 4 | OUTPUT | IR PWR ON/OFF (PB7) |
| 5,6 | USB | USB D-, D+ |
| 7 | POWER | GND |
| 8 | PROG.PIN/OUTPUT | SWDIO / LED PWR ON (PC18) |
| 9 | POWER | VDD |
| 10-12 | INPUT | SW4,SW5,SW6 (PA9,PA11,PA10) |
| 13 | OUTPUT | RGB LED (WS2812B) (PC3) |
| 14 | AD | CURRENT MEASUREMENT VIA USB (A0) |
| 15 | OUTPUT | OLED SCL (PA1) |
| 16 | INPUT / OUTPUT | OLED SDA(PA2) |
| 17 | INPUT | ENCODER A (PA3) |
| 18 | PROG.PIN / OUTPUT | SWDCK / IR TX (PC19) |
| 19 | INPUT | ENCODER B (PA4) |
| 20 | INPUT | ENCODER BUTTON / IR RX (PA5) |
Materials:
External module:
Here is a link to a project with pins in which you can use the MCU you want:
EasyEDA module project only pins


Wiring jumpers when using an external module
| Jumper | Function | Soldered |
| JP1 | LED power on/off | NO |
| JP2 | Fotoresistor | NO |
| JP3 | OLED SCL | NO |
| JP4 | OLED SDA | NO |
| JP5 | IR TX | NO |
| JP6 | IR RX | NO |
| JP7 | VDD on U1(CH32X033) | NO |
| JG1 | Direct Baterry - with GND | YES If you do not want to measure battery current ( INAB1 ) |
| JIR1 | Direct power connection for IR TX,RX | YES If you do not want to turn on/off the power supply with the MCU (irpwron) |
| JLP1 | Direct power connection for LEDs | YES If you do not want to turn on/off the power supply with the MCU (ledpwron) |
| JOP1 | Direct power connection for OLED | YES If you do not want to turn on/off the power supply with the MCU (oledpwron) |

















