Skip to content

SDS011 NOVA PM SENSOR

Jaume Olivé Petrus edited this page Sep 17, 2017 · 12 revisions

Specification

What Comments
Identifier SDS011
Interface UART
Provides PM2.5 particles per million <= 2.5 micrometers
in micro-grams / m3
PM10 particles per million <= 10 micrometers
in micro-grams / m3
Properties none
Datasheet

Code

s = sensor.attach("SDS011", uart.UART1)
while true do
   pm_2_5 = s:read("PM2.5")
   pm_10 = s:read("PM10")
   print("PM2.5: "..pm_2_5..", PM10: "..pm_10)
   tmr.delayms(500)
end

Back to sensor list

Clone this wiki locally