This project contains an Arduino sketch to control a SAMYOUNG DSM501A dust sensor, and a Processing sketch to handle serial communication between the arduino and a PC. Data is recorded every 30 seconds and wriiten to CSV file by the processing sketch
Clone the directory and flash the arduino sketch to an UNO compatible arduino board. Connect board to PC and run the Processsing sketch to record data via serial input