Haven't followed for awhile but what is the purpose of the op amp circuit?If you dont understand something, just tell me and I'll clarify it for you.
YesShould I make you sketch with what i just said here?

That's what he wants. He wants the relay and its LED to be turned on when the 10th LED is on.The circuit is not an amplifier it's a comparator.
From the last pin of lm3914, when is activated, I want to transmit a signal to the relay. The PC817 is just another led in the row, and is picking up when this last pin is activated. Basically. But for some reason, the signal to this last led is too weak. And it reflects in the relay, trembling, vibrating. Most probably the led is fluctuating as well. I can see the other visible leds are fluctuating so for sure the led inside PC817 is doing the same.What are you trying to achieve with the PC817?
OK I get it now.That's what he wants. He wants the relay and its LED to be turned on when the 10th LED is on.
That's the problem. Just need to figure out why the LEDs are flickering or add some capacitors to the relay circuit.Most probably the led is fluctuating as well. I can see the other visible leds are fluctuating so for sure the led inside PC817 is doing the same.


Please consult this full circuit to clarify yourself:That's the problem. Just need to figure out why the LEDs are flickering or add some capacitors to the relay circuit.
It does. The voltage drop across an IR diode is typically 1.3 volts. If you put this in parallel with the red LED the IR diode will basically short it out. You could try adding a resistor in series with the opto LED , try 100 ohms.Now that you mention is a IR led inside, maybe it has other requirements than the last red red.
Excellent answer. Though I did the try before reading your answer, but your answer totally confirms it. I did test with 1k and then with 10k. The red led is bright now. So that problem is solved. Oau. Phiu.It does. The voltage drop across an IR diode is typically 1.3 volts. If you put this in parallel with the red LED the IR diode will basically short it out. You could try adding a resistor in series with the opto LED , try 100 ohms.

If it didnt work out, I was also planning to revert it to the working stage from before. Now is better ! We have 2 problems now that remains to be solved.Leave the LED in the optocoupler in series with the 10th LED. The 3914 drives the LEDS with current sources. If it runs out of headroom, the 10th LED will just be dimmer than the rest.