Sorry, non isolated was the wrong description. I did, of course, mean with the DC negative terminal grounded.
As for checking connections, I have and the board works fine when programmed. If I set the pins to output and low the problem disappears.
The transistor is a BC847A so max gain 220 typ. 180. with a 2k2 base resistor and 5V I/O pin it gets ~2mA base current.
Guess I'll knock it together on a breadboard and see if I can find a way to fix it.
Weird thing is, some other sections are using 2N7000s and the pullup/down fixes this completely.
Mike.
BTW, sorry for the late reply. Been at my daughters this weekend (lambing season) which is 2 hours West of Brisbane = (almost) no internet.