Arduino Nano 5x5 button Matrix unreliable

Support for Arduino in combination with Air Manager and Air Player

Moderators: russ, Ralph

Post Reply
Message
Author
frumpy
Posts: 373
Joined: Sat Jan 30, 2016 12:01 pm

Arduino Nano 5x5 button Matrix unreliable

#1 Post by frumpy »

Hi guys,

I built a 5x5 matrix with a Nano. I'm using relatively high-quality buttons. No further electronics like diodes or capacitators.
In general, AM detects the keypresses. Sometimes I have to press a button 4-5 times until the buttons gets recognised. Sometimes
they work just from the start. I cannot detect any row of column that is unreliable.

I will continue testing the current and resistance, but I wonder if there is any general fault in design? I've read about other people
doing a button-matrix.

Also a high-quality encoder is connected, it transmitts signals with a reliability of 80%. Direct pins, no matrix. I suppose I need to connect capacitators?

User avatar
Keith Baxter
Posts: 4743
Joined: Wed Dec 20, 2017 11:00 am
Location: Gauteng

Re: Arduino Nano 5x5 button Matrix unreliable

#2 Post by Keith Baxter »

Hi,

The matrix requires diodes to work properly.

Something like this.
ice_screenshot_20240912-103839.png

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Ralph
Posts: 8204
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Arduino Nano 5x5 button Matrix unreliable

#3 Post by Ralph »

Aren't the diodes just for when you want to press multiple button at the same time?

frumpy
Posts: 373
Joined: Sat Jan 30, 2016 12:01 pm

Re: Arduino Nano 5x5 button Matrix unreliable

#4 Post by frumpy »

Diodes are for double button presses, yes. Since I don't need this feature, I'll save 25 diodes.
It turned out one button was unreliable, also two soldering connections did not work correct either. I resoldered stuff and now things look better.

Post Reply