รหัสสินค้า | AS10486 |
หมวดหมู่ | วัดสภาพแวดล้อมและแก๊ส Environmental / Gas |
ราคา | 1,895.00 บาท |
สถานะสินค้า | พร้อมส่ง |
จำนวน | ชิ้น |
How does the sensor work?
This sensor adopts the principle of laser scattering, that is, to make the laser irradiate the suspended particles in the air to produce scattering, and at the same time collect the scattered light at a certain angle, and obtain the curve of the intensity of the scattered light with time. Furthermore, the microprocessor, based on the MIE theory algorithm, obtains the equivalent particle size of the particles and the number of particles of different particle sizes per unit volume.
Serial number | Screen printing | Function description |
---|---|---|
1 | VCC/+ | Power positive |
2 | GND/- | Power negative |
3 | SCL/C | I2C clock line |
4 | SDA/D | I2C data line |
The product uses the Gravity standard I2C interface, which is relatively simple to use. Connect the sensor to the uno (or other motherboard) as shown in the wiring diagram.
Hardware
Software
For how to install the library file, click the link
/*!
* @brief Get the concentration of the specified particle type
* @param type:PARTICLE_PM1_0_STANDARD Particle concentration of PM1.0 in standard particle
PARTICLE_PM2_5_STANDARD Particle concentration of PM2.5 in standard particle
PARTICLE_PM10_STANDARD Particle concentration of PM10 in standard particle
PARTICLE_PM1_0_ATMOSPHERE Particulate matter concentration of PM1.0 in atmospheric environment
PARTICLE_PM2_5_ATMOSPHERE Particulate matter concentration of PM2.5 in atmospheric environment
PARTICLE_PM10_ATMOSPHERE Particulate matter concentration of PM10 in atmospheric environment
* @return concentration(ug/m3)
*/
uint16_t gainParticleConcentration_ugm3(uint8_t type);
/*!
* @brief Get the number of particles per 0.1 liter of air
* @param type:PARTICLENUM_0_3_UM_EVERY0_1L_AIR
PARTICLENUM_0_5_UM_EVERY0_1L_AIR
PARTICLENUM_1_0_UM_EVERY0_1L_AIR
PARTICLENUM_2_5_UM_EVERY0_1L_AIR
PARTICLENUM_5_0_UM_EVERY0_1L_AIR
PARTICLENUM_10_UM_EVERY0_1L_AIR
* @return number
*/
uint16_t gainParticleNum_Every0_1L(uint8_t type);
/*!
* @brief Writes data to the specified register of the sensor
* @param NULL
* @return No return value
*/
uint8_t gainVersion();
Sample code-standard particle concentration
Function description: Get the standard particle concentration of PM2.5, PM1.0, PM10.
#include "DFRobot_AirQualitySensor.h"
#define I2C_ADDRESS 0x19
DFRobot_AirQualitySensor_I2C particle(&Wire ,I2C_ADDRESS);
void setup() {
Serial.begin(115200);
/**
Sensor initialization is used to initialize IIC, which is determined by the communication mode used at this time.
*/
while(!particle.begin())
{
Serial.println("NO Deivces !");
delay(1000);
}
Serial.println("sensor begin success!");
delay(1000);
/**
Get sensor version number
*/
uint8_t version = particle.gainVersion();
Serial.print("version is : ");
Serial.println(version);
delay(1000);
}
void loop() {
/**
*@brief : Get concentration of PM1.0 PM2.5 PM10
*@param :PARTICLE_PM1_0_STANDARD Standard particle
PARTICLE_PM2_5_STANDARD Standard particle
PARTICLE_PM10_STANDARD Standard particle
PARTICLE_PM1_0_ATMOSPHERE In atmospheric environment
PARTICLE_PM2_5_ATMOSPHERE In atmospheric environment
PARTICLE_PM10_ATMOSPHERE In atmospheric environment
*/
uint16_t PM2_5 = particle.gainParticleConcentration_ugm3(PARTICLE_PM2_5_STANDARD);
uint16_t PM1_0 = particle.gainParticleConcentration_ugm3(PARTICLE_PM1_0_STANDARD);
uint16_t PM10 = particle.gainParticleConcentration_ugm3(PARTICLE_PM10_STANDARD);
Serial.print("PM2.5 concentration:");
Serial.print(PM2_5);
Serial.println(" ug/m3");
Serial.print("PM1.0 concentration:");
Serial.print(PM1_0);
Serial.println(" ug/m3");
Serial.print("PM10 concentration:");
Serial.print(PM10);
Serial.println(" ug/m3");
Serial.println();
delay(1000);
}
Result
In the state of standard particulate matter, the concentration of PM2.5, PM1.0, PM10 read is: 45ug/m3, 31ug/m3, 49ug/m3.
Sample code-particulate matter concentration in atmospheric environment
Function description: Obtain the concentration of particulate matter in the atmospheric environment of PM2.5, PM1.0, PM10.
#include "DFRobot_AirQualitySensor.h"
#define I2C_ADDRESS 0x19
DFRobot_AirQualitySensor_I2C particle(&Wire ,I2C_ADDRESS);
void setup() {
Serial.begin(115200);
/**
Sensor initialization is used to initialize IIC, which is determined by the communication mode used at this time.
*/
while(!particle.begin())
{
Serial.println("NO Deivces !");
delay(1000);
}
Serial.println("sensor begin success!");
delay(1000);
/**
Get sensor version number
*/
uint8_t version = particle.gainVersion();
Serial.print("version is : ");
Serial.println(version);
delay(1000);
}
void loop() {
/**
*@brief : Get concentration of PM1.0
*@param :PARTICLE_PM1_0_STANDARD Standard particle
PARTICLE_PM2_5_STANDARD Standard particle
PARTICLE_PM10_STANDARD Standard particle
PARTICLE_PM1_0_ATMOSPHERE In atmospheric environment
PARTICLE_PM2_5_ATMOSPHERE In atmospheric environment
PARTICLE_PM10_ATMOSPHERE In atmospheric environment
*/
uint16_t PM2_5 = particle.gainParticleConcentration_ugm3(PARTICLE_PM2_5_ATMOSPHERE );
uint16_t PM1_0 = particle.gainParticleConcentration_ugm3(PARTICLE_PM1_0_ATMOSPHERE );
uint16_t PM10 = particle.gainParticleConcentration_ugm3(PARTICLE_PM10_ATMOSPHERE);
Serial.print("PM2.5 concentration:");
Serial.print(PM2_5);
Serial.println(" ug/m3");
Serial.print("PM1.0 concentration:");
Serial.print(PM1_0);
Serial.println(" ug/m3");
Serial.print("PM10 concentration:");
Serial.print(PM10);
Serial.println(" ug/m3");
Serial.println();
delay(1000);
}
Result
In the atmospheric environment, the particle concentration of PM2.5/PM1.0/PM10 is about: 38ug/m3, 23ug/m3, 46ug/m3.
Sample code-the number of particles per 0.1 liter of air
Function description: Read the number of particles above 0.3um/0.5um/1.0um/2.5um/5.0um/10um per 0.1 liter of air.
#include "DFRobot_AirQualitySensor.h"
#define I2C_ADDRESS 0x19
DFRobot_AirQualitySensor_I2C particle(&Wire ,I2C_ADDRESS);
void setup() {
Serial.begin(115200);
/**
Sensor initialization is used to initialize IIC, which is determined by the communication mode used at this time.
*/
while(!particle.begin())
{
Serial.println("NO Deivces !");
delay(1000);
}
Serial.println("sensor begin success!");
delay(1000);
/**
Get sensor version number
*/
uint8_t version = particle.gainVersion();
Serial.print("version is : ");
Serial.println(version);
delay(1000);
}
void loop() {
/**
*@brief : Get particle number of 0.3um/0.5um/1.0um/2.5um/5.0um/10um per 0.1L of air
*@param :PARTICLENUM_0_3_UM_EVERY0_1L_AIR
PARTICLENUM_0_5_UM_EVERY0_1L_AIR
PARTICLENUM_1_0_UM_EVERY0_1L_AIR
PARTICLENUM_2_5_UM_EVERY0_1L_AIR
PARTICLENUM_5_0_UM_EVERY0_1L_AIR
PARTICLENUM_10_UM_EVERY0_1L_AIR
*/
uint16_t um0_3 = particle.gainParticleNum_Every0_1L(PARTICLENUM_0_3_UM_EVERY0_1L_AIR);
uint16_t um0_5= particle.gainParticleNum_Every0_1L(PARTICLENUM_0_5_UM_EVERY0_1L_AIR);
uint16_t um1_0= particle.gainParticleNum_Every0_1L(PARTICLENUM_1_0_UM_EVERY0_1L_AIR);
uint16_t um2_5= particle.gainParticleNum_Every0_1L(PARTICLENUM_2_5_UM_EVERY0_1L_AIR);
uint16_t um5_0= particle.gainParticleNum_Every0_1L(PARTICLENUM_5_0_UM_EVERY0_1L_AIR);
uint16_t um10= particle.gainParticleNum_Every0_1L(PARTICLENUM_10_UM_EVERY0_1L_AIR);
Serial.print("The number of particles with a diameter of 0.3um per 0.1 in lift-off is: ");
Serial.println(um0_3);
Serial.print("The number of particles with a diameter of 0.5um per 0.1 in lift-off is: ");
Serial.println(um0_5);
Serial.print("The number of particles with a diameter of 1.0um per 0.1 in lift-off is: ");
Serial.println(um1_0);
Serial.print("The number of particles with a diameter of 2.5um per 0.1 in lift-off is: ");
Serial.println(um2_5);
Serial.print("The number of particles with a diameter of 5.0um per 0.1 in lift-off is: ");
Serial.println(um5_0);
Serial.print("The number of particles with a diameter of 10um per 0.1 in lift-off is: ");
Serial.println(um10);
Serial.println("");
delay(1000);
}
Result
It is read that the number of 0.3um/0.5um/1.0um/2.5um/5.0um/10um particles per 0.1 liter of air is approximately: 1615, 1356, 233, 0, 0, 0.
The product uses the Gravity standard I2C interface, which is relatively simple to use. Connect the sensor to the micro:bit as shown in the wiring diagram.
Hardware
Software
How to use makecode software? MakeCode online graphical programming basic operation tutorial MakeCode basic operation tutorial
Sample code-standard particle concentration
Function description: Get the standard particle concentration of PM2.5, PM1.0, PM10. Program link: https://makecode.microbit.org/_9HRJ7VTsDaM2
Result
In the state of standard particulate matter, the concentration of PM2.5, PM1.0, PM10 read is: 37ug/m3, 26ug/m3, 41ug/m3. The data printed by the serial port is as follows:
Sample code-the number of particles per 0.1 liter of air
Function description: Read the number of particles above 0.3um/1.0um/10um per 0.1 liter of air. Program link: https://makecode.microbit.org/_JMxHs15fK29r
Result
It is read that the number of 0.3um/1.0um/10um particles per 0.1 liter of air is about 1115, 160, and 0 respectively.
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB
กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ
ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ
https://www.arduitronics.com/informpayment
หน้าที่เข้าชม | 15,375,197 ครั้ง |
ผู้ชมทั้งหมด | 5,878,275 ครั้ง |
เปิดร้าน | 21 พ.ค. 2556 |
ร้านค้าอัพเดท | 5 ก.ย. 2568 |