Andrzej_Tomaszewski wrote:....
The uC pin controls several components in series and there is a +12Vdc potential on the other side. In my opinion this is not correct.
here I agree, if the GPIO pin is in the H state without any 'pull' e.g. OC or OD output, then the resistance of this output to ground will be equal to infinity, so the anode of the Zener diode hangs in 'air' and we have a potential of 12V here, i.e. we have 12V on GPIO, which is strongly unhealthy for most circuits.
Of course, in real-world conditions it doesn't have to be like this, well, and the components have some finite resistance after all, but this is not a good approach in my opinion, balancing on the limit.
Regards