Output current is 5mA. I've finally achieve to create those two schematics but I'm not certain they are correct. Case 1: Using HCPL-7723 opto and a voltage divider (to get 3.3V output): Case 2: Using H11L1M opto where eveything is 3.3V: Case 1 can transfer data up to 50 MB/s and case 2 up to 1 MB/s. Case 2's elements are cheaper and more common. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.