Accurate Temperature & Humidity Monitoring with SHT15 on Windows 10 IoT Core
Windows 10 IoT Core and the SHT15 Temperature & Humidity Sensor
Project Overview
Update 08‑15‑2015: Project migrated to Visual Studio 2015 RTM.
Windows 10 IoT Core and SHT15 Sensor
This guide demonstrates how to integrate the SHT15 sensor with a Windows 10 IoT Core device. The SHT15 delivers precise temperature and humidity readings, making it ideal for environmental monitoring applications.
I ported an existing C++ library to C# for use with .NET Core. The conversion was straightforward, except for the sensor’s data‑ready wait logic. The original code loops 100 times to check the data pin. On Windows 10 IoT Core, that loop is insufficient; extending it to 3,000 iterations resolves the issue. The longer wait compensates for the kernel’s scheduler and the device’s I/O latency. If you encounter similar timing problems, consider increasing the loop count or implementing a timed delay with Task.Delay.
The application reads temperature, humidity, and calculates the dew point using the same algorithm as the Arduino DHT library. DHT Library provides a reliable reference for the formula.
Hardware Wiring
- SHT15 Vcc → 3.3 V
- SHT15 GND → GND
- SHT15 Data → GPIO24 (Pin #18)
- SHT15 SCK → GPIO23 (Pin #16)
Using the Sample
Open the project in Visual Studio 2015 and select the Remote Device debugging option. Configure the IP address of your Raspberry Pi 2 under the Debug tab.
Run the app and navigate to the internal HTTP server with the URL https://<RPi2 IP Address>:8080. The web page refreshes automatically every 5 seconds, displaying live temperature, humidity, and dew point values.
Source: Windows 10 IoT Core and SHT15
Manufacturing process
- IoT Sensors: Functionality, Types, and Real‑World Applications
- Build Your First IoT Project with Raspberry Pi, DHT11, and ThingSpeak
- Read Heart Rate Pulses with Windows 10 IoT Core on Raspberry Pi – A Step‑by‑Step Guide
- Send Adafruit 10DOF IMU Data from Raspberry Pi 2 to Azure Event Hubs with Windows 10 IoT Core
- Installing Windows 10 IoT Core on Raspberry Pi 3 Model B+: A Step‑by‑Step Guide
- Build a Speech‑Controlled Robot with Windows 10 IoT Core on Raspberry Pi 2
- Build a Smart IoT Jar with ESP8266, Arduino & Ultrasonic Sensor – Real‑Time Monitoring
- IoT Integration: Remote Arduino Control via Windows 10 UWP Apps
- Raspberry Pi 2 Home Automation with Windows 10 IoT Core: A Complete Component Guide
- Smart Home Automation Powered by Raspberry Pi 2 & Windows 10 IoT