รหัสสินค้า | C01029 |
หมวดหมู่ | วัดอุณหภูมิ / ความชื้น / ความกดอากาศ |
ราคา | 110.00 บาท |
ขนาด | 2 |
ลงสินค้า | 15 เม.ย. 2564 |
อัพเดทล่าสุด | 14 พ.ค. 2568 |
ความพึงพอใจ | ยังไม่มีความคิดเห็น |
คงเหลือ | 0 ชิ้น |
AM2320 Sensor สำหรับ Arduino แบบ Module ทำให้สามารถใช้งานได้ง่ายขึ้นเสียบใช้งานได้ทันที ใช้สำหรับ วัดอุณหภูมิและความชื้น แม่นยำสูง การเชื่อมต่อแบบ I2C IIC เหมาะสำหรับ Arduino หรือ Nodemcu ที่ต้องการประหยัดช่องเสียบ
สำหรับสินค้านี้เป็นสินค้าแบบโมดูล เป็นสินค้าชนิดเดียวกันกับ สินค้า AM2320 เซนเซอร์อุณหภูมิและความชื้นแบบ I2C For Arduino รหัสสินค้า D01022 แต่ทำเป็น module ให้สามารถเสียบสายได้ง่ายขึ้น
The AM2320 Sensor module for Arduino is designed to make it easier to use, with plug-and-play functionality. It is used to measure temperature and humidity with high accuracy, and is connected using the I2C IIC interface. This module is suitable for use with Arduino or Nodemcu, and is ideal for applications where space is limited. This product is a module version of the AM2320 Temperature and Humidity I2C Sensor for Arduino, product code D01022, with added convenience for easier wiring.
ข้อมูลเพิ่มเติม
Code ตัวอย่าง
#include <Wire.h>
#include <AM2320.h>
AM2320 th;void setup() {
Serial.begin(9600);
}void loop() {
switch(th.Read()) {
case 2:
Serial.println("CRC failed");
break;
case 1:
Serial.println("Sensor offline");
break;
case 0:
Serial.print("humidity: ");
Serial.print(th.h);
Serial.print("%, temperature: ");
Serial.print(th.t);
Serial.println("*C");
break;
}delay(200);
}
หน้าที่เข้าชม | 4,510,768 ครั้ง |
ผู้ชมทั้งหมด | 2,466,540 ครั้ง |
ร้านค้าอัพเดท | 6 ก.ย. 2568 |