I just recently got a Arduino Compatible Infrared Receiver Module (XC-4426) and was wondering if it was possible to use it to detect if a red light or infrared light (preferably red light) is on or off. ![]()
If it is possible, how should i go about programming it?
TIA ![]()
That is an IR transmitter (emitter). Not usable as a detector. XC-4427 is the receiver and it can't be used as a detector of any light except IR modulated at 38KHz. What is it that you are trying to do? Maybe we can suggest the right sensor and help you program for it.
I'm trying to create a robot that can detect light. I'm planning to make a sort of light house out of RGB led's which sits at a distance ranging from 0 to 2m away from the sensor. My goal is to have the robot detect the LEDs and move towards it when it is a certain colour.
LEDs can be used as photodiodes to detect certain colors of light. A given LED is most sensitive to light that is a bit "bluer" (about 50 nm shorter in wavelength, to be specific) than the light it emits.
See this article for some details.
Would this be able to help me build a light detector with a decent range?