Das Prinzip hast du leider nicht verstanden. Du hast den Vorwiderstand für die LED weggelassen. Dein Optokoppler ist jetzt eine Leiche. weil LED defekt.
Mfg
Wolf