Author Topic: Running into issues designing a multi-configuration 75% PCB  (Read 6274 times)

0 Members and 1 Guest are viewing this topic.

Offline Kestrel_

  • Thread Starter
  • Posts: 5
I'm fairly new circuit design, and while I think I've done pretty well for a beginner, the configurable top and bottom rows have made it seemingly impossible to find a decent place to slap down a micro controller, as well as figuring out how to wire the overlapping switch holes for the top and bottom rows. For the controller I originally planned to use an Elite-C, but as I made progress I realized there wouldn't be enough room/pins, and I'd need to have the 32u4 chip and a usb-c port soldered directly to the PCB. but, because nothing is ever easy, there's just never enough room to fit and route all the components. Is there a trick to getting everything to fit neatly? any advice you guys could provide would be really appreciated.



Also, If I ever end up finishing this, Is it something some of you guys would enjoy using? I could share the files when it's done.

UPDATE:

found a place for the elite c, and added a split Lshift for better Iso support, and wired everything up. Here's what it looks like now. (traces hidden)

« Last Edit: Mon, 20 May 2019, 11:00:02 by Kestrel_ »

Offline Lanrefni

  • Posts: 117
Re: Running into issues designing a multi-configuration 75% PCB
« Reply #1 on: Sat, 18 May 2019, 19:23:56 »
You could use a Teensy++ and put the pins for it under the Tab,Q,and maybe the W key,you'd have to solder in the switches,then the Teensy.

Offline nevin

  • Posts: 1646
  • Location: US
Re: Running into issues designing a multi-configuration 75% PCB
« Reply #2 on: Sat, 18 May 2019, 19:36:31 »
Look at the tutorials for keeb.io's boards. All are plain pcbs, all trough hole & pro micros. Mount pro micro under 3 switches (ortho)
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline Kestrel_

  • Thread Starter
  • Posts: 5
Re: Running into issues designing a multi-configuration 75% PCB
« Reply #3 on: Sun, 19 May 2019, 20:27:39 »
You could use a Teensy++ and put the pins for it under the Tab,Q,and maybe the W key,you'd have to solder in the switches,then the Teensy.

Look at the tutorials for keeb.io's boards. All are plain pcbs, all trough hole & pro micros. Mount pro micro under 3 switches (ortho)

Thanks for the advice, you two. I managed to get everything wired up with a teensy++, and keeb.io's docs really helped. the only thing missing is usb-c and the placement on the side is a little strange, but I guess that can't be helped. ;D

Offline Findecanor

  • Posts: 5037
  • Location: Koriko
Re: Running into issues designing a multi-configuration 75% PCB
« Reply #4 on: Sun, 19 May 2019, 21:12:59 »
An Elite-C (24 GPIO pins) or surface-mounted ATmega32U4 (26 pins) should be enough.
You have only around 84 keys there, only that some of these have multiple alternative switch positions.

The Teensy 2.0 with 25 pins was used for the Phantom tenkeyless keyboard, which has a 17×6 matrix (23 GPIO pins) + 2 LEDs.
You could optimise a keyboard matrix by making the logical matrix closer to a square, i.e. the number of rows and columns closer to the square root of the number of keys.
The smallest theoretical matrix for a 84-key keyboard would thus be 10×9 = max 90 keys, 10+9=19 GPIO pins.
A more reasonable optimised matrix (easier to reason about :) ) would be to let each logical column map two physical columns: instead of 16×6 (22 pins) you would then need 8×12 => 20 GPIO pins.

BTW, Did you intend to have a 2u key in the top right corner, or did you intend to allow the Backspace key to be split?
BTW 2. To support the ISO layout, the left Shift would also need to be split into two keys.
« Last Edit: Sun, 19 May 2019, 21:19:04 by Findecanor »

Offline nevin

  • Posts: 1646
  • Location: US
Re: Running into issues designing a multi-configuration 75% PCB
« Reply #5 on: Sun, 19 May 2019, 21:22:25 »
If you build out a case or spaced plates, the controller can be relocated where ever you like. Some use mini usb extension cables to relocate the jack in the housing. Another option would be to wire in your own connector to the pads the micro usb connector uses.
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline Kestrel_

  • Thread Starter
  • Posts: 5
Re: Running into issues designing a multi-configuration 75% PCB
« Reply #6 on: Sun, 19 May 2019, 21:47:33 »
An Elite-C (24 GPIO pins) or surface-mounted ATmega32U4 (26 pins) should be enough.
You have only around 84 keys there, only that some of these have multiple alternative switch positions.

The Teensy 2.0 with 25 pins was used for the Phantom tenkeyless keyboard, which has a 17×6 matrix (23 GPIO pins) + 2 LEDs.
You could optimise a keyboard matrix by making the logical matrix closer to a square, i.e. the number of rows and columns closer to the square root of the number of keys.
The smallest theoretical matrix for a 84-key keyboard would thus be 10×9 = max 90 keys, 10+9=19 GPIO pins.
A more reasonable optimised matrix (easier to reason about :) ) would be to let each logical column map two physical columns: instead of 16×6 (22 pins) you would then need 8×12 => 20 GPIO pins.

BTW, Did you intend to have a 2u key in the top right corner, or did you intend to allow the Backspace key to be split?
BTW 2. To support the ISO layout, the left Shift would also need to be split into two keys.
Thanks for the advice on matrix layouts and the elite-C. I'll look into that.
The top row supports two different layouts, one with a 2u key, one with 1u's all the way across. However I can see how some people would like to mix and match, which my current wiring doesn't support. I'll fix that real quick. As for the iso, layout, that's easy enough to fix. Are there any other special conditions that need to be met?

Offline equalunique

  • Posts: 539
Re: Running into issues designing a multi-configuration 75% PCB
« Reply #7 on: Mon, 20 May 2019, 09:10:14 »
75% layout

Split Spacebar

Uses common socketable microcontroller

This is an exciting project!

Sent from my LG-H918 using Tapatalk


Offline Kestrel_

  • Thread Starter
  • Posts: 5
Re: Running into issues designing a multi-configuration 75% PCB
« Reply #8 on: Mon, 20 May 2019, 10:53:53 »
75% layout

Split Spacebar

Uses common socketable microcontroller

This is an exciting project!

Sent from my LG-H918 using Tapatalk

Don't forget Iso compatable! ;)

Offline Kestrel_

  • Thread Starter
  • Posts: 5
Re: Running into issues designing a multi-configuration 75% PCB
« Reply #9 on: Mon, 20 May 2019, 21:31:56 »
I have one more question for you guys, actually. The screw holes its using are designed to work with the custom case I plan on using, but I plan on giving the extra boards to a few friends. With that in mind, I think I should add more standard mounting holes, and maybe an onboard usb-c port that would match up with any 75% case they chose. Where can I find the right measurements for that stuff?

Offline equalunique

  • Posts: 539
Re: Running into issues designing a multi-configuration 75% PCB
« Reply #10 on: Tue, 04 June 2019, 15:44:41 »
Where can I find the right measurements for that stuff?

The presence of the Elite-C on the bottom of the PCB might interfere with some cases, but it's possible that it could be made to fit with some modification. I don't have the measurements for KBD75 cases, but maybe you could ask either ReDsNoTDeAd of the PLA75 IC; or PlastikSchnittstelle of the SKBXX GB.

Maybe by the end of the month I will have a KBD75 V1 PCB to take measurements with.