Jumper Wire Between Adapter And Pi Pico Skips Breadboard

I bought a FPC (flexible printed circuit) to DIP (dual in-line pins) adapter so I could explore the electrical behavior of a keyboard module I salvaged from a dead Acer Aspire Switch 10. After assembling the adapter, I realized I my original plan would not work. I had thought I could stick it on a breadboard and start with probing its pins with a multimeter and, with information from that probe, use jumper wires to build a test circuit. The first part won’t work because the adapter was designed so its DIP-sde pins were fully underneath without any part poking up above for my probe to touch. The second part won’t work because when the keyboard module FPC is installed, the cable blocks almost the entire left side. There’s enough room underneath if I want to use wires that travel horizontally, but not for the tall vertical ends of the quick test jumpers I had wanted to use.

Researching my options for plan B, I actually found a better way. My plan A of manually probing with a multimeter to determine keyboard matrix would have been a tedious process. I would have to try all combinations of pins and see which pair corresponded to each key. Tedious repetitious processes calls for automation! In this case, I found Adafruit had published a CircuitPython sketch (Key Matrix Whisperer) that would automatically cycle through all combinations of pins looking for continuity as I press individual keys. Wow, this sounds much easier.

To use the Key Matrix Whisperer I would need to wire up my keyboard adapter to a CircuitPython microcontroller. I was going to use the Adafruit KB2040 I had been using for CircuitPython experimentation, because the “Kee Boar” was originally designed for the scenario of building custom keyboards. Unfortunately it had only 20 accessible IO pins and I needed 24 here. So I pulled out my Raspberry Pi Pico with its 26 accessible pins already soldered with header pins. The new connection solution is to skip the breadboard and build a wiring bundle to directly connect adapter board to Pi Pico.

These jumper wires (*) came with individual 0.1″ pitch connectors. (I’ve seen these connectors listed as Dupont connectors, which is far too generic of a name.) While I could connect directly one-by-one, that implied a nightmare of single wires popping loose and having to figure out where they should go back to. In the interest of keeping things better organized, I popped off most of those single connectors and slotted them into longer connectors. (*) (The specific box I bought also called the connector type as JST-SM, except they are very clearly NOT JST-SM.) This only took a few extra minutes and I felt holding things together more securely was a good time investment. I don’t want to worry about loose connections as I decipher this keyboard matrix.


(*) Disclosure: As an Amazon Associate I earn from qualifying purchases.

Leave a comment