Thingiverse

Online Particulate Matter Sensor (no temp and Humid) by stijnpeeters
by Thingiverse
Last crawled date: 4 years, 2 months ago
all credits to Chris for this great project: https://www.thingiverse.com/TheChrisP
i just made a small modification so that the display reads all 3 particle sizes and thus removed the temp sensor hole from the model.
For the Original instructions please read ChrisP's thing:https://www.thingiverse.com/thing:2320020
I do have some NOOB tips to share my experience as a total arduino noob. Perhaps it helps other builders.
Perhaps all is obvious for experienced people...i was not :-)
Download and install Arduino IDE (https://www.arduino.cc/en/Main/Software)
First of all the programming; you need to add the ESP8266 arduino extension to IDE:
Start Arduino and open Preferences window.
Enter arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
Open Boards Manager from Tools > Board menu and install esp8266 platform
select your ESP8266 board from Tools > Board menu after installation.
Load the sketch file into IDE.
If you now press the compile button you get a bunch of errors because IDE is missing some librarys.
You need to add all missing libs via Sketch->Inc. Library->Manage Library: there search for the reported missing lib until all lib's are installed and there is no longer a missing library.
Now your you should be able to send the code to the ESP2866
Regarding the components, i made the mistake that i reversed the PMS5003 color code (red and black was NOT the power)
Pin 1 is actually on the right. In my case the coloring of the schematic on github was correct, For me just reversed.
Eventually i changed the sketch so that there are no temp and Humid reading, But mine display's all 3 particle values.
i just made a small modification so that the display reads all 3 particle sizes and thus removed the temp sensor hole from the model.
For the Original instructions please read ChrisP's thing:https://www.thingiverse.com/thing:2320020
I do have some NOOB tips to share my experience as a total arduino noob. Perhaps it helps other builders.
Perhaps all is obvious for experienced people...i was not :-)
Download and install Arduino IDE (https://www.arduino.cc/en/Main/Software)
First of all the programming; you need to add the ESP8266 arduino extension to IDE:
Start Arduino and open Preferences window.
Enter arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
Open Boards Manager from Tools > Board menu and install esp8266 platform
select your ESP8266 board from Tools > Board menu after installation.
Load the sketch file into IDE.
If you now press the compile button you get a bunch of errors because IDE is missing some librarys.
You need to add all missing libs via Sketch->Inc. Library->Manage Library: there search for the reported missing lib until all lib's are installed and there is no longer a missing library.
Now your you should be able to send the code to the ESP2866
Regarding the components, i made the mistake that i reversed the PMS5003 color code (red and black was NOT the power)
Pin 1 is actually on the right. In my case the coloring of the schematic on github was correct, For me just reversed.
Eventually i changed the sketch so that there are no temp and Humid reading, But mine display's all 3 particle values.