

The HDJD-S822-QR999 is a high-performance optical sensor designed for precise detection and measurement applications. It features a compact design and high sensitivity, making it ideal for use in automation and control systems. This sensor is capable of detecting light intensity and color, making it suitable for applications such as industrial automation, robotics, color detection, and ambient light sensing.








The HDJD-S822-QR999 is engineered for precision and reliability. Below are its key technical details:
| Parameter | Value |
|---|---|
| Operating Voltage | 2.7V to 5.5V |
| Operating Current | 1.5 mA (typical) |
| Spectral Response Range | 400 nm to 700 nm (visible light) |
| Output Type | Analog |
| Operating Temperature | -40°C to +85°C |
| Package Type | Surface Mount (QFN-16) |
The HDJD-S822-QR999 comes in a 16-pin QFN package. Below is the pinout description:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VDD | Power supply (2.7V to 5.5V) |
| 2 | GND | Ground |
| 3 | OUT_R | Analog output for red light intensity |
| 4 | OUT_G | Analog output for green light intensity |
| 5 | OUT_B | Analog output for blue light intensity |
| 6 | NC | Not connected |
| 7 | NC | Not connected |
| 8 | NC | Not connected |
| 9 | NC | Not connected |
| 10 | NC | Not connected |
| 11 | NC | Not connected |
| 12 | NC | Not connected |
| 13 | NC | Not connected |
| 14 | NC | Not connected |
| 15 | NC | Not connected |
| 16 | NC | Not connected |
Note: Pins labeled as "NC" should not be connected to any circuit.
The HDJD-S822-QR999 is straightforward to integrate into circuits. Below are the steps and considerations for using this component effectively:
Power Supply:
Output Connections:
Filtering:
Placement:
The HDJD-S822-QR999 can be interfaced with an Arduino UNO for color detection. Below is an example code snippet:
// Define the analog input pins for the sensor
const int redPin = A0; // Connect OUT_R to A0
const int greenPin = A1; // Connect OUT_G to A1
const int bluePin = A2; // Connect OUT_B to A2
void setup() {
Serial.begin(9600); // Initialize serial communication
}
void loop() {
// Read analog values from the sensor
int redValue = analogRead(redPin); // Read red light intensity
int greenValue = analogRead(greenPin); // Read green light intensity
int blueValue = analogRead(bluePin); // Read blue light intensity
// Print the values to the Serial Monitor
Serial.print("Red: ");
Serial.print(redValue);
Serial.print(" | Green: ");
Serial.print(greenValue);
Serial.print(" | Blue: ");
Serial.println(blueValue);
delay(500); // Wait for 500ms before the next reading
}
No Output Signal:
Inconsistent Readings:
Saturation of Output:
Low Sensitivity:
Q1: Can the HDJD-S822-QR999 detect infrared light?
A1: No, the sensor is designed to detect visible light in the range of 400 nm to 700 nm.
Q2: Can I use this sensor with a 3.3V microcontroller?
A2: Yes, the sensor operates within a voltage range of 2.7V to 5.5V, making it compatible with 3.3V systems.
Q3: How do I calibrate the sensor for color detection?
A3: Use a known reference color and measure the output values for red, green, and blue. Use these values as a baseline for comparison in your application.
Q4: Is the sensor waterproof?
A4: No, the HDJD-S822-QR999 is not waterproof. Use appropriate enclosures for outdoor or humid environments.
By following this documentation, users can effectively integrate and utilize the HDJD-S822-QR999 optical sensor in their projects.