DSM501A Dust Sensor Module PM2.5 Detection Dector COM45, R28

DSM501A Dust Sensor Module PM2.5 Detection Dector COM45, R28

Description

Based on the same counter with the particle theory of light scattered by a unique detection method, it Will be seized within the unit volume, equivalent to the absolute number of particles as a pulse signal output. Can sense smoke particles produced smoke, dust and other allergic Housing Can detect more than 1 micron or 2.5 micron particles of two small threshold. Small volume, light weight, easy to install. 5V input circuit, to facilitate signal processing. Built-in air generator, free to attract external atmosphere. Maintenance is simple, keeping the long term characteristics of the sensor. Purpose: Air Cleaner, air conditioners, ventilation fans, environmental monitoring

Feature:

  • Rated Power: 0.5W
  • Operating Voltage: 5V
  • Operating Current: 100mA
  • Open Circuit Current: 106mA
  • Operating Temperature: -20+or-85 degree
  • Light Intensity: 1000W/M2, 25 degree,AM1.5

Pinout and description:

Dust Sensor

It has a total of 5 wires. And don’t get confused with the colors. Just follow the pin numbers. As per the datasheet,

  • Pin number 1 is the Vout1 control.
  • Pin number 2 is the Vout2 output(PWM).
  • Pin number 3 is the VCC.
  • Pin number4 is the Vout1 output (PWM). And
  • Pin number 5 is the ground.

To interface the DSM501A Dust Sensor Module with an Arduino, you can follow these steps:

  1. Wiring Connections:
  • Connect the VCC pin of the DSM501A module to the 5V pin on the Arduino.
  • Connect the GND pin of the DSM501A module to the GND pin on the Arduino.
  • Connect the OUT pin of the DSM501A module to any digital pin on the Arduino (e.g., Pin 2).
  1. Arduino Code: Here is a simple example code snippet to read data from the DSM501A Dust Sensor Module and print the output to the serial monitor:
const int dustPin = 2;//Connect the OUT pin to digital pin 2

 
void setup() {

 
  Serial.begin(9600);

 
  pinMode(dustPin, INPUT);

 
}

 
void loop() {

 
  int dustVal = digitalRead(dustPin);

 
  Serial.print("Dust Value: ");

 
  Serial.println(dustVal);

 
  delay(1000); // Delay for 1 second

 
}



or use this codes

int pin = 8;

unsigned long duration;

unsigned long starttime;

unsigned long sampletime_ms = 1000;

unsigned long lowpulseoccupancy = 0;

float ratio = 0;

float concentration = 0;

void setup() {

 Serial.begin(9600);

 pinMode(8,INPUT);

 delay(2000);

 starttime = millis(); // get the current time;

}

void loop() {

 duration = pulseIn(pin, LOW);

 lowpulseoccupancy = lowpulseoccupancy + duration;

 if ((millis() – starttime) > sampletime_ms) {

  ratio = lowpulseoccupancy / (sampletime_ms * 10.0); // Integer percentage 0=>100

  concentration = 1.1 * pow(ratio, 3) – 3.8 * pow(ratio, 2) + 520 * ratio + 0.62; // using spec sheet curve

  lowpulseoccupancy = 0;

  Serial.print(“Concentration: “);

  Serial.println(concentration);

  if (concentration < 1000) {

   Serial.println(“Clean”);

  } else if (concentration < 10000) {

   Serial.println(“Good”);

  } else if (concentration < 20000) {

   Serial.println(“Acceptable”);

  } else if (concentration < 50000) {

   Serial.println(“Heavy”);

  } else {

   Serial.println(“Hazard”);

  }

  starttime = millis();

 }

}

  1. Testing:
  • Upload the code to your Arduino board.
  • Open the Serial Monitor in the Arduino IDE (Tools > Serial Monitor).
  • You should see the dust sensor values being printed in the Serial Monitor.

Remember, the output from the DSM501A Dust Sensor Module may require calibration and processing to convert the raw data into meaningful PM2.5 concentration values. Refer to the sensor’s datasheet or calibration guide for more information on interpreting the sensor readings.

Frw 18,500

Related Products

ESP8266 serial port wifi module NodeMCU Lua V3 Internet of Things development board TYPE-C interface CH340

ESP8266 serial port ...

Frw 11,000

Arduino Uno SMD Electronic Development Board, 32 Kb

Arduino Uno SMD Elec...

Frw 10,000

ESP32 NodeMCU Module WLAN WiFi Development Board | Dev Kit C V2 with CP2102 compatible with Arduino

ESP32 NodeMCU Module...

Frw 15,000

HC-SR04 Ultrasonic sensor

HC-SR04 Ultrasonic s...

Frw 4,500

L298N 2A Based Motor Driver Module

L298N 2A Based Motor...

Frw 4,500

L293D driver motor shield for Arduino

L293D driver motor s...

Frw 4,300

Mini Water / Fluid Pump MOD45 ,R12

Mini Water / Fluid P...

Frw 2,450

0.08MPa 370 Motor 12V DC Air pump/Oxygen filling pump COM45, R37

0.08MPa 370 Motor 12...

Frw 8,000

MQ135 Air Quality Detector Sensor Module

MQ135 Air Quality De...

Frw 6,900

Electrolytic Capacitors0.1uF – 4700uF/25v

Electrolytic Capacit...

Frw 300

MAX30100 - Heart Rate Oxygen Pulse Sensor

MAX30100 - Heart Rat...

Frw 3,950

Single Channel 5V Relay Module

Single Channel 5V Re...

Frw 2,400

Channel 5V Relay Module

Channel 5V Relay Mod...

Frw 4,300

4 Channel 5V Relay Module

4 Channel 5V Relay M...

Frw 5,950

PCB Board 9*15cm PRO24, R22

PCB Board 9*15cm PRO...

Frw 1,000

LED 5MM 2MA GN

LED 5MM 2MA GN

Frw 50

Multi Coin Acceptor

Multi Coin Acceptor

Frw 35,000

4 * 4 Matrix Array Matrix Keypad

4 * 4 Matrix Array M...

Frw 5,000

AS608 Fingerprint Reader Sensor Module Optical

AS608 Fingerprint Re...

Frw 27,000

5A ACS712 ACS712ELC Current Sensor Module

5A ACS712 ACS712ELC ...

Frw 5,500

Infrared Obstacle Avoidance Tracking Sensor Module

Infrared Obstacle Av...

Frw 2,500

Soil Moisture Sensor

Soil Moisture Sensor

Frw 500

TTP223 Touch sensor

TTP223 Touch sensor

Frw 3,000

Smallest SIM800L GPRS GSM BRD56 , R11

Smallest SIM800L GPR...

Frw 11,500

Raspberry Pi Camera 175 Degree OV5647 Sensor 5MP Cameras Module Wide Angle Fisheye Lens for Pi 5 / 4B / 3B+ / 3B / Zero 2 W 1.3

Raspberry Pi Camera ...

Frw 35,000

MQ-7 Gas Sensor Module for Carbon Monoxide

MQ-7 Gas Sensor Modu...

Frw 8,900

GY-521 MPU6050

GY-521 MPU6050

Frw 5,500

DSM501A Dust Sensor Module PM2.5 Detection Dector COM45, R28

DSM501A Dust Sensor ...

Frw 18,500

DHT22/AM2302 Digital Temperature And Humidity Sensor Module SENS54 ,R13

DHT22/AM2302 Digital...

Frw 7,800

Arduino Active Buzzer Module COM52 ,R25

Arduino Active Buzze...

Frw 2,700