Script for a Makrokeyboards using an ESP32 and Cherrylike switches
Stuff I used:
- esp32 C3: https://de.aliexpress.com/item/1005006149784075.html?spm=a2g0o.order_list.order_list_main.28.18045c5fI0yOi7&gatewayAdapt=glo2deu
- cherrylike switches: https://s.click.aliexpress.com/e/_EHSSh6s
3d Print files:
- Base of the macro pad: https://makerworld.com/de/models/696565-6-button-esp32-iot-macro-pad#profileId-1606478
- keycap generator: https://makerworld.com/de/models/1385177-customizable-keycaps?from=search#profileId-1434411
- Emojis: 📁🔉🔊📄📋📸
The Connection pattern is the following:
- Connect one side of all the switches together and then connect that to ground
- Connect the other side of every switch to one of the following pins: 4,5,6,7,8,9
- Check if you like your layout and change it in the code if needed.
How to programm the esp32:
- Connect the USB-C Port of the esp32 to your computer
- Download the Arduino IDE https://www.arduino.cc/en/software/
- Open the Makropad_ESP32.ino Sketch file in the Arduino IDE
- Select the correct COM port in the IDE and select the Adqafruit QT Py ESP32-C3 as the device (if you dont see any devices with that name download the esp32 library first)
- Upload the Skatch via the upload button
How to use the Python code to use the Makrokeyboard on PC:
- download python https://www.python.org/downloads/
- open the terminal as administrator
- install independencies:
- pip install pyserial
- pip install keyboard
- pip install win10toast
- change the folder in the macropad.vbs file to the on on your system
- put the macropad.vbs file in the startupfolder:
- Press Windows + R
- write shell:startup
- press enter
- copy the macropad.vbs file to the startupfolder
Scripts for the Makrokeyboard © 2026 by Leon Wüste is licensed under Creative Commons Attribution-NonCommercial 4.0 International