Sensirion Temperature/Humidity sensors are some of the finest & highest-accuracy devices you can get. And finally, we have some that have a true I2C interface for easy reading. The SHT40, SHT41, and SHT45 sensors are the fourth generation (started at the SHT10 and worked its way up to the top!).
The SHT40 has an excellent ±1.8% typical relative humidity accuracy from 25 to 75% and ±0.2 °C typical accuracy from 0 to 75 °C.
The SHT41 has an excellent ±1.8% typical relative humidity accuracy from 25 to 75% and ±0.2 °C typical accuracy from 0 to 75 °C.
The SHT45 has an even more excellent ±1% typical relative humidity accuracy from 25 to 75% and ±0.1 °C typical accuracy from 0 to 75 °C.
Note that compared to the SHT40, the SHT41 has the same typical accuracy of ±1.8% RH from 25-75% but has much better accuracy over the full humidity range, with a typical accuracy of ±2% over the 0-100% RH range, whereas the SHT40 has a worst-case typical accuracy of ±3%. Also, the SHT41 max accuracy is ±3% where as the SHT40 has a max accuracy of ±6%. So basically, you'll get better accuracy for not-much-more cost. If you need the 'best' of the SHT4x series, you want the SHT45.
Other than these differences in relative humidity and temperature accuracy, there is no discernible difference between these three chips. The I2C addresses and code are identical for all. So, how do you know which one you have? The text on the board indicates which breakout you have.
Unlike some earlier SHT sensors, these sensors have a true I2C interface for easy interfacing with only two wires (plus power and ground!). Thanks to the voltage regulator and level shifting circuitry we've included on the breakouts, they are also 3V or 5V compliant, so you can power and communicate with them using any microcontroller or microcomputer.
Such lovely chips - so we spun up breakout boards with the SHT4x and some supporting circuitry such as pullup resistors and capacitors. To make things even easier, we've included SparkFun Qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! QT Cable is not included, but we have a variety in the shop.
If you prefer working on a breadboard, each order comes with one fully assembled and tested PCB breakout and a small piece of header. You'll need to solder the header onto the PCB, but it's fairly easy and takes only a few minutes even for a beginner.
We've written both Arduino and CircuitPython/Python library code for these chips, so you can use it with just about any microcontroller or single-board computer like Raspberry Pi.