So after working through most of the projects in the arduino starter kit http://arduino.cc/en/Main/ArduinoStarterKit, I have some questions about how to take advantage of serial communications. I have no particular project in mind, I’m just trying to get a better feel for what can and can’t be done using arduino. Right now I’m just looking for general concepts.
I’m an aero/mechanical engineer by education, but I’ve recently been reading quite a bit about serial buses (mostly USB and 1553). I’m curious as the limits of performing functions like that with arduino. I’ve seen a few blog posts about how we can use the standard digital I/O pins
Would it be possible to set up a system with one arduino as a hub/bus controller where we could have multiple devices plugged into it? For example, we could have controller X, and modules A, B, and C, which all perform functions A, B, and C, respectively. I am thinking that A, B and C would need their own arduinos, otherwise we’re just hooking up sensors/outputs to a regular board, which is no different than standard operation. Would we be able to have one output pin on controller X send commands to multiple modules, by setting up our communication so that each module had an “address” that it would constantly be listening for?
If I started going too far in the wrong direction there, I guess my overall “goal” would be to have a modular system where you could operate your system using any combination of some or all of modules A, B, C, etc. without going in and modifying your code every time you added/removed a module.
For an example, maybe a telemetry package for an RC airplane, where each of those modules are different sensors (gyro, pressure altimeter, airspeed sensor, etc…)
Typing this all out makes me think that for most cases, unless we get crazy with the amount of sensors we’re reading, this could all be done off of a single arduino; but this is more of a thought exercise for me at this point.
Sorry if I confused anyone. I’m not really looking for an “answer” so much as I’m looking for a “discussion.”
Again, I’m very new to all of this, so if anybody knows of a place where all of this has already been answered/discussed, I won’t be offended if you just send me a link and tell me to RTFM.