Qasim Khokhar
Member level 1
I want to set 8051 pins using infra-red sensor. my only objective is to detect and decide that any Infra-red signal exist or not. i do not want to read infra-red signal.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The transmitter should send IR burst of 36, 38 or 40 KHz. The IR receiver and demodulator should be interfaced to uC interrupt on change pin. If interrupt is detected then execute necessary code.
What is "any Infra-red signal"? You forgot to mention it.
So you mean, the light will be always modulated in a 36 to 40 KHz frequency range. Or the light will be always sourced from a remote control, which excludes continuously modulated signals (e.g. an IR light barrier). Or the light may be unmodulated IR as well (e.g. IR illumination for a camera)? Unfortunately you didn't say that clearly yet.
Secondly, what's the maximum distance for signal detection?