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
Best way to get more I/O from Arduinos
-
- Posts: 5340
- Joined: Thu Jul 27, 2017 12:22 am
Re: Best way to get more I/O from Arduinos
Hi Kirk, other than the Mega there's potentially some Raspberry, otherwise we don't have that much many choices with using only one boardKaellis991 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
https://siminnovations.com/wiki/index.p ... re_id_list
Gilles
-
- Posts: 581
- Joined: Mon Sep 07, 2020 8:49 am
Re: Best way to get more I/O from Arduinos
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?
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?
-
- Posts: 5340
- Joined: Thu Jul 27, 2017 12:22 am
Re: Best way to get more I/O from Arduinos
Only the Pico fulfill your expectation : https://siminnovations.com/wiki/index.p ... ry_Pi_PicoKaellis991 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?
-
- Posts: 581
- Joined: Mon Sep 07, 2020 8:49 am
Re: Best way to get more I/O from Arduinos
Looks like something new to learn.
Thanks...
Thanks...
Re: Best way to get more I/O from Arduinos
Why not just add another Arduino on channel B?
Re: Best way to get more I/O from Arduinos
Could you make use of a button array?
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
-
- Posts: 581
- Joined: Mon Sep 07, 2020 8:49 am
Re: Best way to get more I/O from Arduinos
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.
-
- Posts: 581
- Joined: Mon Sep 07, 2020 8:49 am
Re: Best way to get more I/O from Arduinos
Look for button array on the wiki. It enables more buttons for less pins.
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