### Overview of the HTS-03-R
The **HTS-03-R** is a high-precision, non-contact infrared (IR) temperature sensor module. It is widely used in industrial automation, medical thermometry, and smart home devices for detecting surface temperatures without physical contact.
---
### Key Technical Specifications
The electronic performance of the HTS-03-R is defined by its integrated thermopile and signal conditioning circuitry.
| Parameter | Specification |
| :--- | :--- |
| **Operating Voltage** | 3.3V to 5.0V DC |
| **Operating Current** | < 2mA |
| **Temperature Range (Object)** | -70°C to +380°C |
| **Temperature Range (Ambient)** | -40°C to +125°C |
| **Accuracy** | ±0.5°C (within medical range) |
| **Interface/Output** | Analog Voltage / PWM / SMBus (depending on variant) |
| **Field of View (FOV)** | 35° to 90° (Standard is usually 60°) |
---
### Internal Electronic Components
The HTS-03-R is not a single component but a system-in-package (SiP) consisting of several critical electronic parts:
#### 1. Thermopile Sensor Chip
The core element that converts incoming infrared radiation into a tiny electrical voltage (microvolts). It consists of a series of thermocouples connected in series.
#### 2. NTC Thermistor
Because IR sensors measure the *difference* between the object and the sensor itself, an internal NTC (Negative Temperature Coefficient) thermistor is included to measure the "Ambient Temperature" of the sensor housing for compensation.
#### 3. Signal Conditioning ASIC
The raw signal from a thermopile is extremely weak and noisy. The internal ASIC (Application-Specific Integrated Circuit) performs:
* **Amplification:** Boosting the microvolt signal.
* **A/D Conversion:** Converting analog signals to a 17-bit or 19-bit digital value.
* **Digital Signal Processing (DSP):** Calculating the actual temperature based on calibration constants stored in the EEPROM.
#### 4. Optical Filter
A silicon-based long-pass filter that blocks visible light and allows only specific infrared wavelengths (usually 5.5μm to 14μm) to pass through to the sensing element.
---
### Pin Configuration
A typical HTS-03-R module usually follows a 4-pin layout for easy integration:
| Pin Number | Name | Description |
| :--- | :--- | :--- |
| 1 | **VCC** | Power Supply (3.3V/5V) |
| 2 | **SCL / PWM** | Serial Clock for I2C or PWM output signal |
| 3 | **SDA / Data** | Serial Data for I2C communication |
| 4 | **GND** | Ground |
---
### Typical Application Circuit
When integrating the HTS-03-R with a microcontroller (like an Arduino or ESP32), pull-up resistors are required for the communication lines.
```cpp
// Example: Basic I2C Initialization for HTS-03-R (MLX90614 compatible)
#include
#include
Adafruit_MLX90614 mlx = Adafruit_MLX90614();
void setup() {
Serial.begin(9600);
if (!mlx.begin()) {
Serial.println("Error connecting to HTS-03-R sensor. Check wiring.");
while (1);
};
}
void loop() {
Serial.print("Ambient: "); Serial.print(mlx.readAmbientTempC());
Serial.print(" C\tObject: "); Serial.print(mlx.readObjectTempC());
Serial.println(" C");
delay(1000);
}
```