just to add, I ran into an opposite problem when I connected this to an 8 channel relay board, which already comes with its own diode circuit connected to supply rail. In my case, I connected pin 10 to Vcc and was getting unpredictable results, until I disconnected pin 10.