I have tried this three schematics (pictures below), and they all seem to be working mostly the same. So I can't choose which one to use, and what are the advantages/disadvantages. Any ideas ? P.s. I use CNY70 as light sensor, and the MCUpin goes into Atmel AVR microcontroller digital input.