Thanks for your replies. I'm going to use the faludi idea with the two resistors and three diodes.
A general question: How do I choose the correct diode? Or probably I have to say it differently: Can a diode be oversized? Of course I'm not talking about a 10K volt diode in a 3v3 Arduino sketch, but what about 50V 1A in this very application?