I have four relays hooked up which I want to power on and off all at the same time. They are all powered by external power supplies separate from the Pi/mcp23017. Can I hook the signal pins all up to the same mcp23017 output pin so that when i turn that pin high all the relays turn on?
Or do i need to hook each relay up to its own output pin.
I've tested with two relays hooked up to one output and it works, but i'm wondering if it is safe or would cause damage, and if it is safe, then how many relays can i hook up to the same pin?