Difference between revisions of "Air-monitoring-breakout"
From SB-Components Wiki
Line 69: | Line 69: | ||
https://raw.githubusercontent.com/sbcshop/Air-Monitoring-Breakout/main/Images/en_serial_full.png | https://raw.githubusercontent.com/sbcshop/Air-Monitoring-Breakout/main/Images/en_serial_full.png | ||
+ | |||
+ | * Clone repository by running below command in terminal: | ||
+ | |||
+ | <source lang="shell"> git clone https://github.com/sbcshop/Air-Monitoring-Breakout.git </source> | ||
+ | |||
+ | * Now enter cloned repository by running below command | ||
+ | |||
+ | <source lang="shell"> cd Air-Monitoring-Breakout </source> | ||
+ | |||
+ | * Now run the '''read_example.py''' file by running the below command, it will print live data from sensor to terminal. | ||
+ | |||
+ | <source lang="shell"> python3 read_example.py </source> | ||
== Resources == | == Resources == |
Latest revision as of 07:16, 29 June 2021
Air Monitoring Breakout
Air Monitoring breakout for Raspberry Pi, an open-source portable sensor that can provide the level of quantity of the suspended particulates with their mass. Air Monitoring breakout has a powerful and hi-tech PMSA003 sensor that provides the information of suspended particulate matter(PM1.0, PM2.5, PM10) in the air per unit volume via digital output with an operating voltage of 3.3 V. It communicates via UART(serial) with the standby current ≤200 Microampere(μA) of the sensor. It is compatible with Raspberry Pi, Beaglebone, Arduino, STM32, PIC, AVR, ARM, etc.
Features
- Digital sensor
- Operating Voltage 5V DC
- PMSA003 Sensor
- Measuring range 0.3 to 10 Micron
Specifications
- Model - Air Monitoring Breakout
- Sensor Model number - PMSA003
- Data Output - Digital Sensor(unit quality + number of units)
- Type - Biosensor
- Communication Interface - UART (Serial)
- Measuring range - 0.3 to 1.0, 1.0 to 2.5, 2.5 to 10 Micron (μm)
- Counting efficiency - 50% @ 0.3 μm 98% @> = 0.5 um
- Response time - ≤10 s
- DC supply voltage - 5.0 V
- Maximum Operating Current - 100 Milliamp (mA)
- Standby current - ≤200 Microamp (μA)
- Data interface level - L <0.8 @3.3, H >2.7@3.3 Volt(V)
- Operating Temperature range - -10 to +60 Celsius (℃)
- Operating Humidity range - 0 - 99%
- Mean time between failures - ≥3 Year(Y)
Pinout
Pinout | Description |
---|---|
VCC | Connect to 5V of Power supply. |
GND | Connect to ground |
RX | Serial port receiving pin/TTL level@3.3V |
TX | Serial port sending pin/TTL level@3.3V |
RESET | Module reset signal /TTL level@3.3V,low reset. |
SET | Set pin /TTL level@3.3V,high level or suspending is normal working status, while low level is sleeping mode. |
Installation
Arduino
- Arduino Library for PMSA003 Air monitoring Breakout.
Air monitoring breakout Library
Raspberry Pi
- Connect Air Monitoring Breakout with Raspberry Pi as mentioned in below pinout.
Pinout | Raspberry Pi (BCM) |
---|---|
VCC | 5V |
GND | GND |
RX | GPIO14 |
TX | GPIO15 |
RESET | GPIO17 |
SET | GPIO27 |
- Open a terminal and run the following commands to enable Serial:
sudo raspi-config
And choose Interfacing Options -> Serial -> No -> Yes
- Clone repository by running below command in terminal:
git clone https://github.com/sbcshop/Air-Monitoring-Breakout.git
- Now enter cloned repository by running below command
cd Air-Monitoring-Breakout
- Now run the read_example.py file by running the below command, it will print live data from sensor to terminal.
python3 read_example.py
Resources
Github
Datasheet