geekhack

geekhack Projects => Making Stuff Together! => Topic started by: Noogie on Mon, 24 July 2017, 01:19:43

Title: Custom volume/media macro mini keyboard
Post by: Noogie on Mon, 24 July 2017, 01:19:43
I know this has been asked but I'm having trouble finding something really solid I can follow. I want to build an 8 key macro pad. I was thinking using a Pro Micro as the controller, but I'm not entirely sure how to wire it or code it. Please help!! Could I just solder all the switches straight to the Pro Micro making coding it easy? Thanks!
Title: Re: Custom volume/media macro mini keyboard
Post by: tris0908 on Mon, 24 July 2017, 02:15:23
I'd suggest wiring it as a matrix, with diodes. Then using the qmk firmware builder. This adds work in soldering, but takes the pain out of coding.

Sent from my SM-G935F using Tapatalk

Title: Re: Custom volume/media macro mini keyboard
Post by: TalkingTree on Mon, 24 July 2017, 03:47:07
I want to build an 8 key macro pad. I was thinking using a Pro Micro as the controller, but I'm not entirely sure how to wire it or code it.
Please have a look at this thread (https://geekhack.org/index.php?topic=85874.0).
Title: Re: Custom volume/media macro mini keyboard
Post by: Noogie on Mon, 24 July 2017, 10:23:36
Then using the qmk firmware builder.

That sounds quite nice and easy. If I make, for example, a 2x4 matrix how do I code it with QMK. As well, can I use a Pro Micro as opposed to a teensy for cost saving?
Title: Re: Custom volume/media macro mini keyboard
Post by: tris0908 on Mon, 24 July 2017, 10:36:17
First go to keyboard layout editor to "model" your layout/matrix. Then copy the raw data from KLE to qmk firmware builder (kbfirmware.com) and paste the raw data. Then play with the keymap and stuff. You can use a pro micro as it is cheaper. Tho harder to flash.

Sent from my SM-G935F using Tapatalk

Title: Re: Custom volume/media macro mini keyboard
Post by: TalkingTree on Mon, 24 July 2017, 10:38:59
If I make, for example, a 2x4 matrix how do I code it with QMK.
QMK handles the matrix on its own, so you only have to declare what pins are rows and what are columns. After that, you only have to define keymaps and keycodes. Start the hardware work then post here when you're done, I'll help you through.

can I use a Pro Micro as opposed to a teensy for cost saving?
Definitely, if you can live with the USB micro.
Title: Re: Custom volume/media macro mini keyboard
Post by: Phenix on Mon, 24 July 2017, 17:50:28
Buy a maximal pcb