PMSA003A Dust Sensor: Difference between revisions

From Leo's Notes
This page was last edited on 31 October 2021, at 22:23.
Created page with "The PMSA003A dust sensor can be found on Ebay for around $20 USD. Based on the datasheet, it is a laser based sensor that is capable of measuring particles as small as 0.3 mic..."
 
No edit summary
Line 3: Line 3:
Related and probably older dust sensors in this family include the PMS7003, PMS5003, and PMS1003.
Related and probably older dust sensors in this family include the PMS7003, PMS5003, and PMS1003.


== Usage ==
==Usage==
[[File:PMSA003A dust sensor.jpg|alt=PMSA003A dust sensor|thumb|248x248px|PMSA003A dust sensor]]
[[File:PMSA003A dust sensor.jpg|alt=PMSA003A dust sensor|thumb|248x248px|PMSA003A dust sensor]]
The PMSA003A uses a 1.27mm 10 pin header. This header is smaller than the usual DIP header (those are 2.54mm). Be aware that some sellers do not sell the sensor with an adapter board or the female header which makes using this module incredibly hard to do if you don't have this header.
The PMSA003A uses a 1.27mm 10 pin header. This header is smaller than the usual DIP header (those are 2.54mm). Be aware that some sellers do not sell the sensor with an adapter board or the female header which makes using this module incredibly hard to do if you don't have this header.


=== Pinout ===
===Pinout===
The pinouts for the unit I received appears to be different from the one described on the CityOS-air docs (which only lists 8 pins). Based on what I can find, here are the pinouts for this 10-pin model:
{| class="wikitable"
{| class="wikitable"
!Pin
!Pin
!Function
!CityOS Docs
!Description
!Description
|-
|-
|1
|1
|Vcc
|Vcc
|5v
|Pin 1 is the pin one closest to the corner
|-
|-
|2
|2
|GND
|Vcc
|Ground
|Do a continuity test to confirm. If pin 2 isn't directly connected to pin 1, you might have a different pinout.
|-
|-
|3
|3
|SET
|Gnd
|Setting pin / TTL level @ 3.3V
|
|-
|-
|4
|4
|RXD
|Gnd
|Serial receiver pin / TTL level @ 3.3V
|
|-
|-
|5
|5
|TXD
|Reset
|Serial transmission pin / TTL level @ 3.3V
|Module reset signal / TTL level @ 3.3V
|-
|-
|6
|6
|RESET
|NC
|Module reset signal / TTL level @ 3.3V
|
|-
|-
|7
|7
|NC
|RX
|
|Serial receiver pin / TTL level @ 3.3V
|-
|-
|8
|8
|NC
|NC
|
|
|-
|9
|TX
|Serial transmission pin / TTL level @ 3.3V
|-
|10
|Set
|Setting pin / TTL level @ 3.3V
|}
|}
<br />
<br />


== See Also ==
==See Also==


* https://cityos-air.readme.io/docs/pms1003-digital-laser-dust-sensor-pm25-and-pm10
*https://cityos-air.readme.io/docs/pms1003-digital-laser-dust-sensor-pm25-and-pm10
* https://cassiopeia.hk/laserdust/
*https://cassiopeia.hk/laserdust/


<br />
<br />

Revision as of 22:23, 31 October 2021

The PMSA003A dust sensor can be found on Ebay for around $20 USD. Based on the datasheet, it is a laser based sensor that is capable of measuring particles as small as 0.3 micrometers.

Related and probably older dust sensors in this family include the PMS7003, PMS5003, and PMS1003.

Usage

PMSA003A dust sensor
PMSA003A dust sensor

The PMSA003A uses a 1.27mm 10 pin header. This header is smaller than the usual DIP header (those are 2.54mm). Be aware that some sellers do not sell the sensor with an adapter board or the female header which makes using this module incredibly hard to do if you don't have this header.

Pinout

The pinouts for the unit I received appears to be different from the one described on the CityOS-air docs (which only lists 8 pins). Based on what I can find, here are the pinouts for this 10-pin model:

Pin CityOS Docs Description
1 Vcc Pin 1 is the pin one closest to the corner
2 Vcc Do a continuity test to confirm. If pin 2 isn't directly connected to pin 1, you might have a different pinout.
3 Gnd
4 Gnd
5 Reset Module reset signal / TTL level @ 3.3V
6 NC
7 RX Serial receiver pin / TTL level @ 3.3V
8 NC
9 TX Serial transmission pin / TTL level @ 3.3V
10 Set Setting pin / TTL level @ 3.3V


See Also