How to remove completely noise from IR sensor affected by the ambient.
Could you please be a little more descriptive? For example, is this being placed outside? Is the "noise" from things like shadows, glare from other things, etc?
You can probably use an RC filter to filter out noise.
Put a shroud around it? i.e. Stick at the end of a black pipe?
Kanishka_1654: How to remove completely noise from IR sensor affected by the ambient.
Use a modulated IR beam and have the receiver use a tuned amplifier so that only the modulated frequency gets amplified.
This Serial IR Thread may be of interest.