- 29a Bùi Xuân Phái, P.Tây Thạnh, Quận Tân Phú, TPHCM
- linhkienduchuy2018@gmail.com
- 0942954739
Giao miễn phí trong nội thành TPHCM đối với đơn hàng trên 1 triệu đồng
Tặng ngay 50.000đ cho đơn hàng trên 2 triệu đồng
THÔNG SỐ KỸ THUẬT:
1. PHẠM VI ĐO ĐỘ ẨM: 20 --- 90% RH
2. ĐỘ CHÍNH XÁC ĐO ĐỘ ẨM: ± 5% RH
3. PHẠM VI ĐO NHIỆT ĐỘ: 0 --- 50 ° C
4. ĐỘ CHÍNH XÁC ĐO NHIỆT ĐỘ: ± 2 ° C
5. ĐIỆN ÁP HOẠT ĐỘNG: 3.3V HOẶC 5VDC
6. NGÕ RA TÍN HIỆU SỐ 1 CHÂN RA DỮ LIỆU DATA
CÀI ĐẶT THƯ VIỆN ARDUINO:
CODE THAM KHẢO GIAO TIẾP DHT11 VỚI ARDUINO:
#include <dht.h>
#define dataPin 8 // Defines pin number to which the sensor is connected
dht DHT; // Creats a DHT object
void setup()
{
Serial.begin(9600);
}
void loop()
{
//Uncomment whatever type you're using!
int readData = DHT.read22(dataPin); // DHT22/AM2302 (KHI SỬ DỤNG DHT22 THÌ SỬ DỤNG DÒNG LỆNH NÀY)
//int readData = DHT.read11(dataPin); // DHT11 (KHI SỬ DỤNG DHT11 THÌ SỬ DỤNG DÒNG LỆNH NÀY)
float t = DHT.temperature; // Gets the values of the temperature
float h = DHT.humidity; // Gets the values of the humidity
// Printing the results on the serial monitor
Serial.print("Temperature = ");
Serial.print(t);
Serial.print(" ");
Serial.print((char)176);//shows degrees character
Serial.print("C | ");
Serial.print((t * 9.0) / 5.0 + 32.0);//print the temperature in Fahrenheit
Serial.print(" ");
Serial.print((char)176);//shows degrees character
Serial.println("F ");
Serial.print("Humidity = ");
Serial.print(h);
Serial.println(" % ");
Serial.println("");
delay(2000); // Delays 2 secods
}
3,000₫
5,000₫
180,000₫
95,000₫
40,000₫
15,000₫
2,000₫
6,000₫
6,000₫
7,000₫
13,000₫
25,000₫
45,000₫
25,000₫
25,000₫
170,000₫
90,000₫
150,000₫
40,000₫
45,000₫
40,000₫
40,000₫
40,000₫
150,000₫
40,000₫
400,000₫
600,000₫
18,000₫
20,000₫
40,000₫
75,000₫
355,000₫
280,000₫
550,000₫
355,000₫
280,000₫
70,000₫
165,000₫
165,000₫
90,000₫
Bình luận