Best way to get more I/O from Arduinos

Support for Arduino in combination with Air Manager and Air Player

Moderators: russ, Ralph

Post Reply
Message
Author
Kaellis991
Posts: 581
Joined: Mon Sep 07, 2020 8:49 am

Best way to get more I/O from Arduinos

#1 Post by Kaellis991 »

The cockpit radio panel I am working on requires 24 connections to an Arduino.
I know I could get those I/Os from a Mega2560, but I can't use that controller.

A NANO, UNO, or LEONARDO needs to be used as the interface for all the switches and displays and I would prefer to use just one Arduino for that radio panel.

Whats the best way to get those 24 connections as an add-on to one of the above Arduinos?
Is that by the use of a multiplexer board? Is it even possible?

Thanks in advance for any advice...

Kirk

SimPassion
Posts: 5339
Joined: Thu Jul 27, 2017 12:22 am

Re: Best way to get more I/O from Arduinos

#2 Post by SimPassion »

Kaellis991 wrote: Mon Mar 06, 2023 4:43 pm The cockpit radio panel I am working on requires 24 connections to an Arduino.
I know I could get those I/Os from a Mega2560, but I can't use that controller.

A NANO, UNO, or LEONARDO needs to be used as the interface for all the switches and displays and I would prefer to use just one Arduino for that radio panel.

Whats the best way to get those 24 connections as an add-on to one of the above Arduinos?
Is that by the use of a multiplexer board? Is it even possible?

Thanks in advance for any advice...

Kirk
Hi Kirk, other than the Mega there's potentially some Raspberry, otherwise we don't have that much many choices with using only one board
https://siminnovations.com/wiki/index.p ... re_id_list

Gilles

Kaellis991
Posts: 581
Joined: Mon Sep 07, 2020 8:49 am

Re: Best way to get more I/O from Arduinos

#3 Post by Kaellis991 »

Thanks Gilles,

I have a Raspberry Pi Pico and a Raspberry Pi 4 Model B, each with 26 GPIO.
All of the inputs need to be digital except the two analogs needed for the pots controlling the volume. (22 digital and 2 analog)

Is it quite the effort to get either of those working with AM?

SimPassion
Posts: 5339
Joined: Thu Jul 27, 2017 12:22 am

Re: Best way to get more I/O from Arduinos

#4 Post by SimPassion »

Kaellis991 wrote: Mon Mar 06, 2023 6:00 pm Thanks Gilles,

I have a Raspberry Pi Pico and a Raspberry Pi 4 Model B, each with 26 GPIO.
All of the inputs need to be digital except the two analogs needed for the pots controlling the volume. (22 digital and 2 analog)

Is it quite the effort to get either of those working with AM?
Only the Pico fulfill your expectation : https://siminnovations.com/wiki/index.p ... ry_Pi_Pico

Kaellis991
Posts: 581
Joined: Mon Sep 07, 2020 8:49 am

Re: Best way to get more I/O from Arduinos

#5 Post by Kaellis991 »

Looks like something new to learn.

Thanks...

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

Re: Best way to get more I/O from Arduinos

#6 Post by Ralph »

Why not just add another Arduino on channel B?

User avatar
Sling
Posts: 5237
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: Best way to get more I/O from Arduinos

#7 Post by Sling »

Could you make use of a button array?

Kaellis991
Posts: 581
Joined: Mon Sep 07, 2020 8:49 am

Re: Best way to get more I/O from Arduinos

#8 Post by Kaellis991 »

Ralph wrote: Mon Mar 06, 2023 8:08 pm Why not just add another Arduino on channel B?
I have 14 usb cables for various things already filling out two remote usb hubs. (Things like rudder pedals, throttle, flaps, trim, yoke, gauges, autopilot, fuel selector, ELT switch, ignition switch, gear lever, GPS, panel switches, multi-monitor controls, mouse, keyboard, etc.)
All of that adds up to a jumbled mess of USB cables.
It would be nice if I can get by with just one more USB cable for this radio....thus the attempted use of a single board for the 24 connections.

If I use two boards then I will need two additional USB ports that are in short supply right now.
Just trying to keep it as clean as possible.

Kaellis991
Posts: 581
Joined: Mon Sep 07, 2020 8:49 am

Re: Best way to get more I/O from Arduinos

#9 Post by Kaellis991 »

Sling wrote: Mon Mar 06, 2023 9:18 pm Could you make use of a button array?
Not sure what you mean by that or how that would work.

User avatar
Sling
Posts: 5237
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: Best way to get more I/O from Arduinos

#10 Post by Sling »

Look for button array on the wiki. It enables more buttons for less pins.

Post Reply