Track projet

Hi all, after have made my chronometer, i would like it to fire when the item passes on the LTH 301 32 : Redirect Notice (sorry for the long url website)

I make the connections but nothing happens, i have put : - for the led : resistance 220 ohm, 5V

  • for the phototransistor : resistance 4.7kOhm + 5V and an OUTPUT after the resistance

I don't know what happen, maybe my components are died ?

Thanks a lot

I have found a solution, don't use digitalRead() but analogRead() and after I try to change the resistance value to see what's the most