The Sigen Sensor SP-DH is a digital humidity sensor manufactured by Eastron. This sensor is designed to measure and monitor humidity levels in various environments with high accuracy and reliability. It is commonly used in applications such as HVAC systems, weather stations, industrial automation, and home automation systems.
Parameter | Value |
---|---|
Supply Voltage | 3.3V to 5.5V |
Operating Current | 0.3mA |
Humidity Range | 0% to 100% RH |
Humidity Accuracy | ±2% RH |
Response Time | < 5 seconds |
Interface | I2C |
Operating Temperature | -40°C to 80°C |
Storage Temperature | -40°C to 125°C |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V to 5.5V) |
2 | GND | Ground |
3 | SDA | I2C data line |
4 | SCL | I2C clock line |
To use the Sigen Sensor SP-DH in a circuit, follow these steps:
Below is an example code to interface the Sigen Sensor SP-DH with an Arduino UNO using the Wire library for I2C communication:
#include <Wire.h>
#define SP_DH_ADDRESS 0x40 // Default I2C address of SP-DH sensor
void setup() {
Serial.begin(9600); // Initialize serial communication
Wire.begin(); // Initialize I2C communication
}
void loop() {
Wire.beginTransmission(SP_DH_ADDRESS);
Wire.write(0xE5); // Command to read humidity
Wire.endTransmission();
Wire.requestFrom(SP_DH_ADDRESS, 2);
if (Wire.available() == 2) {
uint8_t msb = Wire.read();
uint8_t lsb = Wire.read();
uint16_t rawHumidity = (msb << 8) | lsb;
float humidity = ((125.0 * rawHumidity) / 65536.0) - 6.0;
Serial.print("Humidity: ");
Serial.print(humidity);
Serial.println(" %RH");
}
delay(2000); // Wait for 2 seconds before next reading
}
No Data from Sensor:
Incorrect Humidity Readings:
I2C Address Conflict:
By following this documentation, users can effectively integrate and utilize the Sigen Sensor SP-DH in their projects, ensuring accurate and reliable humidity measurements.