PMS3003 Laser Dust Sensor pm2.5 เซนเซอร์ตรวจจับฝุ่น pm2.5 แบบเลเซอร์
pms3003-laser-dust-sensor-pm2-5-เซนเซอร์ตรวจจับฝุ่น-pm2-5-แบบเลเซอร์
ข้อมูลสินค้า
ราคา
890.00 บาท
แบรนด์
No Brand
ร้านค้า
  • PM2.5 module
PMS3003 Laser Dust Sensor pm2.5 เซนเซอร์ตรวจจับฝุ่น pm2.5 แบบเลเซอร์ ใช้พัดลมดูดอากาศเข้าไปในตัวเซนเซอร์ แล้วตรวจจับฝุ่นด้วยแสงเลเซอร์ PM2.5 ฝุ่นละอองขนาดเล็กไม่เกิน 2.5 ไมครอน เป็นมลพิษฝุ่นที่มีขนาดเล็กกว่า 1 ใน 25 ส่วนของเส้นผ่าศูนย์กลางของเส้นผมมนุษย์ ซึ่งเล็กจนสามารถเล็ดลอดขนจมูกเข้าสู่ร่างกายได้ และมีขนาดเพียงครึ่งหนึ่งของขนาดเม็ดเลือด (5 ไมครอน) ดังนั้นฝุ่นพิษจึงสามารถเข้าสู่เส้นเลือดฝอยและกระจายไปตามอวัยวะได้ ฝุ่นมีลักษณะที่ขรุขระคล้ายสำลี ฝุ่นเป็นพาหะนำสารอื่นเข้ามาด้วย เช่น แคดเมียม ปรอท โลหะหนัก ไฮโดรคาร์บอน และสารก่อมะเร็งจำนวนมาก




PMS3003 โค้ดตัวอย่าง

5V -> VCC
GND -> GND
D2 -> TXD
D3 -> RXD



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

#include <SoftwareSerial.h>
SoftwareSerial mySerial(2,3); // RX, TX
unsigned int pm1 = 0;
unsigned int pm2_5 = 0;
unsigned int pm10 = 0;

void setup() {
Serial.begin(9600);
while (!Serial) ;
mySerial.begin(9600);
}

void loop() {
int index = 0;
char value;
char previousValue;

while (mySerial.available()) {
value = mySerial.read();
if ((index == 0 && value != 0x42) || (index == 1 && value != 0x4d)){
Serial.println("Cannot find the data header.");
break;
}

if (index == 4 || index == 6 || index == 8 || index == 10 || index == 12 || index == 14) {previousValue = value;}
else if (index == 5) {
pm1 = 256 * previousValue + value;
Serial.print("{ ");
Serial.print(""pm1": ");
Serial.print(pm1);
Serial.print(" ug/m3");
Serial.print(", ");
}
else if (index == 7) {
pm2_5 = 256 * previousValue + value;
Serial.print(""pm2_5": ");
Serial.print(pm2_5);
Serial.print(" ug/m3");
Serial.print(", ");
}
else if (index == 9) {
pm10 = 256 * previousValue + value;
Serial.print(""pm10": ");
Serial.print(pm10);
Serial.print(" ug/m3");
} else if (index > 15) {
break;
}
index++;
}
while(mySerial.available()) mySerial.read();
Serial.println(" }");
delay(1000);
}





คำที่เกี่ยวข้อง
เซนเซอร์ตรวจจับฝุ่นเซนเซอร์ตรวจจับเซนเซอร์ตรวจจับวัตถุเซนเซอร์ตรวจจับเส้นเซนเซอร์ตรวจจับควันเซนเซอร์ตรวจจับโลหะเซนเซอร์ตรวจจับเสียงเซนเซอร์ตรวจจับฝนเซนเซอร์ตรวจจับการเคลื่อนไหวเซนเซอร์ตรวจจับเปลวไฟ

สินค้าใกล้เคียง