Testimonials Testimonials

38kHz IR Proximity Sensor, Fixed Gain, Low Brightness

38kHz IR Proximity Sensor, Fixed Gain, Low Brightness

£6.18 incl VAT
(£5.15 exc. tax)
Price in points: 1030 points
1.00 g.
In stock
Add to wish list

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 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 module is available in this low-brightness and a high-brightness versions, (see related products below) which provide detection ranges of up to approximately 12 inches (30 cm) and 24 inches (60 cm), respectively. The actual performance depends on many factors, including object size, reflectivity, and ambient lighting conditions.

Using the sensor


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.

Tuning the emitter frequency

The trimmer potentiometer on the receiver side of the sensor can be used to adjust frequency of the IR emitter LED. The sensing distance can be maximized by tuning for 38 kHz, or it can be intentionally detuned to shorten the sensing range. If you have the appropriate equipment, you can tune it by setting the actual frequency, but a simpler approach is to just observe the performance as you turn the pot. The sensor should work to at least some degree over the entire range of the pot.


  • This sensor will only tell you if an object is within its sensing range, not how far away it is. At the edge of its detection range, the output will alternate between high and low as it sporadically detects (see the left oscilloscope capture below).
  • The sensor is merely looking at whether or not it is getting any signal back, so object size and reflectivity (to IR) will affect sensing range.
  • The sensing angle is relatively wide in both directions. The high-brightness version in particular might require extra consideration when mounting to prevent seeing surfaces parallel to the sensor’s line of sight. For many applications, additional shielding can be used to block undesirable sensing paths, such as reflections off of the ground, or to reduce interference from ambient lighting. When applying shielding, keep in mind that reflection off the shielding itself can cause undesired activation of the sensor.
  • This sensor can be triggered by ambient IR (e.g. from fluorescent lights; see the right oscilloscope capture below). Some optical shielding, such as by having the sensor mounted receiver-side-down when fluorescent lights are above, might mitigate this. Some advanced analysis of the correlation between the output and toggling of the enable input might also be used to mitigate ambient interference.
  • Multiple sensors can interfere with each other. Multi-module applications might require use of the enable inputs to limit interference.

The first scope trace above shows a capture of typical Pololu 38 kHz IR proximity sensor output close to its threshold of detection. The second trace is a capture of typical Pololu 38 kHz IR proximity sensor output when it is weakly, moderately, and strongly affected by fluorescent lights (top to bottom).

Manufacturer's Details

Manufacturer's SKU :

No posts found

Write a review

No FAQ found

Customers also bought....

£4.31 incl VAT (£3.59 exc. tax)
This compact module packs three IR LED/phototransistor pairs onto a 1.25″ × 0.3″ board. The sensors are mounted on a... read more
In stock
Price in points: 718 points

£3.02 incl VAT (£2.52 exc. tax)
This custom-designed plastic wheel by Pololu has a rubber tyre measuring (42 mm) in diameter and is designed to fit the output shafts on our model geared... read more
In stock
Price in points: 504 points

£3.90 incl VAT (£3.25 exc. tax)
Overview Texas Instruments’ DRV8835 is a tiny dual H-bridge motor driver IC that can be used for bidirectional control of two brushed DC motors... read more
In stock
Price in points: 650 points

£0.66 incl VAT (£0.55 exc. tax)
Latching push button with black button Panel hole diameter 12.2mm, max. panel thickness 4mm Contact rating 250V AC 1.5A/125V AC 3A read more
In stock
Price in points: 110 points

£0.30 £0.12 incl VAT (£0.10 exc. tax)
A low cost SPDT push button type latching rocker switch with black buttons. Snap-in mounting Silver plated brass terminals. Easy to install UL flame 94V-2... read more
103 item(s)
End of line
Price in points: 20 points