Hi;
?
First, I am assuming the LED has 0V when it is off and 1.94V when it is on.
Second, that LED also has a series resistor to limit current. ?The other side of that resistor may have a substantially higher voltage on it, like 5V or 12V, depending on what they are using to drive the LED. ?Of course they could be driving the LEDs with an open-collector output, which is basically switching the ground side rather than switching the hot side. ?You can verify which by connecting one side of your meter to circuit ground and measuring both sides of the LED in both on and off states.
?
I will make the assumption that that you are planning to just connect some wires in parallel to the LED, so there is a relatively simple way to move forward.
?
?
Use a device that has regular through-hole components, like this:
?
<>
?
?
The board is specified to be triggered with 12V. They have put an LED and a resistor in series with the opto-coupler's internal LED. ?Look up the data sheet for the opto coupler:
?
?
and you will see that the desired forward current for the LED side is 20 mA - ish.
?
The Amazon piece uses a series resistor and red LED set up to provide something around 20 mA with a 12V input. ?I would replace the red LED with a wire jumper and replace the resistor with one that is 1/10th the value. ( e.g. if the resistor on the amazon board is 1Kohms, replace it with a resistor that is 100 ohms.) ?By doing that you will get 10 times more current, or approximately the same current with 1/10th of the voltage driving the circuit. ?That should get you into the generally safe area of operation for the 817 chip.
?
If you want to get really specific, the forward voltage for the 817 is 1.2V typically. ?1.94 - 1.2 = 0.74 ?so using R=E/I ?0.74V/0.020A = 37 ohms. ?33 ohms is a standard value for resistors, so I would go with a 33 ohm resistor.
?
On the other side of the 817, connect pin 3 to logic ground, connect pin 4 to the IO port and make sure the pull-up is enabled. ?You can either detect the blinking, or use a retriggerable one-shot and set the pulse time to be longer than the blink.
?
HTH
I looked at the board outputs, you don't need to use VCC connection, just connect Out to IO and Ground to logic ground.