I was wondering if it was possible for two or more Arduinos to share an external sound module via Serial?
I am creating some modules to handle various jobs in a campervan. I want them to play sounds abd voice messages but, I would rather not have each module have it's own sound module.
They send a message to the sound module through serial, would it be possible to connect them all to the module?
None of this is safety critical, no gas leak or Co2 warnings or anything like that.
What's the probability that Arduinos will send a message to the module at the same time?
If that risk is acceptably small, just connect the cathode of a diode to the TX pins from each Arduino and connect the anodes to the Rx pin of the module, adding a pull-up resistor to the Rx pin.
If course, there's a good chance that 5V serial signal won't work over the distances and environment of a camper van.
Not sure why that worked with the diode reversed like in your diagram. The idea is that any of the Nano Tx pins can pull the sound module's Rx pin low through their diodes, otherwise the pull-up resistor pulls the Rx pin high. It avoids connecting them directly, which would cause a short circuit.
That's what I'd use.
PS do you know how to draw a proper schematic? We prefer those! Hand drawn is fine.