Button Array - Do I need to use diodes?

Peer support for Air Manager desktop users

Moderators: russ, Ralph

Post Reply
Message
Author
JockMunro
Posts: 54
Joined: Sun Dec 02, 2018 2:53 pm

Button Array - Do I need to use diodes?

#1 Post by JockMunro »

Hi,

I'm looking at building a button array using hw_button_array_add to interface a 737 CDU. I've been researching stuff and note most matrixes (matrices?) use diodes to stop ghosting. Is this something we should use with AM? I note diodes are not used in the example given on the AM Wiki but here https://www.baldengineer.com/wp-content ... xample.jpg, for example, they are.

Thanks a lot.

Jock Munro
Last edited by JockMunro on Tue Jan 19, 2021 8:31 am, edited 1 time in total.

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

Re: Button Array - Do I need to use diodes?

#2 Post by Ralph »

Shouldn't be necessary, but I can't vouch for each setup, you'll have to try to be sure.

JockMunro
Posts: 54
Joined: Sun Dec 02, 2018 2:53 pm

Re: Button Array - Do I need to use diodes?

#3 Post by JockMunro »

Thanks Ralph.

That'll make it simpler. I'll run some tests first though.

Cheers

Jock

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

Re: Button Array - Do I need to use diodes?

#4 Post by Keith Baxter »

Hi,

Just a heads up. There is a limit to a matrix. If memory serves it is 8 on each row or column (8x8). Remember asking when I was going to use a RPi for a CDU.

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
Sling
Posts: 5239
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: Button Array - Do I need to use diodes?

#5 Post by Sling »

Diodes are required if there is a risk of multiple button presses at once. If you can understand what the ghosting term means and its implications you'll understand why you may choose to use the diodes or not.

Tony

User avatar
jph
Posts: 2856
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Button Array - Do I need to use diodes?

#6 Post by jph »

Sling wrote: Tue Jan 19, 2021 11:14 am Diodes are required if there is a risk of multiple button presses at once. If you can understand what the ghosting term means and its implications you'll understand why you may choose to use the diodes or not.

Tony
Agreed,
Joe. CISSP, MSc.

Post Reply