Implement 7 DPDT-switches with Arduino
I believe this is the simplest solution. The relay is either ready-made module (e.g like this 5V or 12V version with 8 DPDT switches) or any relays of your choice with logic-level gate MOSFET switch.









simulate this circuit &ndash; Schematic created using CircuitLab