geekhack Community > Keyboards

What am i doing wrong?

(1/3) > >>

bkgrnd:
i just started handwiring a 40% keyboard, got the rows and columns wired with some solid copper wire, and now i connected the rows and columns with some wires to a pi pico,
using GPIO pins 0, 1, 2, 3 for rows and 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 for columns
im using a 3rd party tool called POG (https://github.com/JanLunge/pog) , made by jan lunge for my firmware. everything went smooth until the part where i had to define my keymap. none of the columns worked apart from the last 12th column but it returned giant numbers like 012312638317364793 and stuff like that. im very new to handwiring, so sorry if the issue is very easy to find.

thanks in advance

-bkgrnd

bkgrnd:
i forgot to add, the wires are soldered to where the switch pins contact the rows and columns, and im VERYYYY certain thats one of the issues, but its 5am and im very sleep deprived so i cant be bothered to do this again for today.....

zegonix:
first i would check for shorts, then that all the diodes face the correct direction and rows and cols are connected to the correct pins.
(stating the obvious, experience shows, that not everyone checks those before searching for help.)

bkgrnd:
i did check for shorts using a multimeter before starting to wire the rows and columns to the controller, and im not using diodes since i want to see how bad the side-effects of no diodes are  ^-^
there arent any shorts/bridged pins on my pico and everything seems to check out. later today ill solder the wires for the microcontroller in the middle of the copper wires since when i was testing the first few columns thats how i had them wired.

cheers

zegonix:
as long as you don't activate more than one switch at a time it would work without diodes i guess.. still, don't. also when checking connectivity with a multmeter, measure the resistance and don't use the beeper function. the beeper activates for resistance below a certain value (usually 50 ohm i think), but 80 ohms little enough to still activate a mcu input, as the resistance of input circuits are usually very high. if have got just wires than the beeper is probably good enough, but when using a dev kit you won't know unless you check the schematic.

Navigation

[0] Message Index

[#] Next page

Go to full version