Hi All ,
i'm totally new with optocoupler , so i need to use it nowadays with a microcontroller project to get a signal from the microcontroller and then close a 12 volts circuit on the second hand .
i was doing a little experiment to ensure that i can use this device but something strange happened.
my experiment is :
i connected pin 1 to 5v and pin 2 to GND of a compter power supply , on pin 3 i wired 12 volts and on pin 4 i wired Anode of LED and then the cathode of the LED to the battery 12 volt Ground .
but it doesn't work !!!
what's wrong , could you tell plz ,
M.Ali