@OP, the jpg file doesn't open properly for me, but you need a current limiting resistor in the
Led line, which I cannot see.
Also, you don't indicate which IR detector you are using, but I think the hookup is wrong. There should be no R in the connection to Vcc [connect directly to 5V], and you probably need a pullup-R [eg 4.7K] on the detector output pin.