PCB suitable for hammond 1591c enclosure
The first version has been tested and revisions put in.
The only restriction in the second version is that I have changed the voltage down to 9V as the current at full load with all relays engaged is 300mA and while it is working reliably it is close to the limit of the LDO which gets hot (4v x 0.3 = 1.2W power) I can use 9v for my purposes but would recommend moving to a switching reg for proper industrial supplys (I may make a rev3)
Note the C Code is attached. Just a single 300 line file so should be easy to follow.