Make a macro-pad using a Raspberry pi pico and circuit python
- download circuitPython here
- follow instructions to install circuit python onto your Raspberry pi pico
- clone repo -
git clone https://github.com/jaysongiroux/pico-macro-pad.git
- copy main.py, boot.py and lib/ onto your pico
- reboot
main.py
can be edited to use different macros, supporting strings, key combinations and media control keys
# String:
(8): (STRING, ["git add .", NEW_LINE]), # 7
# Media:
(5): (MEDIA, [ConsumerControlCode.SCAN_PREVIOUS_TRACK])
# Key combination:
(0): (KEY, [Keycode.LEFT_CONTROL, Keycode.C]), # 1
Make a macropad that supports multiple pages of macros along with the support of multiple OSs and a display to show each key's mapping
- Rubber Feet
- EC11 Rotary Encoder
- Raspberry pi Pico
- 128x64 oled ssd1306 yellow/blue screen
- Key Caps
- Pick your own Cherry MX style mechanical keyboard switches
wire switched to:
- GP2
- GP3
- GP4
- GP5
- GP6
- GP7
- GP8
- GP9
- GP10
- GROUND
- SCL: GP1
- SDA: GP0
- POWER/GROUND
- GP18
- GP19
- Button is not used in this iteration however wire it to GP11 if you choose to use the button.
- GROUND
Copy the contents of the 3x3_with_screen_and_ec11 folder into the circuitPython Directory. This directory will show up when you connect your Raspberry pi Pico with circuit python firmware installed.
All external libraries and files have been included, this should be as simple as dragging and dropping the contents into the pico.
- Screens can be added/ removed at the top of the code.py file
- Manual spacing is involved to get a neat looking 3x3 layout on the screen. this spacing will be needed in the
page_X_format
variable - Similar to the plain 3x3 macro pad, strings, multi-media and key macros are all supported.
- support MacOS (intel and apple) along with windows OS's
- An Example apple script has been added to the "extras" directory to demonstrate how to link a keyboard shortcut to a service using automaton