

The HDJD-S822-QR999, manufactured by Avago Technologies, is an infrared emitter and detector module designed for proximity sensing and object detection applications. This module integrates an infrared LED and a phototransistor, enabling it to emit and detect infrared light. Its compact design and reliable performance make it ideal for non-contact sensing in a variety of applications.








| Parameter | Value |
|---|---|
| Manufacturer | Avago Technologies |
| Part Number | HDJD-S822-QR999 |
| Operating Voltage | 2.7V to 5.5V |
| Infrared LED Wavelength | 940 nm |
| Phototransistor Sensitivity | 850 nm to 950 nm |
| Operating Temperature Range | -40°C to +85°C |
| Package Type | Surface Mount (SMD) |
The HDJD-S822-QR999 module typically has four pins. Below is the pinout and description:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (2.7V to 5.5V) |
| 2 | GND | Ground connection |
| 3 | IR LED Anode | Positive terminal of the infrared LED |
| 4 | Phototransistor Collector | Output signal from the phototransistor |
Below is an example of how to use the HDJD-S822-QR999 with an Arduino UNO for proximity sensing:
// Define pin connections
const int irLedPin = 3; // Digital pin connected to IR LED
const int sensorPin = A0; // Analog pin connected to phototransistor
void setup() {
pinMode(irLedPin, OUTPUT); // Set IR LED pin as output
Serial.begin(9600); // Initialize serial communication
}
void loop() {
digitalWrite(irLedPin, HIGH); // Turn on the IR LED
delay(10); // Allow time for the LED to stabilize
int sensorValue = analogRead(sensorPin); // Read phototransistor output
Serial.print("Sensor Value: ");
Serial.println(sensorValue); // Print the sensor value
digitalWrite(irLedPin, LOW); // Turn off the IR LED
delay(100); // Wait before the next reading
}
No Output Signal from Phototransistor
Inconsistent Readings
Short Detection Range
Q1: Can the HDJD-S822-QR999 detect transparent objects?
A1: Transparent objects may not reflect sufficient infrared light for detection. Use reflective or opaque objects for best results.
Q2: What is the maximum detection range of this module?
A2: The detection range depends on the object's reflectivity and the IR LED intensity. Typically, it ranges from a few centimeters to several meters.
Q3: Can this module be used outdoors?
A3: Yes, but ambient sunlight may interfere with its performance. Use modulation techniques to improve reliability in outdoor environments.