My project uses two RPIs. These work collaboratively and as part of their work they both have to “agree” before a transistor is switched on to enable a work load. To that end, both PIs have an output pin connected to an AND gate such that when they go high the AND’s output will go high so switching the workload on; conversely, if either of the PIs cease to send a high then the workload is switched off. I’m reasonably happy with this part of the circuit, and I don’t believe I’ve done anything too daft. However, you will note that I feedback the signal being output from the AND gate into GPIO pins (configured as an inputs) on both PIs. Given I’m an electronics ignoramus I suspect I may be about to do something stupid and that the input pins need some defending. However, I don’t know and would rather not gamble twenty-plus pounds, hence my question to you: is what I’m doing sensible or are there further measures I should take?
I appreciate that I could programmatically solve this problem (i.e. sockets or I2C) but the simple feedback solution I’ve drawn would seem to be the most elegant. I would welcome your thoughts.