I'm working on a project where I want to monitor 40 phototransistors (IR breaker beams), but without having to constantly poll the ADCs. Ideally I'd want a digital pin pulled when one of the beams is broken and then I'll poll the ADC(s) to find out exactly which one it was. I'll also need to be able to detect a change on each input regardless of the state of the others.
I see there are ADCs with programmable GPIOs and dedicated alert pin(s). I'm just a beginner, and I find - particularly with the programmable GPIO varieties - the datasheets confusing and I doubt I have the experience to successfully make use of those.
Then the variety with dedicated alert pins seem to be easier to program but don't seem to come any larger than 8-channel. Fewest parts please, particularly since the incredibly small IC packages will likely be hand-soldered. AD7997
is currently the chip I'm considering, but would require 5 TSSOP footprints. I would probably AND the alert pins together to the host.
Are there any other ways to do this? Thanks for your input.
More project details: Beaglebone black, Node.js/bonescript, Phototransistor is the LTR-301.
UPDATE 1
Breaker beams will be broken or unbroken for large amounts of time.