Arduino Mega Connections

Help with Air Manager Android version

Moderators: russ, Ralph

Post Reply
Message
Author
RPPerry3
Posts: 1
Joined: Sat Dec 18, 2021 1:50 pm

Arduino Mega Connections

#1 Post by RPPerry3 »

Hi,

I'm Brand new to Air Manager (coming from SIMVIM) and I'm trying to understand how an arduino mega can support as many devices as the Wiki says. The wiki specifically states that multiplexers are not supported by AM, and shouldn't be needed because 16 boards can be used that drive a total of 2600 inputs/outputs. 51 pins on a Mega, 51 x 16 = 864 ... so somehow you can drive additional buttons, switches, LEDs etc. I'm just not sure how this is achieved as my experience is with using multiplexers.

I've spent a fair amount of time reading, watching and learning how to use Arduinos with AM, but the answer to this question eludes me. If someone could please point me to a video, wiki page, or forum post that covers this subject I'd truly appreciate it!

Before any Forum Karens reply with "there are threads that cover this subject, or... it's in the wiki", I've used the search feature, I've watched Sim Innovation's YT tutorials, and I've combed over the wiki. In my research I simply haven't seen it or may have looked over it.


Thanks for checking this post, and again, many thanks to anyone who can assist.
Cheers
-Perry

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

Re: Arduino Mega Connections

#2 Post by Ralph »

I think you have the wrong understanding of the system. You've been poisoned with multiplexers ;)

You just add as many Mega boards as you need, up to 16 per computer. The first one has channel A, the second one channel B, etc.

You can have 16 of each type of supported Arduino per computer.

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

Re: Arduino Mega Connections

#3 Post by Keith Baxter »

Hi,


Very difficult to help when we do not know what info you have found.

So just three pages if you have not found then yet.

https://siminnovations.com/wiki/index.p ... n_examples

https://siminnovations.com/wiki/index.p ... re_id_list

http://siminnovations.com/wiki/index.ph ... e_port_add

https://youtu.be/hLPaDlXCUqQ

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
jph
Posts: 2848
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Arduino Mega Connections

#4 Post by jph »

'forum Karens' ?
:lol:
Isn't your very first post a classic example of such ?. What a great start. An entitled Karen not wanting to search and look for themselves.
:lol: :lol:
Joe. CISSP, MSc.

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

Re: Arduino Mega Connections

#5 Post by jph »

Keith Baxter wrote: Sat Dec 18, 2021 2:17 pm Hi,


Very difficult to help when we do not know what info you have found.

So just three pages if you have not found then yet.

https://siminnovations.com/wiki/index.p ... n_examples

https://siminnovations.com/wiki/index.p ... re_id_list

http://siminnovations.com/wiki/index.ph ... e_port_add

https://youtu.be/hLPaDlXCUqQ

Keith
Now now 'Karen'... oops, I meant Keith. :lol: ... she didn't ask for links to things she may have already 'looked over' - although she must be entitled to mean 'over looked' ............
I suggest she starts here -

www.siminnovations.com

:roll: :roll:
Joe. CISSP, MSc.

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

Re: Arduino Mega Connections

#6 Post by jph »

Ralph wrote: Sat Dec 18, 2021 2:11 pm I think you have the wrong understanding of the system. You've been poisoned with multiplexers ;)

You just add as many Mega boards as you need, up to 16 per computer. The first one has channel A, the second one channel B, etc.

You can have 16 of each type of supported Arduino per computer.
And 16 Raspberry PICO, and 16 ESP32.
Also you CAN have as much multiplexing as you like - because you CAN have Arduinos with SimMessagePort that you can do virtually anything with. The world is your lobster ! (or was it crab ?)

so, using simmessageport - you can have multiples of 16 of -

SI_MESSAGE_PORT_DEVICE_ARDUINO_MEGA_2560
SI_MESSAGE_PORT_DEVICE_ARDUINO_NANO
SI_MESSAGE_PORT_DEVICE_ARDUINO_UNO
SI_MESSAGE_PORT_DEVICE_ARDUINO_MICRO
SI_MESSAGE_PORT_DEVICE_ARDUINO_LEONARDO
SI_MESSAGE_PORT_DEVICE_ARDUINO_NANO_EVERY
SI_MESSAGE_PORT_DEVICE_ARDUINO_DUE
SI_MESSAGE_PORT_DEVICE_ESP32
SI_MESSAGE_PORT_DEVICE_NODE_MCU
SI_MESSAGE_PORT_DEVICE_ESP8266
SI_MESSAGE_PORT_DEVICE_TEENSY_2_0
SI_MESSAGE_PORT_DEVICE_TEENSY_PP_2_0
SI_MESSAGE_PORT_DEVICE_TEENSY_LC
SI_MESSAGE_PORT_DEVICE_TEENSY_3_2
SI_MESSAGE_PORT_DEVICE_TEENSY_3_5
SI_MESSAGE_PORT_DEVICE_TEENSY_3_6
SI_MESSAGE_PORT_DEVICE_TEENSY_4_0
SI_MESSAGE_PORT_DEVICE_TEENSY_4_1
SI_MESSAGE_PORT_DEVICE_RPI_PICO

The actual theoretical limit (unless a limit is hard coded into AM ? @Ralph ?) would be, using win 10, 127 devices PER USB host controller on the mainboard (note, that is HOST Controllers ! - which isn't the same as MoBo usb ports - for that you would need to look into the mobo tech details or even easier use device manager). :D

Mind you, you can get 10 people in a MINI but I wouldnt like to drive it :lol:
Joe. CISSP, MSc.

Post Reply