The Macroterminal

About the project

A bulky retro-looking macro keypad with multiple displays and presets.

Project info

Difficulty: Moderate

Platforms: AdafruitArduino

Estimated time: 1 day

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Pro Micro - 5V/16MHz Pro Micro - 5V/16MHz https://www.amazon.com/gp/product/B07J2Q3ZD5/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1 x 1
BUD Industries PC-11491 Enclosure BUD Industries PC-11491 Enclosure https://www.amazon.com/gp/product/B005T58ZTO/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&psc=1 x 1
Any Keycaps Any Keycaps https://www.amazon.com/gp/product/B07Q9Q2C8S/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8&th=1 x 1
TCA9548A I2C Multiplexer TCA9548A I2C Multiplexer I used this one from Amazon: https://www.amazon.com/gp/product/B06XXG5G3L/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 x 1
Monochrome 0.96" OLED Graphic Display Monochrome 0.96" OLED Graphic Display https://www.amazon.com/gp/product/B0833PF7ML/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1 x 4
20X4 CHARCTR YW/GRN LCD W/BACKLIGHT 20X4 CHARCTR YW/GRN LCD W/BACKLIGHT https://www.amazon.com/HiLetgo-Backlight-Display-Arduino-MEGA2560/dp/B01DKETWO2/ref=sr_1_5?keywords=arduino+lcd+display&qid=1664555466&qu=eyJxc2MiOiI0LjkxIiwicXNhIjoiNC4yNCIsInFzcCI6IjQuMDgifQ%3D%3D&sprefix=arduino+lcd%2Caps%2C69&sr=8-5 x 1
Cherry MX Switch Breakout Cherry MX Switch Breakout x 6
Micro USB Expansion Cable Micro USB Expansion Cable https://www.amazon.com/gp/product/B08LBKD8KZ/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&th=1 x 1

View all

Software apps and online services

Arduino IDE Arduino IDE
VS Code VS Code Optional, just for version control.

Hand tools and fabrication machines

Drill Press Drill Press x 1
Coping Saw Coping Saw x 1
Hand Files Hand Files x 1
Sandpaper Sandpaper x 1

Story

I really liked the macro keypad projects that I have seen and wanted to make one. I didn't want to follow a tutorial or anything on a project where someone has already fleshed out the lifecycle of their project. I also wanted to try a couple new things that I had not seen before with some parts I had left over from other incomplete projects. So I decided to make a keypad with presets and displays; so you can change your configuration based on the applications you are using on the fly and never wonder what your keys do!

NOTE: I had originally planned on using icons displayed on the OLED displays to show the macro key functions, but storing multiple bitmaps, including display libraries, and SD storage libraries proved to be too large for the Pro Micro. I decided to dial back to just using text on the displays since I was already past my time budget for this project. I may revisit this in the future!

How it works:

This keypad, like most, utilizes the Pro Micro to act as a keyboard. It also utilizes a 2x3 keyboard matrix for the cherry mx keys and a TCA954A Multiplexer to handle the 5 displays individually.

The code consists of 3 "configurations" and the keys are set to different macros based on these configurations. The keys under the LCD display navigate the configurations.


Schematics, diagrams and documents

MacroTerminal Schematic

Please excuse the messiness of this, it is my first.

Code

MacroTerminal

The Github repo to the MacroTerminal project

Credits

Photo of benzamp

benzamp

Just a guy who likes tinkering.

   

Leave your feedback...