I should start by saying I'm fairly new to electronics so bare with me as I struggle with some basic issues.
What I'm trying to do is trigger a 5V opto-isolator from the output of a series of logic gates, with the last one being an SN74LS08 AND gate. When I try to do this however, the opto-isolator doesn't seem to be triggering regardless of the AND gate being high or low. I've attached their datasheets and a schematic
AND gate: https://www.digikey.ca/product-detail/en/texas-instruments/SN74LS08N/296-1633-5-ND/277279
Opto-isolator: https://www.digikey.ca/product-detail/en/vishay-semiconductor-opto-division/VO4661/VO4661-ND/1738670
simulate this circuit – Schematic created using CircuitLab
When I hook the opto-isolator directly up to a 5 V supply, it works fine. This leads me to believe it's because the AND gate cannot supply enough current when logic high.
High level output current: -400 uA. Low level output current: 8 mA
Yet, the opto-isolator desires a high level current of 5-15 mA and low level current of 0-250 uA.
I don't know how on earth I'm supposed to satisfy both of these current ratings, or maybe it's something else entirely. I received this design from an undergraduate thesis that supposedly said this worked.
Any help is greatly appreciated! I will try to respond quickly if more info is requested.