Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use PLANTOWER PMS9003M Gas Sensor: Examples, Pinouts, and Specs

Image of PLANTOWER PMS9003M Gas Sensor
Cirkit Designer LogoDesign with PLANTOWER PMS9003M Gas Sensor in Cirkit Designer

Introduction

The PLANTOWER PMS9003M is a high-precision air quality sensor designed to measure particulate matter (PM1.0, PM2.5, and PM10) concentrations in the air. It uses laser scattering technology to provide real-time and accurate data on air pollution levels. The sensor is compact, reliable, and easy to integrate into various applications, making it ideal for environmental monitoring, air purifiers, HVAC systems, and indoor air quality monitoring devices.

Explore Projects Built with PLANTOWER PMS9003M Gas Sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered MQ-2 Gas Sensor with Alert Buzzer
Image of gas detect: A project utilizing PLANTOWER PMS9003M Gas Sensor in a practical application
This is a simple gas detection alarm system that uses an MQ-2 sensor to detect gas presence and sound a buzzer when gas is detected. It is powered by a rechargeable 18650 battery, with a TP4056 module for battery management and charging. A rocker switch is used to control the power to the system.
Cirkit Designer LogoOpen Project in Cirkit Designer
Solar-Powered Environmental Monitoring Station with ESP32 and Gas Sensors
Image of AIR QUALITY MONITORING: A project utilizing PLANTOWER PMS9003M Gas Sensor in a practical application
This circuit is designed to monitor various gas levels and air quality using a set of sensors (MQ-136, MQ-6, MQ-137, MQ-7, and PMS5003) interfaced with an ESP32 microcontroller. The ESP32 collects sensor data and can control a relay module potentially for activating systems like fans or alarms based on the sensor readings. Additional components include a DHT22 for temperature and humidity readings, a power supply with a step-down converter, and safety features like resettable fuses and an LVD (Low Voltage Disconnect) to protect the battery and circuit.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Smart Environmental Monitoring System with Relay Control
Image of SOCOTECO: A project utilizing PLANTOWER PMS9003M Gas Sensor in a practical application
This is a smart environmental monitoring and control system featuring an ESP32 microcontroller interfaced with a PZEM004T for power monitoring, relay modules for actuating bulbs and a fan, and an LCD for user interface. It includes flame, gas, and vibration sensors for safety monitoring purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Based Gas Detection and Alert System with GSM Notification
Image of Copy of Copy of gas sensor: A project utilizing PLANTOWER PMS9003M Gas Sensor in a practical application
This circuit is designed to monitor air quality using an MQ135 sensor and alert users of gas presence. When the sensor detects gas levels above a certain threshold, it triggers a red LED to blink, a piezo buzzer to sound an alarm, and an Arduino UNO to send an SMS and make a call via a SIM800L GSM module. The circuit also includes a 16x2 LCD with an I2C module to display air quality readings, and a 3.7V battery to power the SIM800L module.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with PLANTOWER PMS9003M Gas Sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of gas detect: A project utilizing PLANTOWER PMS9003M Gas Sensor in a practical application
Battery-Powered MQ-2 Gas Sensor with Alert Buzzer
This is a simple gas detection alarm system that uses an MQ-2 sensor to detect gas presence and sound a buzzer when gas is detected. It is powered by a rechargeable 18650 battery, with a TP4056 module for battery management and charging. A rocker switch is used to control the power to the system.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of AIR QUALITY MONITORING: A project utilizing PLANTOWER PMS9003M Gas Sensor in a practical application
Solar-Powered Environmental Monitoring Station with ESP32 and Gas Sensors
This circuit is designed to monitor various gas levels and air quality using a set of sensors (MQ-136, MQ-6, MQ-137, MQ-7, and PMS5003) interfaced with an ESP32 microcontroller. The ESP32 collects sensor data and can control a relay module potentially for activating systems like fans or alarms based on the sensor readings. Additional components include a DHT22 for temperature and humidity readings, a power supply with a step-down converter, and safety features like resettable fuses and an LVD (Low Voltage Disconnect) to protect the battery and circuit.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of SOCOTECO: A project utilizing PLANTOWER PMS9003M Gas Sensor in a practical application
ESP32-Based Smart Environmental Monitoring System with Relay Control
This is a smart environmental monitoring and control system featuring an ESP32 microcontroller interfaced with a PZEM004T for power monitoring, relay modules for actuating bulbs and a fan, and an LCD for user interface. It includes flame, gas, and vibration sensors for safety monitoring purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of Copy of gas sensor: A project utilizing PLANTOWER PMS9003M Gas Sensor in a practical application
Arduino-Based Gas Detection and Alert System with GSM Notification
This circuit is designed to monitor air quality using an MQ135 sensor and alert users of gas presence. When the sensor detects gas levels above a certain threshold, it triggers a red LED to blink, a piezo buzzer to sound an alarm, and an Arduino UNO to send an SMS and make a call via a SIM800L GSM module. The circuit also includes a 16x2 LCD with an I2C module to display air quality readings, and a 3.7V battery to power the SIM800L module.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Environmental monitoring stations
  • Smart home air quality systems
  • Air purifiers and HVAC systems
  • Industrial air quality monitoring
  • IoT-based air quality monitoring networks

Technical Specifications

The following table outlines the key technical details of the PMS9003M sensor:

Parameter Value
Manufacturer Plantower
Part Number PMS9003M
Measurement Range 0.3 µm to 10 µm (particle size)
PM Measurement Types PM1.0, PM2.5, PM10
Output Interface UART (3.3V TTL) and I²C
Operating Voltage 5V DC
Operating Current ≤ 100 mA
Operating Temperature -10°C to 60°C
Operating Humidity 0% to 99% RH (non-condensing)
Response Time ≤ 1 second
Dimensions 50 mm × 38 mm × 21 mm
Weight ~35 g

Pin Configuration and Descriptions

The PMS9003M sensor has a 7-pin connector for interfacing. The pin configuration is as follows:

Pin Number Pin Name Description
1 VCC Power supply input (5V DC)
2 GND Ground
3 SET Sleep mode control (active low)
4 RX UART receive pin (3.3V TTL logic)
5 TX UART transmit pin (3.3V TTL logic)
6 RESET Hardware reset (active low)
7 NC Not connected

Usage Instructions

How to Use the PMS9003M in a Circuit

  1. Power Supply: Connect the VCC pin to a 5V DC power source and the GND pin to ground.
  2. Communication Interface: Use the UART interface (RX and TX pins) to communicate with a microcontroller or computer. Ensure the UART logic level is 3.3V.
  3. Sleep Mode: To conserve power, the sensor can be put into sleep mode by pulling the SET pin low. Pull it high to resume normal operation.
  4. Reset: Use the RESET pin to perform a hardware reset if needed. Pull the pin low momentarily to reset the sensor.

Important Considerations and Best Practices

  • Placement: Install the sensor in a location with good airflow for accurate measurements. Avoid placing it near sources of vibration or strong electromagnetic interference.
  • Power Supply: Use a stable 5V DC power source to ensure reliable operation.
  • Warm-Up Time: Allow the sensor to warm up for at least 30 seconds after powering on for accurate readings.
  • Data Filtering: Implement software filtering to smooth out noise in the sensor's output data.

Example Code for Arduino UNO

Below is an example of how to interface the PMS9003M with an Arduino UNO using the UART interface:

#include <SoftwareSerial.h>

// Define RX and TX pins for SoftwareSerial
SoftwareSerial pmsSerial(10, 11); // RX = pin 10, TX = pin 11

// Buffer to store incoming data
uint8_t dataBuffer[32];

void setup() {
  Serial.begin(9600);          // Initialize Serial Monitor
  pmsSerial.begin(9600);       // Initialize PMS9003M UART communication
  Serial.println("PMS9003M Sensor Initialized");
}

void loop() {
  if (pmsSerial.available() >= 32) { // Check if 32 bytes are available
    for (int i = 0; i < 32; i++) {
      dataBuffer[i] = pmsSerial.read(); // Read data into buffer
    }

    // Validate data frame (start bytes: 0x42, 0x4D)
    if (dataBuffer[0] == 0x42 && dataBuffer[1] == 0x4D) {
      // Extract PM2.5 concentration (bytes 10 and 11)
      uint16_t pm25 = (dataBuffer[10] << 8) | dataBuffer[11];
      Serial.print("PM2.5 Concentration: ");
      Serial.print(pm25);
      Serial.println(" µg/m³");
    }
  }
}

Notes:

  • Connect the PMS9003M's TX pin to Arduino pin 10 (RX) and RX pin to Arduino pin 11 (TX).
  • Ensure the Arduino and sensor share a common ground.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Data Output:

    • Cause: Incorrect wiring or baud rate mismatch.
    • Solution: Verify the connections and ensure the UART baud rate is set to 9600.
  2. Inaccurate Readings:

    • Cause: Poor sensor placement or insufficient warm-up time.
    • Solution: Place the sensor in a well-ventilated area and allow it to warm up for at least 30 seconds.
  3. Sensor Not Responding:

    • Cause: Sleep mode is enabled or power supply issues.
    • Solution: Ensure the SET pin is pulled high and check the power supply voltage.

FAQs

Q: Can the PMS9003M measure gases like CO2 or VOCs?
A: No, the PMS9003M is designed to measure particulate matter (PM1.0, PM2.5, and PM10) only. It does not detect gases.

Q: How often should the sensor be calibrated?
A: The PMS9003M is factory-calibrated and does not require user calibration under normal conditions.

Q: Can I use the sensor outdoors?
A: Yes, but ensure it is protected from direct exposure to rain, dust, and extreme environmental conditions.

Q: What is the lifespan of the PMS9003M?
A: The sensor has an estimated lifespan of 3 years under normal operating conditions.