Input optoisolated with PC817

Hi I'm developing a board to isolate external GPIO signals from a Nordic nRF52832 (Isolated input from 5VDC to 25VDC).

For this I am using a circuit with the PC817 optoisolator, like this:

my doubt is:

Knowing that my input can vary from 5 to 25VDC, how can I indicate the activation of this input with an LED? I would like that every time there was a pulse (HIGH) in the input, the led would light up.

What's the best way to do this?

Parents Reply Children
No Data
Related