Hello there, I have a project going on in visual studio 2008. Who needs some inputs from the outside world. It's a 24Volt dc pulse signal to be correct, at max 10hz.
The input adapter is just a simple usb gamepad from Ebay.
And this is up an running with 10 inputs to Visual Studio.
**broken link removed**
**broken link removed**
To isolate the 24volt signal I would like to add a Optocoupler.
Im having trouble with calculating the resistor values for the optocoupler.
I have a IL250, and hope that would do. Its for ac, but dc will do also? or what?
Datasheet
**broken link removed**
**broken link removed**
**broken link removed**
Hope some of you could help me with the resistor calculation for the optocoupler, and that this information then can be helpfull to other people to.
I've searhched the net, but could not find how to calculate the resistor values from the information in the Datasheet.
Regards Peres
Norway
The input adapter is just a simple usb gamepad from Ebay.
And this is up an running with 10 inputs to Visual Studio.
**broken link removed**
**broken link removed**
To isolate the 24volt signal I would like to add a Optocoupler.
Im having trouble with calculating the resistor values for the optocoupler.
I have a IL250, and hope that would do. Its for ac, but dc will do also? or what?
Datasheet
**broken link removed**
**broken link removed**
**broken link removed**
Hope some of you could help me with the resistor calculation for the optocoupler, and that this information then can be helpfull to other people to.
I've searhched the net, but could not find how to calculate the resistor values from the information in the Datasheet.
Regards Peres
Norway