รหัสสินค้า | SKU-00716 |
หมวดหมู่ | เซนเซอร์วัดสภาพแวดล้อม |
ราคา | 120.00 บาท |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 24 ต.ค. 2567 |
อัพเดทล่าสุด | 24 ต.ค. 2567 |
คงเหลือ | ไม่จำกัด |
จำนวน | ชิ้น |
GY-SHT31 Digital Temperature and humidity เซนเซอร์ความชื้นและอุณหภูมิแบบ I2C
เซนเซอร์วัดอุณหภูมิและความชื้นแบบดิจิตอล รุ่น GY-SHT3X ติดต่อแบบ I2C
ดาวน์โหลดไลบารี https://github.com/adafruit/Adafruit_SHT31
ตัวอย่างโคด Arduino GY-SHT3X ใช้ได้กับ Arduino / ESP8266 / ESP32
#include
#include
#include "Adafruit_SHT31.h"
Adafruit_SHT31 sht31 = Adafruit_SHT31();
void setup()
{
Serial.begin(9600);
if (! sht31.begin(0x44))
{
Serial.println("Couldn't find SHT31");
while (1) delay(1);
}
}
void loop()
{
float t = sht31.readTemperature();
float h = sht31.readHumidity();
if (! isnan(t))
{
Serial.print("Temp *C = "); Serial.println(t);
}
else
{
Serial.println("Failed to read temperature");
}
if (! isnan(h))
{
Serial.print("Hum. % = "); Serial.println(h);
}
else
{
Serial.println("Failed to read humidity");
}
Serial.println();
delay(1000);
}
GY-SHT31 Digital Temperature and humidity เซนเซอร์ความชื้นและอุณหภูมิแบบ I2C
SHT31 is the next generation of Sensirion’s temperature and humidity sensors. It builds on a new CMOSens® sensor chip that is at the heart of Sensirion’s new humidity and temperatureplatform.
The SHT3x-DIS has increased intelligence, reliability and improved accuracy specifications compared to its predecessor. Its functionality includes enhanced signal processing, two distinctive and user selectable I2C addresses and communication speeds of up to 1 MHz. The DFN package has a footprint of 2.5 x 2.5 mm2 while keeping a height of 0.9 mm.
This allows for integration of the SHT3x-DIS into a great variety of applications.
Features
หน้าที่เข้าชม | 114,268 ครั้ง |
ผู้ชมทั้งหมด | 51,030 ครั้ง |
เปิดร้าน | 31 ก.ค. 2559 |
ร้านค้าอัพเดท | 4 ก.ย. 2568 |