

The DS-TMG035 is a high-performance temperature and humidity sensor designed for precise environmental monitoring. It provides a digital output, making it easy to integrate into a wide range of electronic systems. The sensor is ideal for applications such as HVAC systems, weather stations, smart home devices, and industrial automation. Its compact design and reliable performance make it a popular choice for both hobbyists and professionals.








The DS-TMG035 offers robust performance with the following key specifications:
| Parameter | Value |
|---|---|
| Supply Voltage | 3.3V to 5.5V |
| Operating Current | 2.5 mA (typical) |
| Temperature Range | -40°C to +85°C |
| Humidity Range | 0% to 100% RH |
| Temperature Accuracy | ±0.3°C |
| Humidity Accuracy | ±2% RH |
| Communication Protocol | I²C |
| Output Data Rate | 1 Hz |
| Dimensions | 15mm x 10mm x 5mm |
The DS-TMG035 has a 4-pin interface for easy connection to microcontrollers and other devices. The pinout is as follows:
| Pin Number | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V to 5.5V) |
| 2 | GND | Ground |
| 3 | SDA | I²C data line |
| 4 | SCL | I²C clock line |
0x40.Below is an example of how to interface the DS-TMG035 with an Arduino UNO using the Wire library:
#include <Wire.h>
#define DS_TMG035_ADDRESS 0x40 // Default I²C address of the sensor
void setup() {
Wire.begin(); // Initialize I²C communication
Serial.begin(9600); // Start serial communication for debugging
Serial.println("DS-TMG035 Sensor Initialization...");
}
void loop() {
Wire.beginTransmission(DS_TMG035_ADDRESS);
Wire.write(0xE3); // Command to read temperature
Wire.endTransmission();
Wire.requestFrom(DS_TMG035_ADDRESS, 2); // Request 2 bytes of data
if (Wire.available() == 2) {
uint16_t rawTemp = (Wire.read() << 8) | Wire.read();
float temperature = -46.85 + (175.72 * rawTemp / 65536.0);
Serial.print("Temperature: ");
Serial.print(temperature);
Serial.println(" °C");
}
delay(1000); // Wait 1 second before the next reading
}
0xE3 command is used to read temperature data. Refer to the sensor's datasheet for additional commands, such as reading humidity.No Data Output:
Inaccurate Readings:
I²C Communication Errors:
Q: Can the DS-TMG035 be used outdoors?
A: Yes, but it should be housed in a protective enclosure to shield it from direct exposure to rain or dust.
Q: Does the sensor require calibration?
A: The DS-TMG035 is factory-calibrated, but periodic calibration may be necessary for high-precision applications.
Q: What is the maximum cable length for I²C communication?
A: The maximum cable length depends on the pull-up resistor values and the I²C clock speed. For typical setups, keep the cable length under 1 meter to ensure reliable communication.
Q: Can the sensor measure dew point?
A: The sensor does not directly measure dew point, but you can calculate it using the temperature and humidity readings.
This concludes the documentation for the DS-TMG035. For further details, refer to the sensor's datasheet or contact the manufacturer.