Humidity is the concentration of water vapor (water when it's a gas) in the air. Some places have more and make you feel soggy and hot like you're in a sauna. Other places don't have much, which makes it easier to get nose bleeds and static zaps. These are just a few examples of how humidity can have a noticeable impact on things that grow, like mushrooms or humans, as well as things that are sensitive to moisture, like delicate electronics, or humans./濕度是空氣中水蒸氣(當水是氣體時)的濃度。有些地方有更多的地方,讓你感到潮濕和炎熱,就像你在桑拿房裡一樣。其他地方沒有太多,這使得更容易流鼻血和靜電。這些只是濕度如何對生長的事物(如蘑菇或人類)以及對水分敏感的事物(如精緻的電子產品或人類)產生明顯影響的幾個例子。。
This is where the HTS221 Temperature and Humidity Sensor by ST comes in. With an HTS221, you can take measurements of the relative humidity which will tell you if the environment you're measuring is bone dry or sopping wet. The HTS221 can measure relative humidity from 0%-100% rH with a sensitivity of 0.004% and 3.5% accuracy between 20-80%. It can also measure temperature from -40 to 120 degrees C, with a resolution of 0.016°C with ±0.5 °C accuracy between 15 and +40 °C./這就是意法半導體HTS221溫濕度感測器的用武之地。使用HTS221,您可以測量相對濕度,這將告訴您所測量的環境是乾涸還是潮濕。HTS221可以測量0%-100%rH的相對濕度,靈敏度為0.004%,精度為3.5%,介於20-80%之間。它還可以測量-40至120°C的溫度,解析度為0.016°C,精度±0.5°C,介於15至+40°C之間。
The HTS221 is an inexpensive humidity sensor which makes it great for everyday measurement applications. Want to measure the humidity of your bathroom? Sure! How about your mushroom farm? Perfect!/HTS221是一款價格低廉的濕度感測器,非常適合日常測量應用。想要測量浴室的濕度?確定!你的蘑菇農場怎麼樣?完善!。
The HTS221 lets you choose between a 3-wire SPI or the ever-popular I2C which only needs two wires for data. If you're an I2C fan (who isn't?), we've included our handy dandy 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. /HTS221 允許您在3 線 SPI或廣受歡迎的I2C(只需兩根線傳輸資料)之間進行選擇。如果您是I2C粉絲(誰不是?),我們已經為I2C總線提供了方便的花花公子SparkFun Qwiic相容STEMMA QT連接器,因此您甚至不需要焊接! QT電纜不包括在內,但我們在商店裡有各種各樣的電纜。
Since the HTS221 is a super small 2mm square, we've put it on a breakout board with level shifting and a power regulator, so it's easy to use on a breadboard with either a 5V logic level device like a Metro 328 or Arduino Uno, or with 3.3V logic level devices like a Feather M4 or Raspberry Pi of your choice. /由於HTS221是一個超小的2mm正方形,我們將其放在具有電平轉換和電源穩壓器的分線板上,因此在帶有5V邏輯電平設備(如Metro 328或Arduino Uno)或3.3V邏輯電平設備(如Feather M4或Raspberry Pi)的麵包板上,它很容易使用。
Lastly, it wouldn't be an Adafruit breakout if it didn't come with libraries for Arduino and CircuitPython or Python. We've also written example code and instructions on the pages that follow, so you'll be ready to tell all your friends the approximate relative humidity level and temperature in only a few minutes./最後,如果它沒有帶有Arduino和CircuitPython或Python的庫,它就不會是Adafruit的突破。我們還在下面的頁面上編寫了範例代碼和說明,因此您可以在短短幾分鐘內告訴所有朋友大致的相對濕度水準和溫度。