r/macro_pads • u/Puzzled_Comment583 • 1h ago
DIY build Built my own touchscreen macro pad with an ESP32-S3, 4" screen and a big volume knob
Been working on this for a while and it's finally on my desk.
It's basically a mini Stream Deck: a 4" touchscreen, a chunky volume knob (push to mute) and two buttons, in a case I designed and printed in speckled white PLA. One USB-C cable.
Hardware
ESP32-S3 N16R8. The S3 acts as a real USB keyboard + media keys natively, no drivers. The 8 MB PSRAM caches the tile pictures so swiping pages is instant.
MSP4031 4" touch display, KY-040 encoder, 2 buttons, small buzzer
M3 screws into captive nuts
Software
I wrote the firmware with LVGL for the UI and LovyanGFX for the screen (faster than TFT_eSPI on this panel). I also made a desktop app where you drag and drop tiles and it syncs over USB. It sends live stuff too: now playing, CPU/GPU/RAM, Discord mute, and separate volume sliders for games, music and chat. There are a few themes; this one's neo-brutalist.
Stuff that gave me trouble
The ESP couldn't draw blur effects fast enough, so the PC pre-renders every tile and the pad just shows pictures. Best decision of the project.
My music app resets its volume every song, so the app now re-applies the level every 0.5sec when it drifts.
First cases were way too big, the third one is much sleeker (shown in pics) .
Happy to answer questions or share the case and code.