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
Button Array - Do I need to use diodes?
Button Array - Do I need to use diodes?
Last edited by JockMunro on Tue Jan 19, 2021 8:31 am, edited 1 time in total.
Re: Button Array - Do I need to use diodes?
Shouldn't be necessary, but I can't vouch for each setup, you'll have to try to be sure.
Re: Button Array - Do I need to use diodes?
Thanks Ralph.
That'll make it simpler. I'll run some tests first though.
Cheers
Jock
That'll make it simpler. I'll run some tests first though.
Cheers
Jock
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Button Array - Do I need to use diodes?
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
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
Re: Button Array - Do I need to use diodes?
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
Tony
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D