I'm not trying to vary the output current. Yes, it's a switch. The input current demand of the device will increase when it gets hot.
The operational current of the device can range from 0.18ma typical to a max of 2ma. A similar device that I'm considering ranges from 0.5 to 3ma. The input voltage needs to within their requirements and when a single resistor is used the voltage will change depending on the current draw, correct?
The opto contains an infrared LED, with a volt drop of about 1.25volt.
3.3volt-logic pin, so from there you can calculate the required resistor for about 5mA LED current. I picked the standard E12 value of 330 ohm. Close enough.
So what are the analogue input signals (voltage, frequency, etc.)
Leo..
Speaking of condescending troll, the master has chimed in. If you wanted to help then you would have provided useful advice instead of asking questions that were already answered or irrelevant. Your responses to other posts are just as revealing. You have a documented history of trolling and condescension.