

The SparkFun SHT15 Humidity and Temperature Breakout (Part ID: SEN-08257) is a compact sensor module designed to measure both relative humidity and temperature with high accuracy. It features a digital output, making it easy to integrate with microcontrollers and other digital systems. The module is based on the Sensirion SHT15 sensor, which combines a capacitive humidity sensor and a band-gap temperature sensor in a single package.








The following table outlines the key technical details of the SparkFun SHT15 Humidity and Temperature Breakout:
| Parameter | Value |
|---|---|
| Supply Voltage | 2.4V to 5.5V |
| Current Consumption | 550 µA (measuring), 28 µA (standby) |
| Humidity Measurement Range | 0% to 100% RH |
| Humidity Accuracy | ±3.0% RH |
| Temperature Measurement Range | -40°C to +123.8°C |
| Temperature Accuracy | ±0.3°C |
| Communication Protocol | Digital (2-wire interface) |
| Dimensions | 19.3mm x 16.5mm |
The SparkFun SHT15 breakout board has four pins, as described in the table below:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (2.4V to 5.5V). Connect to the 3.3V or 5V pin of your microcontroller. |
| 2 | GND | Ground connection. Connect to the ground pin of your microcontroller. |
| 3 | DATA | Data line for communication. Connect to a digital I/O pin on your microcontroller. |
| 4 | SCK | Clock line for communication. Connect to a digital I/O pin on your microcontroller. |
Below is an example of how to use the SparkFun SHT15 with an Arduino UNO. This code uses the SHT1x library, which simplifies communication with the sensor.
#include <SHT1x.h>
// Define the pins connected to the sensor
#define dataPin 10 // Pin connected to the DATA line
#define clockPin 11 // Pin connected to the SCK line
// Create an instance of the SHT1x library
SHT1x sht1x(dataPin, clockPin);
void setup() {
Serial.begin(9600); // Initialize serial communication
Serial.println("SHT15 Humidity and Temperature Sensor");
}
void loop() {
// Read temperature and humidity from the sensor
float temperature = sht1x.readTemperatureC(); // Temperature in Celsius
float humidity = sht1x.readHumidity(); // Relative humidity in %
// Print the readings to the Serial Monitor
Serial.print("Temperature: ");
Serial.print(temperature);
Serial.println(" °C");
Serial.print("Humidity: ");
Serial.print(humidity);
Serial.println(" %");
delay(2000); // Wait 2 seconds before the next reading
}
No Data or Incorrect Readings:
Communication Errors:
Inconsistent Readings:
Sensor Not Detected:
dataPin and clockPin in the code match the actual pins used in the circuit.Q: Can the SHT15 sensor measure both temperature and humidity simultaneously?
A: Yes, the sensor can measure both parameters, but the measurements are taken sequentially.
Q: Is the sensor compatible with 5V microcontrollers?
A: Yes, the sensor operates at 2.4V to 5.5V, making it compatible with both 3.3V and 5V systems.
Q: Do I need an external library to use the sensor with Arduino?
A: While you can write custom code, using a library like SHT1x simplifies communication and reduces development time.
Q: How often should I take measurements?
A: The sensor can provide readings as frequently as every 2 seconds, but this depends on your application requirements.
Q: Can I use the sensor outdoors?
A: The sensor can be used outdoors if it is protected from direct exposure to water and extreme environmental conditions.