I have this circuit breadboarded, tested and all drawn up ready to go if the TS is interested. Whether it could be constructed on a PCB any smaller than an Arduino Nano though is unlikely, even using SOIC packages and surface mount components.Or you could do it with about $5 worth of CMOS IC devices and ZERO invested in programming devices, and if you needed to replace a damaged part in ten years it would still be available and you would not need to program it.
