Just a guess, but it sounds to me like maybe the "input" pin of the microcontroller is configured as an output pin and is outputting low voltage. Check your initialization in the software.
I had the code in a hex file from diy electronics , so i am assuming that pin is configured as input
Did you check it? Unless you've verified that point, it's possible the hex file is wrong, or it's also possible the chip wasn't programmed right and doesn't have that hex file programmed into it. It's also possible that the pin's circuitry has been damaged by overvoltage, ESD, or something like that, and is shorted to ground.
Try putting a high valued resistor, say 10K to 100K or so, on that pin, without connecting anything else to the pin (leave the IR receiver disconnected). Connect the other end of that resistor to Vcc, and watch what happens to the voltage at the pin. Repeat, but this time connect the other side of the resistor to ground. If the pin is set as input, you should be able to use a weak pullup/pulldown resistor to change the state either direction. If the pin is set as output, the voltage at the pin will be relatively unaffected by a weak pullup/pulldown resistor.
Your circuit schematic already shows a 10K pullup resistor. Make sure that's present and wired correctly.