DMS Air Monitor Group Project

Would anyone like to participate in building and deploying raspberry pi based air monitoring sensors throughout DMS? The board approved funding to build 3 devices for $300. Setting up the sensors is only half the project, then we need to do interesting things with the data being collected.

I built a prototype that is currently running in woodshop, my proposed parts list includes temp/humidity and particulate matter sensors:

sds 021 laser PM sensor: 35.00
raspberry pi 3: 35.00
dht22 temp: 10.99
pi power supply: 8.95
pi case: 6.95
8gb sd card: ~5.00
For a total of ~$102 per device

Anyone want to meet and discuss the project before I order all the parts listed above?

3 Likes

I am interested in participating and will be at any meeting you set up.

Brandon without doing much project creep but is having a Db (Sound) meter possible?

I have always wondered if it reaches dangerous levels in the woodshop.

I am also down to meetup.

How about Thursday August 4th 10pm for a planning meeting?

Looks like it would only be about $5 to get a usb sound card for the pi. https://www.adafruit.com/product/1475

1 Like

I would like to also volunteer to help. How about adding CO as well? It could detect malfunctioning heating systems, assuming the space is using gas, as well as keeping track of how long people run their autos inside with the doors shut.

We have a stand alone CO detector / alarms, at least one in the auto area, we should probably buy some more.

I’m interested! I’ve done things with Linux, the Pi, and Python in the past if that’s of any help. I haven’t done much with sensors and logging though, that’s the stuff I’m most interested in learning about.

Got all the parts in, scheduled first meeting for Thursday August 4th @ 10pm

An interesting discussion will be complaints about the microphone running even though it is only going to sample a few seconds, analyze magnitude to get rough decibel level, then delete the audio data every few minutes

2 Likes

There are various sources, or potential sources, of carbon monoxide in the 'Space. Many of our tools (for instance, the laser cutter) are likely to produce at least some when operated in particular ways.

Yep, including the heat. Nothing like cracked gas heat exchangers.

we could build a db meter that interfaces to the pi rather than using a mic and sound card if that is more acceptable. Shouldn’t be too hard.

Did you guys still plan to meet tonight?

Sorry got caught up with other projects tonight, we are planning on meeting this sunday @ 3:30 to start assembling and setting up the Pis

It would be very useful indeed, if the air quality and dB metering could be tied to some form of visible warning (large lights, LED, something) that could warn people (especially in the woodshop) to put on dust masks and hearing protectors.

There are a couple types of db sensors out there. The key factors to consider are volume, duration, and frequency. Our ears are tuned to 2-4k (human speech articulation), so these frequencies are most damaging. This is what a dBA rating will tell you (vs dBC).

Basic rule, anything over 80dBA sustained can cause damage over time. The higher the volume, the lower the time. Simple :slight_smile: Concussive volumes can cause immediate damage that may not show up immediately.

OSHA stuff here: https://www.osha.gov/pls/oshaweb/owadisp.show_document?p_table=STANDARDS&p_id=9735

1 Like

We got the 3 sensors assembled and mounted around DMS, the software isn’t done yet, but I can deploy that remotely.

3d printed a mount that snaps into the back of the cases we ordered



3 Likes

Any ideas on how to get a rough calibration of decibels?

Continuously sounding an air horn of a known volume would probably annoy other members during testing, was thinking just play some continuous sound and use highly scientific phone db app and compare data captured by the usb mic. Current plan is to just average the 44.1khz 16bit mono data for so many seconds and log that number (scaled by something to get a very approximate db).

2 Likes

Got the new code updated and deployed, checked into the v2 branch

One big change is that instead of taking a single sample every 4 minutes, it will take readings from both the microphone and dust sensor over 3 minutes, then uploads the average from that timespan. This will miss high frequency signals, but this is more concerned with large trends throughout the day anyway than very small spikes.

One of the Pis froze during setup so it will have to be power cycled, also I neglected to record any identifying information on the Pis during setup, so I don’t know which one is which, will have to go around unplugging them to see which then still respond to pings. Here are the two new ones that are running:

https://m2x.att.com/catalog/7a8c0ddb57d5afee446c8ec052427ab6
https://m2x.att.com/catalog/0349cdda9597ff4a8f1d5773c0d1859b

Would anyone be interested in creating an html dashboard or page that pulls the data from m2x to create a user friendly display / summary, the m2x service can generate relatively simple graphs, but does annoying things like giving each stream its own axis instead of plotting values with the same units on a combined axis.

Wow, I think the mic might actually be working, I think this is from the fume extractor or angle grinders in metalshop.

Here is a static graph of data from that range, the red line is the data from the microphone. The blue line is the 10 micron reading. So you can see the red line plateau (some power tool operating steadily) and the particulate in the air climb up to a peak, then when the sound stops, the particular matter drops back down.

6 Likes