How to Hookup Sensirion SHT15 Temperature Sensor to Arduino
The SHT15 from Sensirion is a factory calibrated sensor for measuring relative humidity & temperature. It use a digital 2 wire bus. This bus is not I2C compatible. The easiest way to use this sensor is using a breakout board. We use the breakout board from Sparkfun. This board has the pullup resistors already installed. We just need to connect the wires from the SHT15 board to the Arduino and load the software.
Hardware and Software Parts List
- Arduino Board
- Sensirion SHT15 Temperature Humidity Sensor. The one we used was from Sparkfun. PN SEN-08257
- Breadboard hookup wires
- USB Cable to suite Arduino
- Sample Sketch ( )
- SHT15 Library ( )
Wiring Diagram for connecting the SHT15 to a Arduino Board
We can test this sensor using the simple sketch as shown below. It requires the cactus.ioto communicate with the sensor.
It reads the temperature and humidity every 2 seconds and then displays it on the console.
It is important that we define the data and clock pins in the sketch. If you decide to use pins other than pins 2 and 3, then you will need to change the values in the sketch. This is line 10 and 11 shown belowLimitations
- Its blocking code.