Thanks for that, unfortunately there isn’t room for an opto-isolator at the chiming end board, and having just one power supply would mean major surgery, so I’ll divide the pullup as Robert suggests.
All this has been filed away for next time I attempt something like this, you’re never too old to learn
Thanks again
Obviously I have not seen your physical setup but optoisolators can be miniscule in size, Galvanic isolation solves the problem full stop.
I inherited a project (commercial, already in production) that had plagued the manufacturer with random problems when users connected later versions of external devices (cameras). I found that the problem was caused by the lack of isolation between the two systems. I had very limited options to add isolation without a PCB redesign and in any case many units were already in the field (literally! some were even in Chernobyl). As deployed systems did need regular visits to exchange memory cards, batteries etc I designed a new (identical looking) wiring loom that along with detailed instructions, the users could install on their visits.
The optical isolation was installed within the existing loom connector, a 9 pin Sub-D. The isolator I chose was a SSR (Solid State Relay) which had the advantage of its output switch being polarity insensitive. The opto LED needed less than 2mA and was easily driven by the MPU output.
Whilst the device was small and its surface mount ‘pins’ were delicate once wires were soldered to it and then protected inside adhesive lined heatshrink sleeving it easily fitted within the connector backshell. I will see if I can find any pictures of the assembly and post them. For reference the CPC1019N SSR was from RS (906-1026).
Ian P