hi, looking at your schematic I think the lines to the output relayboard are on the wrong side of the resistors, they should be connected to transistors directly. Another point is, why are you using opto-couplers and relays? You can drive the relays directly by the transistors, the relays normaly are already isolating input from output.
9140203887