Wish List 0

Pm2.5 Panteng Sensor Module Temperature And Humidity Three In One High Precision Laser Sensor Detects Air Quality

Rs. 1,505.00 Rs. 1,716.00

Features:
-PMS5003 is a kind of digital and universal particle concentration sensor, which can be used to obtain the number of suspended particles in the air, i.e. the concentration of particles, and output them in the form of digital interface.
-This sensor can be inserted into variable instruments related to the concentration of suspended particles in the air or other environmental improvement equipments to provide correct concentration data in time.
-Working principle
-Laser scattering principle is used for such sensor, i.e. produce scattering by using laser to radiate suspending particles in the air, then collect scattering light in a certain degree, and finally obtain the curve of scattering light change with time.
-In the end, equivalent particle diameter and the number of particles with different diameter per unit volume can be calculated by microprocessor based on MIE theory.

SPECIFICATION:

-Parameter Index unit

-Range of measurement 0.3~1.0;1.0~2.5;2.5~10 Micrometer(μ m)

-Counting Efficiency 50%@0.3μ m 98%@>=0.5μ m

-Effective Range(PM2.5

-standard)

-0~500 μ g/m³

-Maximum Range(PM2.5

-standard)*

-≥1000 μ g/m³

-Resolution 1 μ g/m³

-Maximum Consistency Error

-(PM2.5 standard data)*

-±10%@100~500μ g/m³

-±10μ g/m³@0~100μ g/m³

-Standard Volume 0.1 Litre(L)

-Single Response Time <1 Second(s)

-Total Response Time ≤10 Second(s)

-DC Power Supply Typ:5.0 Min:4.5 Max: 5.5 Volt(V)

-Active Current ≤100 Milliampere(mA)

-Standby Current ≤200 Microampere(μ A)

-Interface Level L <0.8 @3.3 H >2.7@3.3 Volt(V)

-Working Temperature Range -10~+60 ℃

-Working Humidity Range 0~99%

-Storage Temperature Range -40~+80 ℃

-MTTF ≥3 Year(Y)

-Physical Size 50×38×21 Millimeter(mm)


OVERVIEW:

-Zero false alarm rate

-Real-time response

-Correct data

-Minimum distinguishable particle diameter :0.3 micrometer

-High anti-interference performance because of the patent structure of six

-sides shielding

-Optional direction of air inlet and outlet in order to adapt the different

-design

PACKAGE INCLUDES:

1 PCS x Pm2.5 Panteng Sensor Module Temperature And Humidity Three In One High Precision Laser Sensor Detects Air Quality


//SOURCE CODE TAKEN FROM BELOW LINK

//https://github.com/jbanaszczyk/pms5003/blob/master/Examples/p01basic/p01basic.ino

#include <pms.h>


PmsAltSerial pmsSerial;

pmsx::Pms pms(&pmsSerial);


////////////////////////////////////////


// * PMS5003 Pin 1 : VCC +5V

// * PMS5003 Pin 2 : GND

// Important: pms5003 uses 3.3V logic.Use converters if required or make sure your Arduino board uses 3.3V logic too.

// * PMS5003 Pin 4 : Digital pin 9 (there is no choice, forced by AltSerial)

// * PMS5003 Pin 5 : Digital pin 8 (there is no choice, forced by AltSerial)

// * Optional

//   * PMS5003 Pin 3 : Digital pin 7 (can be changed or not connected at all)

//   * PMS5003 Pin 6 : Digital pin 6 (can be changed or not connected at all)


// if PMS5003 Pin 3  and PMS5003 Pin 3 are not connected

// constexpr uint8_t pinReset = pmsx::Pms::pinNone;

// constexpr uint8_t pinSleepMode = pmsx::Pms::pinNone;


// if PMS5003 Pin 3  and PMS5003 Pin 3 are connected

constexpr uint8_t pinReset = 6;

constexpr uint8_t pinSleepMode = 7;


////////////////////////////////////////


void setup(void) {

    Serial.begin(115200);

    while (!Serial) {}

    Serial.println(pmsx::pmsxApiVersion);


    if (!pms.begin()) {

        Serial.println("PMS sensor: communication failed");

        return;

    }


pms.setPinReset(pinReset);

pms.setPinSleepMode(pinSleepMode);


    if (!pms.write(pmsx::PmsCmd::CMD_RESET)) {

        pms.write(pmsx::PmsCmd::CMD_SLEEP);

        pms.write(pmsx::PmsCmd::CMD_WAKEUP);

    }

    pms.write(pmsx::PmsCmd::CMD_MODE_PASSIVE);

    pms.write(pmsx::PmsCmd::CMD_READ_DATA);

    pms.waitForData(pmsx::Pms::TIMEOUT_PASSIVE, pmsx::PmsData::FRAME_SIZE);

    pmsx::PmsData data;

    auto status = pms.read(data);

    if (status != pmsx::PmsStatus::OK) {

        Serial.print("PMS sensor: ");

        Serial.println(status.getErrorMsg());

    }

    pms.write(pmsx::PmsCmd::CMD_MODE_ACTIVE);

    if (!pms.isWorking()) {

        Serial.println("PMS sensor failed");

    }


    Serial.print("Time of setup(): ");

    Serial.println(millis());

}


////////////////////////////////////////


void loop(void) {


    static auto lastRead = millis();


    pmsx::PmsData data;

    auto status = pms.read(data);


    switch (status) {

    case pmsx::PmsStatus::OK: {

        Serial.println("_________________");

        const auto newRead = millis();

        Serial.print("Wait time ");

        Serial.println(newRead - lastRead);

        lastRead = newRead;


        auto view = data.raw;

        for (pmsx::PmsData::pmsIdx_t i = 0; i < view.getSize(); ++i) {

            Serial.print(view.getValue(i));

            Serial.print("\t");

            Serial.print(view.getName(i));

            Serial.print(" [");

            Serial.print(view.getMetric(i));

            Serial.print("] ");

//            Serial.print(" Level: ");

//            Serial.print(view.getLevel(i));

            Serial.print(" | diameter: ");

            Serial.print(view.getDiameter(i));

            Serial.println();

        }

        break;

    }

    case pmsx::PmsStatus::NO_DATA:

        break;

    default:

        Serial.print("!!! Pms error: ");

        Serial.println(status.getErrorMsg());

    }

}

15 DAYS

Write a review

Please login or register to review