M5Stack用のPM2.5モジュールをM5StickCで使う時のスケッチ
Sketch when using PM2.5Module for M5Stack with M5StickC
オリジナルはM5StackのPM2.5モジュールのサンプルです。 https://github.com/m5stack/M5Stack/tree/master/examples/Modules/PM2.5
- Arduino IDE 1.8.10
- Arduino-esp32 1.0.4
- M5StickC Library 0.1.1
★注意★ 図のM-BusはPM2.5モジュールのM-Busです。I2CとUARTが必要なのでGroveからUARTを取っています。
★Notice★ The M-Bus in the figure is a PM2.5 module M-Bus. Since PM2.5 requires I2C and UART, I take UART from Grove.