Air quality sensor for particle photon

I would like to install an air quality sensor, and I would like to know if there is any device compatible with particle photon. Has anybody done something like that?


@javidr ,

Air quality is a broad topic. The short answer is, yes, there are a number of sensors that you can use.

At a basic level, the BME680 gives temperature, humidity and volatile organic compounds. I use this sensor in a local park’s parking lot to measure heat index and exhaust fumes.

There are other factors in air quality. The most popular would be the EPA’s Air Quality Index which includes:

  • ground-level ozone
  • particle pollution (also known as particulate matter, including PM2.5 and PM10)
  • carbon monoxide
  • sulfur dioxide
  • nitrogen dioxide

Perhaps a little more about how you define air quality would help . Chances are, there are sensors that will work with the Photon to measure these values. I think you will find a great deal of experience in this community with these measurements.




there’s this work that @jaredwolff has done, not sure if currently working with the photon, but might be worth a look, as it could be perhaps a source of inspiration:


and this:


That’s amazing, thanks!

To the first question, not sure what I want to measure exactly, by now I’m researching about what can be done with a photon and then decide what to do

Thanks both!

@javidr ,

Always good to start by asking what is possible. Since you are in the early phases of your solution design, another way to help you evaluate what is possible would be to consider the following:

  1. Connectivity - The Photon (and all the Particle devices) can support a number of ways to connect to a sensor. It can connect directly to i2c, SPI, Analog, and Serial sensors. It would need an adapter to connect to sensors that use RS-485 or 4-20mA current loops.

  2. Voltage - While some of the pins on the Photon are 5V tolerant, you should look for 3.3V sensors

  3. Libraries - Particularly for devices that use i2c, SPI and serial, you will want to see if there is a library available for your prospective sensor. You can search the Particle libraries here. Note that these libraries will come in varying degrees of maturity. A good proxy for the quality of a library (IMHO) is the number of downloads.

Good luck with your research.



1 Like

Yep, the main area ti wanted to discover is compatibility and if the photon has enough power to work with the sensors needed

I looked at this, Build a cheap air quality sensor using ESPhome, Home Assistant and a particulate matter sensor - and looks like a good approach but don’t know if it would be supported


@javidr ,

Cool article and nice application of a solution that focuses on particulate matter.

The short answer is that you can build a system with the Photon that supports the sensors mentioned in this article. There is a community library for the PMS5003 sensor and support for the DHT-22.

The biggest different between the Photon and the ESP8266 will be in the platform. Particle has developed a robust set of services to support configuring, deploying and managing your device.

Thanks, Chip

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.