F952YUHIQHIUL3I.LARGE.jpg

I used A3 for dust sensor analogue pin to avoid sharing pins with other sensors on Adafruit Circuit Playground Express. The diagrams are from https://www.instructables.com/id/How-to-Interface-With-Optical-Dust-Sensor/

JPEG Image - 36.01 kB - 09/28/2018 at 18:24

Preview
Download

mars.ino

Reference code from Adafruit Circuit Playground Express "analog_sensor" example and dust sensor on Arduino UNO https://www.instructables.com/id/How-to-Interface-With-Optical-Dust-Sensor/

ino - 5.16 kB - 09/28/2018 at 18:18

Download