Public Lab Research note


This is an attempt to replicate an activity.

MACA - Open AQ monitor - Second prototype

by nanocastro New Contributor |

Read more: publiclab.org/n/14139


nanocastro was awarded the Basic Barnstar by xose for their work in this research note.


What is MACA?

The MACA Open Air Quality Monitor project (Monitor Abierto de Calidad del Aire in spanish) started a few years ago in Mendoza, Argentina to tackle some problems related to local air pollution monitoring (no public data, high costs of reference instruments, etc, etc) by developing an open, small and low cost air quality monitoring station.You can find more info about the MACA project in our wiki.

What are we doing?

Our first prototype was capable of measuring ozone and it worked ok as a proof of concept. Now we are working at LabFD on the calibration of a second prototype that combines an optical particle detector and metal oxide gas sensors for CO, NO2 and O3 (MICS-e2v). It's a remix and adaptation of previous citizen air quality monitors (AQ Egg, Smartcitizen, Dustduino and Airbeam). It is based on an Arduino Mega 2560.

Second prototype

This second version is still a work in process. We designed and assembled the first version and we are now working on the calibration of the sensors. Below a description of this prototype.

Gas sensors

A general survey and a lot of resources of different gas sensors and sensor boxes for air quality monitoring can be found at Snuffle.We chose metal oxide (MOx) gas sensors due to its really low cost compared to electrochemical sensors and because we can remix with/from previous open source monitors that use this kind of sensors (AQ Egg, Smartzitizen, AirCasting, EveryAware).

The MOx sensors consist of a sensing layer, composed of a metal oxide, generally SnO2, that is heated by a heater structure. When chemicals are absorbed on its surface, its electrical resistance change. Ozone and NO2 are oxidising gases and cause an increase of the sensing resistance. On the contrary, reducing gases (CO, VOC) cause the resistance to decrease.

Metal oxide sensors generally show temperature dependence and cross-sensitivity to other trace gases. They are also sensitive to fluctuations of relative humidity and show baseline drift with time. Using MOx sensors quantitatively requires that a model be developed which not only characterizes the relationship between sensor resistance and gas concentration, but also includes the impacts of these other variables and sensor characteristics.

All the sensors used are MICS and were purchased from SGX Sensortech Limited (fromerly e2v).

List of sensorsimage description

They are all through hole mounting but there seem that are no longer produced by this manufacture, only SMD mounting sensors. The MICS-OZ-47 used in the first prototype is no longer available. All sensors are exposed like in a passive sampler, that is, in a vertical tube with the MICS suspended near open end.image description

image description

More details about MOx sensors can be found at:

  • Fine, George F.; Cavanagh, Leon M.; Afonja, Ayo; Binions, Russell. 2010. "Metal Oxide Semi-Conductor Gas Sensors in Environmental Monitoring." Sensors 10, no. 6: 5469-5502.
    1. Eranna. 2011. "Metal Oxide Nanostructures as Gas Sensing Devices". CRC Press, Boca Raton, FL,316 pp.,ISBN 978-1-4398-6340-4.

Some other references were MICS sensors are used and evaluated

  • Piedrahita, R., Xiang, Y., Masson, N., Ortega, J., Collier, A., Jiang, Y., Li, K., Dick, R. P., Lv, Q., Hannigan, M., and Shang, L. 2014. "The next generation of low-cost personal air quality sensors for quantitative exposure monitoring". Atmos. Meas. Tech., 7, 3325-3336, doi:10.5194/amt-7-3325-2014, 2014.
  • Spinelle et al. 2015, "Field calibration of a cluster of low-cost available sensors for air quality monitoring. Part A: Ozone and nitrogen dioxide". Sensors and Actuators B: Chemical, 215, 249-257.
  • Spinelle et al. 2017. "Field calibration of a cluster of low-cost commercially available sensors for air quality monitoring. Part B: NO, CO and CO2". Sensors and Actuators B: Chemical, 238, Pages 706-715, ISSN 0925-4005,
  • Air Quality Sensor Performance Evaluation Center (AQ-SPEC) by California's SC-AQMD

Particles sensor

We are using the Shinyei PPD42NS, the same sensor used in the Dustduino. The are other really interesting laser based particles sensors and open source monitors like MyPart but we chose it because is the most documented and easier to get PM optical sensor. The are a lot of comments and Research Notes about this sensor.

Some of the known issues about the Shinyei:

  • From LPO to concentration [pcs/0.01cf]. This has been done by fitting a cubic polynomial curve to the digitized Spec Sheet characteristic curve of Cigarrette smoke vs LPO.
  • In order to read both outputs of the sensor simultaneously (P1 and P2) interruption routines are needed.
  • Conversion to mass concentration (ug/m3) is done by making assumptions about PM10 and PM2.5 shape, size, and density.
  • There is an intrinsic limitation to the use of optical techniques as proxies for gravimetric measurements. When a difference in measured values is observed, one cannot be certain whether it is attributable to a difference in the total mass, size distribution, or optical properties -- or some combination of all three -- of the measured aerosols (Holstius et al., 2014)
  • The window in the front of the sensor must be closed!
  • Response improvement of the sensor can be achieved by connecting a fan and by incrementing the integration time of the reading.

We designed a shield and a fan duct that can be 3D printed and attached to the front of the Shinyei in order to close the front window of the sensor and to increase response by increasing the airflow across the sensor.

image descriptionimage description

Temperature and relative humidity

We are using the widely known and documented DHT22.

Communications and data logging

A bluetooth shield is mounted on the Arduino to retrieve data from the sensors and to log data on an SD card image description

Documentation

The ongoing documentation about hardware and firmware can be consulted on Github.

Ongoing work

  • We are working on the calibration after a monitoring campaing of almost 1 month of 2 prototypes along with reference instruments. You can find the ongoing process and the raw data on the Github repo.
  • Check the wiki for updates and more info

All comments and suggestions are welcomed.

Thanks for reading.


I did this Help out by offering feedback!


People who did this (0)

None yet. Be the first to post one!



This is marked this as an activity for others to try.
Try it now   Click here to add some more details.


arduino air-quality monitoring dustduino dust pm particles gas-sensor shinyei ozone south-america particulate-matter metal-oxide latinamerica carbon-monoxide nitrogen-dioxide argentina maca

barnstar:basic activity:shinyei activity:dustduino activity:particulate-monitoring replication:9818 activity:dust activity:ozone activity:maca


18 Comments

Hi @nanocastro, thanks for cross-posting from your excellent wiki! Some open data friends mentioned this government open data portal for Buenos Aires -- have you worked with their air quality data before? https://data.buenosaires.gob.ar/datasets?categories.slug=ambiente CC @nshapiro

Is this a question? Click here to post it to the Questions page.


Hi @liz. De nada, I think this data portal is quite new. Two years ago I contacted with the person in charge of the BsAs monitoring stations to calibrate my sensor and at least she was pretty jealous about validating the data. I don't know if anyone is using this data but I can ask around. Saludos .


thanks @nanocastro! if you have any questions for the PL community for the next steps please let us know :)


Awesome!! Soon we'll update the Leptos station, a spanish cousin of your beautifull MACA ;) Would be great to meet digitally to exchange impressions. Documentation here is outdated. We're working with the Multichannel gas Sensor by Seeedstudio in the place of the MQ2

https://publiclab.org/notes/imvec/10-20-2016/leptos-gas-detection-and-monitoring-station

Reading your documentation right now ;D


@xose awards a barnstar to nanocastro for their awesome contribution!


Hi @xose. Muchas gracias.The multichannel looks good and it has more or less the same sensors (except for NH3). The documentations is still incomplete, I will try to update some of it by next week. Yes we should meet you can write me to ferhcastro on gmail. Saludos .


Hi, @nanocastro -- we've been adding a lot of nice features to wiki pages to make them good project landing pages, with a Q&A, activities listing, etc -- any interest in porting some of the info from this page over to a MACA wiki page?

Example: https://publiclab.org/lego

This is also the first step in our Community Kits program if you have any interest in our hosting your kit or helping to distribute it! https://publiclab.org/wiki/kits#Community+Kits

Is this a question? Click here to post it to the Questions page.


This is such a great post about the #shinyei sensor and its limitations and how best to work with it. We'd love to feature your work with the shinyei in particular -- would you be willing to break out that section as its own post?

See some related info on different sensors here -- i imagine your work compiling helpful notes on the Shinyei apply to many of them too! https://publiclab.org/q/15751

Is this a question? Click here to post it to the Questions page.


HI @warren sure I can post the notes on the #shinyei in a different post, maybe as an answer of your question https://publiclab.org/q/15751... We have just started to work with two different sensors for PM. The SDS011 and the Plantower 7003. I can put some info on both of them too. Saludos


That'd be amazing. Thanks so much!


Hi - would it be possible to adapt your MACA system to work in conditions whereby: there is no WiFi - we'd like to data log the data into a memory stick for periods of say 48-110 hours in one go. Any ideas to meet this challenge would be appreciated. JamesWarren


Hi @JamesWarren We have changed the wifi communication for bluetooth and its is possible to save the data into the an SD card. You can find some pictures of the last version [here] ( http://monitorabierto.wikidot.com/desarrollo:prototipo2). I will update the documentation and the info of MACA soon


Thanks @nanocastro - I would be very happy to see your documentation in Spanish or English, we'd very much like to trial the system where there is no WiFi, so Bluetooth to the SD would be excellent way forward for us; just need to think about a long term power supply, or consider a small PV cell with dual battery system with a switch between the two systems.


Hi @nanocastro -- i copied some of this onto a page for the project where questions and activity guides can be hosted: https://publiclab.org/maca -- how does that look?

Is this a question? Click here to post it to the Questions page.


Hi @warren It looks great! Muchas gracias. Having the project on a PL wiki was on my to-do list but I'm kind of delayed with some other stuff. I need to write about our many drawbacks and small advances with the monitor. Hopefully I will be able to update at least part of the project by the end of april. Thanks again Saludos


Hi @nanocastro. I am working on a similar air quality monitoring project at the University of Bath in the UK. If allowed, please can you send me a copy of the files for the 3D fan duct? I was going to make one by hand, but we have access to a 3D printer so this would be really useful.

Is this a question? Click here to post it to the Questions page.


Hi @the_butler I've used Fusion360 for the design. Here you can find the .stl files and also the fusion source file. https://drive.google.com/open?id=1LYyxBor53MRIyyrNve7UMnrHbdLpTVMi This design was made for the fan to be attached to a wall of the enclosure. One thing you should do is to seal the gaps between the shinyei and the pcb. Let me know if I can help you with something else. Saludos

Is this a question? Click here to post it to the Questions page.


Thank you very much @nanocastro, I'll let you know how I get on. By any chance, have you done any air quality monitoring work with Raspberry Pis, or just Arduinos?

Is this a question? Click here to post it to the Questions page.


You must be logged in to comment.