Difference between revisions of "Air-monitoring-breakout"

From SB-Components Wiki

(Created page with "<div class="row"> <div class="large-8 column"> == Air Monitoring Breakout == Air Monitoring breakout for Raspberry Pi, an open-source portable sensor that can provide the le...")
 
 
(6 intermediate revisions by the same user not shown)
Line 39: Line 39:
 
<tr> <td> VCC </td> <td> Connect to 5V of Power supply. </td> </tr>
 
<tr> <td> VCC </td> <td> Connect to 5V of Power supply. </td> </tr>
 
<tr> <td> GND </td> <td>  Connect to ground </td> </tr>
 
<tr> <td> GND </td> <td>  Connect to ground </td> </tr>
<tr> <td> PMS RX </td> <td>  Serial port receiving pin/TTL level@3.3V </td> </tr>
+
<tr> <td> RX </td> <td>  Serial port receiving pin/TTL level@3.3V </td> </tr>
<tr> <td> PMS TX </td> <td>  Serial port sending pin/TTL level@3.3V </td></tr>
+
<tr> <td> TX </td> <td>  Serial port sending pin/TTL level@3.3V </td></tr>
<tr> <td> PMS RESET </td> <td> Module reset signal /TTL level@3.3V,low reset. </td></tr>
+
<tr> <td> RESET </td> <td> Module reset signal /TTL level@3.3V,low reset. </td></tr>
<tr> <td> PMS SET </td> <td> Set pin /TTL level@3.3V,high level or suspending is normal working status, while low level is sleeping mode. </td></tr></table>
+
<tr> <td> SET </td> <td> Set pin /TTL level@3.3V,high level or suspending is normal working status, while low level is sleeping mode. </td></tr></table>
  
 
== Installation ==
 
== Installation ==
Line 48: Line 48:
  
 
==== Arduino ====
 
==== Arduino ====
 +
* Arduino Library for PMSA003 Air monitoring Breakout.
 +
 +
[https://github.com/avaldebe/PMserial Air monitoring breakout Library]
  
 
==== Raspberry Pi ====
 
==== Raspberry Pi ====
 +
* Connect Air Monitoring Breakout with Raspberry Pi as mentioned in below pinout.
 +
<table class="wikitable">
 +
<tr> <th> Pinout </th> <th> Raspberry Pi (BCM) </th> </tr>
 +
 +
<tr> <td> VCC </td> <td> 5V </td> </tr>
 +
<tr> <td> GND </td> <td>  GND </td> </tr>
 +
<tr> <td> RX </td> <td>  GPIO14 </td> </tr>
 +
<tr> <td> TX </td> <td>  GPIO15 </td></tr>
 +
<tr> <td> RESET </td> <td> GPIO17 </td></tr>
 +
<tr> <td> SET </td> <td> GPIO27 </td></tr></table>
 +
 +
* Open a terminal and run the following commands to enable Serial:
 +
<source lang="shell"> sudo raspi-config </source>
 +
And choose '''Interfacing Options''' -> Serial -> '''No''' -> '''Yes'''
 +
 +
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 ==
 
''' Github '''
 
''' Github '''
 +
 
* [https://github.com/sbcshop/RFID-Breakout Source Code]
 
* [https://github.com/sbcshop/RFID-Breakout Source Code]
 +
 +
''' Datasheet '''
 +
 +
* [https://cdn.shopify.com/s/files/1/1217/2104/files/PMSA003_datasheet.pdf PMSA003 Datasheet]

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)
Air Monitoring breakout
Buy it From : Click Here

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

en_serial_full.png

  • 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