Solid, accurate way of determining if something with within range!
This module features a fixed-gain, 38 kHz modulated IR sensor and a corresponding IR LED with oscillator circuit to make a tiny proximity sensor. This low-brightness version draws an average of 8 mA at 5 V and has a typical sensing range up to approximately 12 inches (30 cm).
These sensor modules are based on Vishay’s TSSP77038 modulated infrared receivers. Unlike most IR receiver modules designed for remote control of appliances like televisions, the TSSP77038 has a fixed gain (sensitivity) that makes the sensor more predictable when used in proximity or reflectance sensors. The Pololu carrier module combines the TSSP77038 with an IR LED driven by a 555 timer-based circuit to make a complete sensor module that requires only a 3.3 V to 5 V power connection. An enable input allows control of whether or not the IR LED is on, and a digital output indicates whether or not an object is detected.
The proximity sensor has four connections: ground (GND), logic power (VDD), digital detection indicator (OUT), and IR emitter enable (ENABLE).
The logic power, VDD, should be between 3.3 V and 5 V. Supplying less than 5 V will decrease the IR LED brightness and decrease the sensing range. To run the sensor at full brightness while powered at 3.3 V, bridge the surface mount jumper located on the emitter side of the board.
The OUT pin, which is high by default, remains low as long as the TSSP77038 receiver is detecting a sufficient signal. When at the edge of the detection range, this output will alternate between high and low. A red LED on the emitter side of the board is tied to this output and turns on when the pin goes low, providing a visual indication of when the sensor is detecting something.
The ENABLE pin turns off the IR emitter LED when it is set low. This pin is high by default and can be left disconnected if dynamic control of the IR emitter is not needed. A green LED on the emitter side of the board is connected in parallel with the IR LED, making it easy to tell when the IR LED is on.
The four connections are arranged with a 0.1″ spacing along the edge of the board for compatibility with solderless breadboards, connectors, and other prototyping arrangements that use a 0.1″ grid. You can solder wires directly to the board or solder in either the 4×1 straight male header strip or the 4×1 right-angle male header strip that is included.