Author Topic: Q on board to board connections  (Read 207 times)

0 Members and 1 Guest are viewing this topic.

Offline Jonathon_DoranTopic starter

  • Regular Contributor
  • *
  • Posts: 76
  • Country: us
Q on board to board connections
« on: June 30, 2024, 04:05:59 pm »
I have wanted to build a new macro keyboard for some time now, and always get distracted by the real world before I finish.  I am making another attempt this summer...

Rather than put all of the keys in one large matrix, I got the idea that I might rather group them together in groups of 6.  The reason for this is that there are 36 keys total and I could separate these to make it easier to find a particular key by touch (without looking).  The old G15 keyboard had macro keys in 3 groups of 6.  Another reason for doing this is that I could have the key matrixes on 2-layer daughter boards and possibly connect them to the 4 layer main board.  This would allow me to have the MCU board under the key matrix (making the case taller but less desk area).  It might also cut costs a bit.

I don't know if this is a dumb idea or not.  So I guess that is my first question.

Next, while I'm planning to run the MCU at 72MHz, the key matrix scanning will be slower.  I don't know what that frequency will be, but I can certainly control it.  I could run it from a timer if I need an exact value.  A few hundred kHz seems reasonable.  I need a 48MHz clock for the USB connection, and had no reason to run the MCU slower before now.

I envision the board-to-board connections would be under 10cm each.  If I made the key matrix one single PCB it would be on the order of 120x130mm.

I think 5 signal wires separated by 4 ground wires would be sufficient to run to each daughter board.   My SWD connector has 10 lines, so I might be able to use these without adding to the BOM.

I have no schematic with this scheme for now, but can draw one up if needed.  I was hoping to get a rough idea if this would work before making such a drastic change to the design.

Edit:  I forgot to mention the programmable LEDs.  That would mean two more wires, so I guess I would need a different connector.  I'm not sure how fast I have to run the LEDs.  I believe they latch on "reset".

Any thoughts/suggestions?
« Last Edit: June 30, 2024, 04:08:17 pm by Jonathon_Doran »
 

Offline cpfeiffer55

  • Newbie
  • Posts: 9
  • Country: us
Re: Q on board to board connections
« Reply #1 on: June 30, 2024, 08:18:22 pm »
Your packaging might be a perfect use of Z-Silver connectors between your boards. It could make the overall size more compact and less of a pain to interface. Here is the website - https://www.zaxisconnector.com/products/connector-strips/z-silver/
 

Offline Jonathon_DoranTopic starter

  • Regular Contributor
  • *
  • Posts: 76
  • Country: us
Re: Q on board to board connections
« Reply #2 on: June 30, 2024, 08:22:20 pm »
Not really.  The MCU board would need to be as large as the key matrix then.  Flexible connectors (if they work) would be able to move out away from the MCU to each daughter board.
 

Offline Jonathon_DoranTopic starter

  • Regular Contributor
  • *
  • Posts: 76
  • Country: us
Re: Q on board to board connections
« Reply #3 on: July 01, 2024, 11:59:34 pm »
Well the LEDs will have to go, so I'm back to 5 signal wires per board.

My main concern is knowing whether it is OK to split off the keys to daughter boards, and how fast I can run the signals over that distance without doing something complicated.  Can I scan at 1MHz?  100kHz?  10kHz?
Again, I imagine about 10cm.  I'm thinking of a 10-wire cable like is used for SWD, with grounds between signal lines.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf