Documentation
¶
Overview ¶
Package pms5003 talks to the PMS5003 particulate matter sensor. Code is more or less ported from Pimoroni's original: https://github.com/pimoroni/pms5003-python We basically just read bytes from a serial connection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Frame ¶
type Frame struct { Standard10 uint16 Standard25 uint16 Standard100 uint16 Environment10 uint16 Environment25 uint16 Environment100 uint16 Count3um uint16 Count5um uint16 Count10um uint16 Count25um uint16 Count50um uint16 Count100um uint16 }
Frame is the data measured by the sensor. The standard and environment values are PM concentrations (μ g/m3). Environment values are the measure of the concentrations in the atmospheric environment. Standard values are adjusted to the U.S. Standard Atmosphere at 0 km sea level.
Reference:
Click to show internal directories.
Click to hide internal directories.