Question about IR detection
lardom
Posts: 1,659
I'm tweaking a IR distance detection object to see how things change when I modify values. I'm trying to see how steady I can make the readings between the IR emitter and the reciever. I understand the need for a remote control to emit a frequency such as 38kHz to filter out ambient noise. It is transmitting commands. I don't understand why 38kHz is used in distance detection.
Comments
As I understand it, by using a carrier (in this case 38 kHz), you can filter out other sources of light that fluctuate at non-38kHz frequencies, for example the changing light of the sun, or the flicker of other light sources such as fluorescent lights or even maybe the 60 Hz fluctuation of an incandescent bulb. The electronics allows you to make a band-pass filter that passes only 38kHz signals, so that signal is the only signal the device will "see".
I don't think there's anything magical about 38 kHz that senses distance, it's just a way of detecting the particular IR light that is emitted as opposed to detecting other forms of light in the room.
EDIT: I corrected my mistake when I said a "notch filter" when I really meant band-pass filter.
http://www.parallax.com/Portals/0/Downloads/docs/books/edu/Roboticsv3_0.pdf
John Abshier
@John Abshier, Thanks for the link. I will follow up.
Larry,
actually, when I was speaking about a notch filter, I should have called it a band-pass filter, but in any case I was talking about what goes on inside the IR detector module. I didn't mean it was something you needed to do yourself externally to that module. John Abshier's link probably goes into better detail. To use 2 IR sensors to keep something running parallel, you probably want to separate them rather than keep them side by side, and then alternate their emissions, running one, then the other in rapid succession so they won't interfere with each other and yet you'll still be getting good readings very quickly.