I want to build a docking station for a Dirt Devil robot that has undergone lobotomy and now has an Arduino inserted. For the station I have an IR led and the idea is that the robot turns around its axis until it detects the IR signal and then homes in on it.
Problem is that the keyes IR sensor seems to detect the IR signal all around it. I even put the sensor inside a copper tube open at one end, but still it detects an IR source held next to the tube.
Question: how do I shield the IR sensor in all directions except at the front?
The usual way is to add modulation to the IR source (LED) and have the receiver only respond to the IR that is at the modulation frequency. Like an IR receiver/decoder for IR remotes works.
groundFungus:
The usual way is to add modulation to the IR source (LED) and have the receiver only respond to the IR that is at the modulation frequency. Like an IR receiver/decoder for IR remotes works.
There is only one IR source in the room, so the receiver has no alternatives to choose between. I just want the receiver to recognize the signal only when in front of the robot.
wvmarle:
A tube around the sensor. The longer and narrower, the more targeted it will be.
As I said in my original post: "I even put the sensor inside a copper tube (15 cm) open at one end, but still it detects an IR source held next to the tube."
I have been searching Google this afternoon, but it seems nothing is written about this particular problem. Strange, because the idea is obvious: shield the IR sensor in all directions except one and then make the robot do a turn until the sensor is activated...
The maybe the IR signal is too strong at the receiver and there is no linear response, it is saturated. Please post photos and details before continuing on with this...
A shiny copper tube may very well reflect IR indeed. I was thinking of PVC or so. Non-reflective, and most plastics absorb IR - even optically clear plastics tend to be opaque to IR.
At this moment I find that adding some layers of tape over the IR LED and putting the sensor in a PVC tube seems to give enough directional information. Haven't tested it in real life yet.