Common does not mean correct! Usually it does work. But if you have some heavy load on the Vcc rail but Vcc is not powered you can easily damage the pin with low impedance voltage source.
Either way the chip could end up fried, and the chip's input absolute maximum voltage ratings are exceeded. That's over-voltage in my book.
(is your comment in reference to Post #7, with the assumption the led has
a V(forward) of 2.1V , resulting in a voltage drop of 3.9V across the two
resistors ? If so, I rather doubt the led is going to light with only 372uA.
(V=I*R => I=V/R => I =3.9V/10470 ohms=3.724e-4=0.0003724A)
How so ?
For reference there is the strange schematic again:
Assuming the optocoupler is off the circuit is simple: R3, R2 and LED1 are in series. Assuming forward drop of the LED is 2 V only 3 V are left for R3 + R2. So the current is about 3 V / 10470 Ohm ~ 300 uA and voltage dropped over R2 is then 470 Ohm * 300 uA ~ 150 mV. Arduino pin "sees" 2 + 0.15 ~ 2 V. Too low to be detected as HIGH reliably.
Of course the LED will be dim but it is the least problem in this circuit.
Maybe someone just added the LED because he thought it was a good idea without doing the maths.
