Hello guys. I'm trying to add to a project an Infrared function, that will only identify IR presence, no need to decode anything, simple binaryism. I took an IR receiver off of an old toy, and connected it to an Uno's digital pin (and 5V / 3.3V & gnd...).
It responds very well and from long ranges to IR remotes I have in my house - when i press any key on a remote the Uno shows 0 instead of 1.
I took an IR led from an old remote and connected it with 2X AAA batteries (=3V) and a 220ohm resistor, and it only responds within very close range - less than ~5cm.
I tried various resistor values down to 22ohm, and got the same result, except that in the latter try the led got hot..
I thought the problem might be the led so I took another one from another remote that worked well with the receiver, but got the same bad results with my application.
Any suggestions? I'm wasting hours on this thing I don't know what to do.
P.S I tried switching batteries.
The IR receiver: