SSTH11 เซ็นเซอร์วัดอุณหภูมิและความชื้น Digital humidity and temperature sensor SHT21-02 (บัดกรีแล้ว)

฿45.00

มีสินค้า

คำอธิบาย

SHT-21 เซ็นเซอร์วัดอุณหภูมิและความชื้น Digital humidity and temperature sensor เซนเซอร์วัดความชื้น Humidity Sensor SHT21 (บัดกรีแล้ว ใช้งานปกติ)

  • อุณหภูมิใช้งาน -40 – 125 C องศาเซลเซียส
  • ขอบเขตค่า RH 0 % to 100 %
  • ค่าความแม่นยำ RH +/- 2 %
  • ความแม่นยำของค่าอุณหภูมิเต็มจำนวน +/- 0.3 C องศาเซลเซียส
  • สัญญาณขาออก Digital
  • ประเภทอินเตอร์เฟส I2C
  • ความละเอียด 12 bit, 14 bit
  • กระแสไฟฟ้าใช้งาน 150nA
  • การจ่ายแรงดัน (ต่ำสุด) 2.1V
  • การจ่ายแรงดัน (สูงสุด) 3.6V

Wiring based on Sensor Type GY 21

  • VCC: Connect to Arduino’s 5V pin (unless your GY-21 has a built-in voltage regulator)
  • GND: Connect to Arduino’s GND pin.
  • SCL: Connect to Arduino’s SCL pin ( A5)
  • SDA: Connect to Arduino’s SDA pin ( A4)
GY-21          Arduino
------         -------
  VCC    <---->  5V or 3.3V
  GND    <---->  GND
  SDA    <---->  A4 (or SDA pin)
  SCL    <---->  A5 (or SCL pin)

 

Sample Code

#include <Wire.h>
#include <SHTSensor.h>

SHTSensor sht;

void setup() {
  // put your setup code here, to run once:

  Wire.begin();
  Serial.begin(9600);
  sht.init();
}

void loop() {
  // put your main code here, to run repeatedly:

  sht.readSample();
  Serial.print("SHT:n");
  Serial.print("  RH: ");
  Serial.print(sht.getHumidity(), 2);
  Serial.print("n");
  Serial.print("  T:  ");
  Serial.print(sht.getTemperature(), 2);
  Serial.print("n");

  delay(1000);
}

 

Sensirion Developer Page

  • Check out the Sensirion Developer page for more information: https://developer.sensirion.com/platforms/arduino/

 

รีวิว

ยังไม่มีบทวิจารณ์

เฉพาะลูกค้าที่เข้าสู่ระบบ และเคยซื้อสินค้าชิ้นนี้แล้วเท่านั้น ที่เขียนบทวิจารณ์ได้