Turn your Raspberry pi Pico or ESP32 into a 9-key macro-pad for your Mac or Windows machine. You can add your own custom macros, modifier keys, hotkeys and more with this macro-pad!
Prerequisites
- In order to program your macro-pad you will need to download the Circuit python mu editor
- You will need to download and 3D print the Printables STL
- Source Code: github
- The case for this macro-pad is 3D printed so you will need to either have a 3D Printer or have access to one
Required Equipment
3X3 Macro-Pad
- 4x Rubber Feet
- 1x Raspberry Pi Pico
- 9x Mechanical Keyboard Switches
- 9x Keycaps
3X3 Macro-Pad With Screen & Rotary Encoder
- 4x Rubber Feet
- 1x Raspberry Pi Pico
- 9x Mechanical Keyboard Switches
- 9x Keycaps
- 1x EC11 Rotary Encoder
- 1x 128×64 oled ssd1306 yellow/blue screen
Wiring
Wiring can be tricky but don’t worry this project is far from difficult!
Switches
Wire the mechanical keyboard switches to the following GPIO Pins on your Raspberry Pi Pico:
- GP2
- GP3
- GP4
- GP5
- GP6
- GP7
- GP8
- GP9
- GP10
- GROUND
Screen
- SCL: GP1
- SDA: GP0
- POWER/GROUND
EC11 Encoder
- Out A: GP18
- Out B: GP19
- Button is not used in this iteration however wire it to GP11 if you choose to use the button.
- GROUND
Code
If you choose to build the macro-pad with or without the screen the setup is pretty much the same!
The 3rd party libraries required for this to run are already included in the source code so all you have to do is open the project you’d like in the circuit python code editor, select your Raspberry Pi Pico and flash!
Leave a Reply