Author Topic: Converting Dolch PAC 62 PCB controller  (Read 3976 times)

0 Members and 1 Guest are viewing this topic.

Offline sethk_

  • Grand Master Wizard Pizza
  • * Esteemed Elder
  • Thread Starter
  • Posts: 2710
  • Location: Pittsburgh, Pennsylvania
  • www.kbdhub.com
    • My webstore
Converting Dolch PAC 62 PCB controller
« on: Thu, 23 April 2015, 19:17:49 »
More
What I am looking for help on:


Hi, I have an extra Dolch PAC pcb that I would like to put in a 1800 case, but the controller is ****ing huge on it, so it won't fit. The columns and rows are clearly defined, and somewhat labelled, but I have never dealt with a Teensy, and I don't think a teensy would work for this, but maybe another microcontroller? This is what the columns and rows pin looks like;


Untitled by skurela, on Flickr


Untitled by skurela, on Flickr


Any help with converting this would be helpful!
« Last Edit: Wed, 15 July 2015, 14:28:26 by sethk_ »

Offline Wilba

  • * Maker
  • Posts: 464
  • Location: Melbourne, Australia
  • Keyboard Stuff Person
    • wilba.tech
Re: Converting Dolch PAC 62 PCB controller
« Reply #1 on: Thu, 23 April 2015, 20:33:49 »
I may do something like this when my Dolch PAC arrives. I may be forced to if it's DOA and I want to use it while I design an 1800 PCB ;)

I'm no expert at original Cherry PCBs but from those pics, I'm assuming it's just a standard switch matrix with jumper wires not diodes in the switches.
A bit of testing with a multimeter can map out the matrix wiring, and connecting to a Teensy should be easy.
Or even easier perhaps... use a flat-bed scanner to scan the bottom of the PCB (or take a high-res photo) and trace it manually using a graphics app.
You'll need a photo of the top as well, to identify the jumper wires. Drop both into something like Photoshop and you can flip the photo of the top and put it on a layer above the bottom pic at 50% opacity. I've done that before with another reverse engineering project and it works well... just trace over the traces with different colours.

If you shared the pics, I could help you reverse engineer the matrix and get TMK going for you.


Offline sethk_

  • Grand Master Wizard Pizza
  • * Esteemed Elder
  • Thread Starter
  • Posts: 2710
  • Location: Pittsburgh, Pennsylvania
  • www.kbdhub.com
    • My webstore
Re: Converting Dolch PAC 62 PCB controller
« Reply #2 on: Thu, 23 April 2015, 21:51:54 »
I may do something like this when my Dolch PAC arrives. I may be forced to if it's DOA and I want to use it while I design an 1800 PCB ;)

I'm no expert at original Cherry PCBs but from those pics, I'm assuming it's just a standard switch matrix with jumper wires not diodes in the switches.
A bit of testing with a multimeter can map out the matrix wiring, and connecting to a Teensy should be easy.
Or even easier perhaps... use a flat-bed scanner to scan the bottom of the PCB (or take a high-res photo) and trace it manually using a graphics app.
You'll need a photo of the top as well, to identify the jumper wires. Drop both into something like Photoshop and you can flip the photo of the top and put it on a layer above the bottom pic at 50% opacity. I've done that before with another reverse engineering project and it works well... just trace over the traces with different colours.

If you shared the pics, I could help you reverse engineer the matrix and get TMK going for you.
OK, so what you are saying is that I need to open up all the tops of the switches? I can off the bat tell you that they are just pieces of bent wire and go straight across, so once I get a chance, and I should have done this before putting all the springs and stems back in, that way it would have been easier.

Offline Wilba

  • * Maker
  • Posts: 464
  • Location: Melbourne, Australia
  • Keyboard Stuff Person
    • wilba.tech
Re: Converting Dolch PAC 62 PCB controller
« Reply #3 on: Thu, 23 April 2015, 21:59:32 »
No, no, no!

I can tell from the pics you showed me that the switches have jumper wires in them, not diodes, since some of them aren't even connected by tracks.

Just take a photo of both sides, enough to see the tracks on the bottom and the jumper wires on the PCB (not in the switches).

Offline sethk_

  • Grand Master Wizard Pizza
  • * Esteemed Elder
  • Thread Starter
  • Posts: 2710
  • Location: Pittsburgh, Pennsylvania
  • www.kbdhub.com
    • My webstore
Re: Converting Dolch PAC 62 PCB controller
« Reply #4 on: Thu, 23 April 2015, 22:00:50 »
No, no, no!

I can tell from the pics you showed me that the switches have jumper wires in them, not diodes, since some of them aren't even connected by tracks.

Just take a photo of both sides, enough to see the tracks on the bottom and the jumper wires on the PCB (not in the switches).
Ohh, ok! Makes more sense!

Offline sethk_

  • Grand Master Wizard Pizza
  • * Esteemed Elder
  • Thread Starter
  • Posts: 2710
  • Location: Pittsburgh, Pennsylvania
  • www.kbdhub.com
    • My webstore
Re: Converting Dolch PAC 62 PCB controller
« Reply #5 on: Thu, 23 April 2015, 22:08:18 »
Front:




Back:



Offline Wilba

  • * Maker
  • Posts: 464
  • Location: Melbourne, Australia
  • Keyboard Stuff Person
    • wilba.tech
Re: Converting Dolch PAC 62 PCB controller
« Reply #6 on: Thu, 23 April 2015, 22:18:43 »
Old school single-sided PCB routing... ;) Can't want to get mine... I love vintage hardware!

Assuming the ribbon cables are for 19 columns and 8 rows, you may need to use a Teensy++ 2.0 for that many rows/columns - using a Teensy with less I/O pins will require extra chips to expand the I/O, which just gets messy. Teensy++ 2.0 is pretty teensy anyway. KISS principle applies here... just use that.

You could plan your case around sticking a Teensy in the middle somewhere... the wires from the Teensy could connect to either the ribbon cable pads, or directly to one of the switch pins on that row or column, sort of like a hand-wired custom build.

I'll stitch these photos together in 'shop and give it a look.

BTW what did you do with the vintage blues?

Offline sethk_

  • Grand Master Wizard Pizza
  • * Esteemed Elder
  • Thread Starter
  • Posts: 2710
  • Location: Pittsburgh, Pennsylvania
  • www.kbdhub.com
    • My webstore
Re: Converting Dolch PAC 62 PCB controller
« Reply #7 on: Thu, 23 April 2015, 22:20:47 »
Old school single-sided PCB routing... ;) Can't want to get mine... I love vintage hardware!

Assuming the ribbon cables are for 19 columns and 8 rows, you may need to use a Teensy++ 2.0 for that many rows/columns - using a Teensy with less I/O pins will require extra chips to expand the I/O, which just gets messy. Teensy++ 2.0 is pretty teensy anyway. KISS principle applies here... just use that.

You could plan your case around sticking a Teensy in the middle somewhere... the wires from the Teensy could connect to either the ribbon cable pads, or directly to one of the switch pins on that row or column, sort of like a hand-wired custom build.

I'll stitch these photos together in 'shop and give it a look.

BTW what did you do with the vintage blues?
1. I plan on using an old 1800 case, that is why I want to scrap the controller, but I also wonder how Caps lock, scroll lock, and num lock will work...
2. In my PCB that is in the Dolch case, I have the 62g sprit springs in my vintage blues, and then I traded my others to epzy for clears, and then I did an ergoclear mod with the blue springs from my complete dolch board.

Offline Wilba

  • * Maker
  • Posts: 464
  • Location: Melbourne, Australia
  • Keyboard Stuff Person
    • wilba.tech
Re: Converting Dolch PAC 62 PCB controller
« Reply #8 on: Thu, 23 April 2015, 22:47:07 »
1. I plan on using an old 1800 case, that is why I want to scrap the controller, but I also wonder how Caps lock, scroll lock, and num lock will work...

Cool!

You can just wire the LEDs to pins on the Teensy, via a resistor (e.g. 220 ohm)... nothing too hard there. I think the spacing is different between the Dolch and Cherry LEDs. If it's the same, reuse that little board, otherwise just attach some LEDs to the case with hot glue (the duct tape of DIY electronics), and have wires leading off to the Teensy.

Offline sethk_

  • Grand Master Wizard Pizza
  • * Esteemed Elder
  • Thread Starter
  • Posts: 2710
  • Location: Pittsburgh, Pennsylvania
  • www.kbdhub.com
    • My webstore
Re: Converting Dolch PAC 62 PCB controller
« Reply #9 on: Thu, 23 April 2015, 22:51:59 »
1. I plan on using an old 1800 case, that is why I want to scrap the controller, but I also wonder how Caps lock, scroll lock, and num lock will work...

Cool!

You can just wire the LEDs to pins on the Teensy, via a resistor (e.g. 220 ohm)... nothing too hard there. I think the spacing is different between the Dolch and Cherry LEDs. If it's the same, reuse that little board, otherwise just attach some LEDs to the case with hot glue (the duct tape of DIY electronics), and have wires leading off to the Teensy.
Depending on how I move it since it is just supported by some wires, it actually fits perfectly.

Offline Wilba

  • * Maker
  • Posts: 464
  • Location: Melbourne, Australia
  • Keyboard Stuff Person
    • wilba.tech
Re: Converting Dolch PAC 62 PCB controller
« Reply #10 on: Thu, 23 April 2015, 23:08:52 »
After I stitched your pics together (badly), I just discovered I had already stumbled upon a good photo of the bottom layer while researching Dolch PACs *doh*

This one's a bit nicer so I'll use that to trace out the matrix.

Offline U47

  • Posts: 99
  • Location: YEG
Re: Converting Dolch PAC 62 PCB controller
« Reply #11 on: Fri, 24 April 2015, 00:16:19 »
After I stitched your pics together (badly), I just discovered I had already stumbled upon a good photo of the bottom layer while researching Dolch PACs *doh*

This one's a bit nicer so I'll use that to trace out the matrix.

Is the controller socketed at the top? you could cheat like I am with my M0110, remove the chip, connect your Teensy with test leads to the data lines for the controller (may have to read a datasheet to determine which ones they are), and just read what comes in when you press a key... Alternatively, you could desolder the chip or the ribbon connecting the PCBs and do something similar.

Tracing the matrix quickly was giving me a headache (and I have less than 60 switches).

Offline Wilba

  • * Maker
  • Posts: 464
  • Location: Melbourne, Australia
  • Keyboard Stuff Person
    • wilba.tech
Re: Converting Dolch PAC 62 PCB controller
« Reply #12 on: Fri, 24 April 2015, 01:56:50 »

98320-0


I'll let you compile this into an ordered row/column grid with each key placed in it... that will be the quickest way to get it into TMK, because then you can just stick that into the keymap definition, compile and go. If you want to make the TMK keymap looks like "Esc, F1, F2, F3" and not "A, RShift, Enter, G" etc. then that's easy enough to do with a bit of extra code.



Offline Findecanor

  • Posts: 5036
  • Location: Koriko
Re: Converting Dolch PAC 62 PCB controller
« Reply #13 on: Fri, 24 April 2015, 03:48:28 »
Huh? What are you talking about? ....

I thought the Dolch had a regular G80-1800 controller.  The differences are the 4P4C socket and that the LEDs are on a separate PCB instead of mounted onto the controller's board directly.

Offline sethk_

  • Grand Master Wizard Pizza
  • * Esteemed Elder
  • Thread Starter
  • Posts: 2710
  • Location: Pittsburgh, Pennsylvania
  • www.kbdhub.com
    • My webstore
Re: Converting Dolch PAC 62 PCB controller
« Reply #14 on: Fri, 24 April 2015, 05:27:23 »

(Attachment Link)


I'll let you compile this into an ordered row/column grid with each key placed in it... that will be the quickest way to get it into TMK, because then you can just stick that into the keymap definition, compile and go. If you want to make the TMK keymap looks like "Esc, F1, F2, F3" and not "A, RShift, Enter, G" etc. then that's easy enough to do with a bit of extra code.
Wow, thank you!
Huh? What are you talking about? ....

I thought the Dolch had a regular G80-1800 controller.  The differences are the 4P4C socket and that the LEDs are on a separate PCB instead of mounted onto the controller's board directly.
 
Not that I am aware of, unless on the G80-1800 boards they fold the controller underneath the main PCB