Author Topic: Question about MCU's for QMK  (Read 709 times)

0 Members and 1 Guest are viewing this topic.

Offline Melvang

  • Exquisite Lord of Bumfluff
  • * Maker
  • Thread Starter
  • Posts: 4406
  • Location: Waterloo, IA
  • Melvang's Desktop Customs
Question about MCU's for QMK
« on: Tue, 22 October 2024, 09:15:54 »
Good morning peeps, been a while since I have been around.  Couple questions. 

Looking to get back into some stuff and have some questions.  I want to use QMK toolbox for firmware stuffs.  But I was wondering what MCU would be suggested for the maximum number of available pins to reduce the need for creative matrix layouts.  From the little bit of digging I have done, it seems that I could use a Teensy 4.1, can anyone confirm if this will work?

Also, I would like to add a driver and solenoid similar to what is/was available for the Model F keyboards.  Would this be possible with the full release QMK without using the firmware specific to the Model F QMK firmware setup?
OG Kishsaver, Razer Orbweaver clears and reds with blue LEDs, and Razer Naga Epic.   "Great minds crawl in the same sewer"  Uncle Rich

Offline TomahawkLabs

  • Posts: 144
Re: Question about MCU's for QMK
« Reply #1 on: Tue, 12 November 2024, 10:15:41 »
Are you looking for a complete MCU where you just have to wire the matrix to the controller, then connect the controller via USB to your PC?

Teensy no longer makes the Teensy ++ 2.0 anymore, but that is what I used in the past with good luck. Lots of pins and known to work well with keyboards. You can find China copies and old stock if you google it.

Otherwise, a PGA2040 is the smallest full pinout RP2040 board that has all 30 pins broken out, but would be harder to use than say an RP2040 Stamp which has built in reset pins for flashing. Neither have USB out via an integrated USB port. Both above are considered "MCU Modules" which means they contain all the parts/pins, but lack an on board USB port. Easy fix is to buy a USB cable, cut off an end and solder the wires to the module directly. Modules also are great if you want to make your own PCB since the USB port won't be on the MCU anyway.

As far as using QMK to do what you want, I am not sure. I haven't gotten that far in my own PCB journey and used another method to flash my handwired AEK a while back. I assume if QMK has support for a solenoid it would be similar to how they do status LEDs where you just indicate the pin used for the solenoid and the software does the rest.

The market for an MCU with 27+ pins (what is normally needed for a clean handwire build) is very small and as such, not a lot offered.
Always looking for Alps SKCM/SKCL switches. Feel free to DM.
AMD 5600x | RTX3080 | 2x 1TB NVME + 4x 4TB HDD | B550M Pro-P | 32GB RAM | RM850x | Node 804 | Schiit Modius/Magnius + Audeze LCD-2 | 2x Dell S3422DWG
GMMK 1 Full Size Barebones | Zealio 67g ; Apple M3501 handwired | Alps SKCM Damped Cream
SA: Camping

Offline wjrii

  • Posts: 128
  • Location: Texas
Re: Question about MCU's for QMK
« Reply #2 on: Thu, 14 November 2024, 12:07:56 »
...

The market for an MCU with 27+ pins (what is normally needed for a clean handwire build) is very small and as such, not a lot offered.

I recently did a 117-key handwire using KMK.  I used a YD-RP2040 which has 28 GPIO pins exposed and is a full dev board with the USB-C, a couple of LEDs, and reset buttons.

There is a QMK profile for "generic" RP2040 boards which may work, but I haven't dived into trying to get QMK running, and it seems like there'd be a pretty decent amount of manual configuration.