Quantcast
Viewing all articles
Browse latest Browse all 5091

General • Re: Switching Circuit

Matrix the keyboard again, you can put all the matrix inputs to "on" to detect if any key is pressed using interrupt, then scan to find which key.

The A7/B7 bug isn't on the 2106 datasheet its in the 2022 datasheet.
I am still considering doing this on my next revision, but it's also appealing to have each separate key have its own GPIO. The downside of a matrix is you have to scan the entire keyboard. If I want to make a program where only two keys are used at a time, then each having it's own input makes scanning simpler. And then key combinations are easier without the matrix I've found. That and not having to solder 16 more SMD parts lol.

For now I switched the buttons that were on A7 and B7 with the control GPIO for the LoRa module. M1 and M0 are only used for setting configuration of module (OFF, SLEEP, ON, ETC..) So I will use A7 and B7 for those.

I do like the idea of using the interrupt when a key is pressed though.

New setup:
Image may be NSFW.
Clik here to view.
Capture.PNG

Statistics: Posted by picoprojectmaker — Fri Jan 19, 2024 4:57 am



Viewing all articles
Browse latest Browse all 5091

Trending Articles