IO expander alternative

It should be emphasized that the board itself provides proper insulation, but it is not insulated by the OP wiring method.
Also, using an optoisolator (unreasonably) instead of a small MOSFET as a drive stage to drive a non-logic level FET may not be such a bad idea. :expressionless: