Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use StrawberryLinux SHT25 Sensor module: Examples, Pinouts, and Specs

Image of StrawberryLinux SHT25 Sensor module
Cirkit Designer LogoDesign with StrawberryLinux SHT25 Sensor module in Cirkit Designer

Introduction

The StrawberryLinux SHT25 Sensor Module is a high-precision digital humidity and temperature sensor. It is based on the SHT25 sensor, which provides accurate and reliable measurements of relative humidity and temperature. The module communicates via the I2C protocol, making it easy to integrate into microcontroller-based projects. Its compact design and low power consumption make it suitable for a wide range of applications, including environmental monitoring, HVAC systems, weather stations, and industrial automation.

Explore Projects Built with StrawberryLinux SHT25 Sensor module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Arduino Nano Weather Station with LoRa Communication
Image of Aduino LoRa Transmitter: A project utilizing StrawberryLinux SHT25 Sensor module in a practical application
This circuit is a wireless sensor system that uses an Arduino Nano to collect data from a DHT22 temperature and humidity sensor and an ACS712 current sensor. The data is transmitted via an EBYTE LoRa E220 module, and the system is powered by a 18650 battery with a TP4056 charging module and a step-up boost converter to ensure a stable 5V supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 4B Smart Weather Station with Humidity, Temperature, Light, and Soil Moisture Sensors
Image of PT plantas: A project utilizing StrawberryLinux SHT25 Sensor module in a practical application
This circuit is a sensor monitoring system using a Raspberry Pi 4B as the central controller. It integrates a DHT11 sensor for humidity and temperature, a TSL2561 sensor for light intensity, an ADS1115 ADC for analog-to-digital conversion, and a YL-69 soil moisture sensor. The data from these sensors is displayed on an OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Environmental Monitoring System with Ethernet Connectivity
Image of ESP32 38Pin USBMicro: A project utilizing StrawberryLinux SHT25 Sensor module in a practical application
This circuit features an ESP32 microcontroller interfaced with a W5500 Ethernet module for network connectivity, a DHT22 sensor for measuring temperature and humidity, and an Adafruit SHTC3 sensor for additional temperature and humidity readings. The ZMPT101B module is connected to the ESP32 for voltage measurement in an AC power line. The ESP32 manages data collection from the sensors and communicates with the Ethernet module, likely for data logging or remote monitoring purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi Pico-Based Temperature and Humidity Monitoring System
Image of rpi pico with aht20: A project utilizing StrawberryLinux SHT25 Sensor module in a practical application
This circuit connects an Adafruit AHT20 Temperature and Humidity Sensor to a Raspberry Pi Pico microcontroller. The AHT20 sensor communicates with the Raspberry Pi Pico via I2C protocol, using SCL and SDA lines for clock and data respectively. The sensor is powered by the Pico, with connections for VCC and GND to provide the necessary power supply.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with StrawberryLinux SHT25 Sensor module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Aduino LoRa Transmitter: A project utilizing StrawberryLinux SHT25 Sensor module in a practical application
Battery-Powered Arduino Nano Weather Station with LoRa Communication
This circuit is a wireless sensor system that uses an Arduino Nano to collect data from a DHT22 temperature and humidity sensor and an ACS712 current sensor. The data is transmitted via an EBYTE LoRa E220 module, and the system is powered by a 18650 battery with a TP4056 charging module and a step-up boost converter to ensure a stable 5V supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of PT plantas: A project utilizing StrawberryLinux SHT25 Sensor module in a practical application
Raspberry Pi 4B Smart Weather Station with Humidity, Temperature, Light, and Soil Moisture Sensors
This circuit is a sensor monitoring system using a Raspberry Pi 4B as the central controller. It integrates a DHT11 sensor for humidity and temperature, a TSL2561 sensor for light intensity, an ADS1115 ADC for analog-to-digital conversion, and a YL-69 soil moisture sensor. The data from these sensors is displayed on an OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ESP32 38Pin USBMicro: A project utilizing StrawberryLinux SHT25 Sensor module in a practical application
ESP32-Based Environmental Monitoring System with Ethernet Connectivity
This circuit features an ESP32 microcontroller interfaced with a W5500 Ethernet module for network connectivity, a DHT22 sensor for measuring temperature and humidity, and an Adafruit SHTC3 sensor for additional temperature and humidity readings. The ZMPT101B module is connected to the ESP32 for voltage measurement in an AC power line. The ESP32 manages data collection from the sensors and communicates with the Ethernet module, likely for data logging or remote monitoring purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of rpi pico with aht20: A project utilizing StrawberryLinux SHT25 Sensor module in a practical application
Raspberry Pi Pico-Based Temperature and Humidity Monitoring System
This circuit connects an Adafruit AHT20 Temperature and Humidity Sensor to a Raspberry Pi Pico microcontroller. The AHT20 sensor communicates with the Raspberry Pi Pico via I2C protocol, using SCL and SDA lines for clock and data respectively. The sensor is powered by the Pico, with connections for VCC and GND to provide the necessary power supply.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications:

  • Environmental monitoring systems
  • Weather stations
  • HVAC (Heating, Ventilation, and Air Conditioning) control
  • Industrial process monitoring
  • IoT (Internet of Things) devices

Technical Specifications

Key Technical Details:

Parameter Value
Supply Voltage 3.0V to 5.5V
Communication Protocol I2C
Humidity Measurement Range 0% to 100% RH
Humidity Accuracy ±1.8% RH (typical)
Temperature Measurement Range -40°C to +125°C
Temperature Accuracy ±0.2°C (typical)
Power Consumption 3 µW (at 1 measurement/second)
I2C Address 0x40 (default)

Pin Configuration:

The SHT25 Sensor Module has a 4-pin interface for easy connection. Below is the pinout description:

Pin Number Pin Name Description
1 VCC Power supply (3.0V to 5.5V)
2 GND Ground
3 SDA I2C data line
4 SCL I2C clock line

Usage Instructions

How to Use the SHT25 Sensor Module in a Circuit:

  1. Power the Module: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to ground.
  2. Connect I2C Lines:
    • Connect the SDA pin to the I2C data line of your microcontroller.
    • Connect the SCL pin to the I2C clock line of your microcontroller.
  3. Pull-Up Resistors: Ensure that the I2C lines (SDA and SCL) have pull-up resistors (typically 4.7kΩ). Some microcontroller boards, like the Arduino UNO, already include these resistors.
  4. I2C Address: The default I2C address of the SHT25 is 0x40. Ensure no other devices on the I2C bus share this address.

Important Considerations:

  • Avoid exposing the sensor to extreme conditions (e.g., high humidity or temperature) for prolonged periods, as this may affect accuracy.
  • Place the sensor in a location with good airflow for accurate environmental readings.
  • Use decoupling capacitors (e.g., 0.1 µF) near the power supply pins to reduce noise.

Example Code for Arduino UNO:

Below is an example Arduino sketch to read temperature and humidity data from the SHT25 Sensor Module:

#include <Wire.h>

// SHT25 I2C address
#define SHT25_ADDRESS 0x40

// Command codes for SHT25
#define TRIGGER_TEMP_MEASURE_HOLD 0xE3
#define TRIGGER_HUMD_MEASURE_HOLD 0xE5

void setup() {
  Wire.begin(); // Initialize I2C communication
  Serial.begin(9600); // Start serial communication for debugging
  Serial.println("SHT25 Sensor Module Test");
}

void loop() {
  float temperature = readTemperature();
  float humidity = readHumidity();

  // Print the results to the Serial Monitor
  Serial.print("Temperature: ");
  Serial.print(temperature);
  Serial.println(" °C");

  Serial.print("Humidity: ");
  Serial.print(humidity);
  Serial.println(" %RH");

  delay(2000); // Wait 2 seconds before the next reading
}

float readTemperature() {
  Wire.beginTransmission(SHT25_ADDRESS);
  Wire.write(TRIGGER_TEMP_MEASURE_HOLD);
  Wire.endTransmission();
  delay(100); // Wait for the measurement to complete

  Wire.requestFrom(SHT25_ADDRESS, 2);
  if (Wire.available() == 2) {
    uint16_t rawData = (Wire.read() << 8) | Wire.read();
    return -46.85 + 175.72 * (rawData / 65536.0); // Convert to Celsius
  }
  return NAN; // Return NaN if data is unavailable
}

float readHumidity() {
  Wire.beginTransmission(SHT25_ADDRESS);
  Wire.write(TRIGGER_HUMD_MEASURE_HOLD);
  Wire.endTransmission();
  delay(100); // Wait for the measurement to complete

  Wire.requestFrom(SHT25_ADDRESS, 2);
  if (Wire.available() == 2) {
    uint16_t rawData = (Wire.read() << 8) | Wire.read();
    return -6.0 + 125.0 * (rawData / 65536.0); // Convert to %RH
  }
  return NAN; // Return NaN if data is unavailable
}

Troubleshooting and FAQs

Common Issues:

  1. No Data Received from the Sensor:

    • Cause: Incorrect I2C wiring or address conflict.
    • Solution: Double-check the connections and ensure the I2C address (0x40) is correct.
  2. Inaccurate Readings:

    • Cause: Sensor exposed to contaminants or extreme conditions.
    • Solution: Clean the sensor gently with compressed air and avoid prolonged exposure to harsh environments.
  3. Arduino Freezes During Communication:

    • Cause: I2C bus is not properly terminated or pull-up resistors are missing.
    • Solution: Add 4.7kΩ pull-up resistors to the SDA and SCL lines if not already present.

FAQs:

Q1: Can the SHT25 Sensor Module operate at 5V?
A1: Yes, the module supports a supply voltage range of 3.0V to 5.5V.

Q2: How do I extend the I2C cable length?
A2: Use shielded cables and lower the I2C clock speed to reduce noise and signal degradation.

Q3: Can I use multiple SHT25 sensors on the same I2C bus?
A3: No, the SHT25 has a fixed I2C address (0x40). To use multiple sensors, you will need an I2C multiplexer.


This concludes the documentation for the StrawberryLinux SHT25 Sensor Module.