Getting started on measuring air quality. January 5, 2021
Posted by dvgibson in Environment, Micro Controllers.add a comment
September 2020
Back in the summer I came across a Citizens Science project on SciStarter for building a low cost Air Quality Monitor that measures dust, particles in the air. Indoor air quality has been a concern of mine for a while, both my wife and I suffer allergic reactions to dust and dust mites. And we have a cat who now has to be on some rather strong meds for the rest of his life to keep his allergies under control. He has gone through many tests, all negative, except the one that is hard to test for, dust.
And then the fires got going in the west and my daughter is in the Bay Area with her family. I came across the PurpleAir web site that sells at a reasonable cost air quality monitors that connect to the cloud via Wi-Fi and contribute to a national database of air quality readings you can see on their web site.
And I found AirNow.gov, our government’s air quality site that now also shows wild fires along with Air Quality Index (AQI). Can I contribute to that? Not sure, but the first thing is getting a sensor on my own. Measuring our indoor AQI might help us see what we are doing that either hurts or help Loki and his sneezes and I can contribute to to a better map of pollution across the country, like I do for precipitation measurement to CoCoRahs.
(BTW: Cats have very tiny sinus passages that clog up easy making them very susceptible to sinus infections that can make them very ill. Therefore preventing those is a top priority to us, been through it before. )
I attended a webinar on SciStarter with the developer of the CanAir project in Borgata, Columbia. It was well done, and The Zoom was with us, most of the time, considering the distance. They have two versions, and focus is on a portable device that connect to your phone via Bluetooth that then connects to their cloud. The idea seems to be that you can carry with you on your bike (you are riding a bike, right) and log areas of particle pollution as you travel
There is good information on their project page and links to hackster.io for details. One version involves soldering components, the other uses project boards, and there is a list of materials and links to the software and the app for your phone.
More on the search for parts next time.
AWSSI – Accumulated Winter Season Severity Index October 17, 2020
Posted by dvgibson in Uncategorized.add a comment
I watched this awesome presentation this week describing the AWSSI (awe-see) method of categorizing winter weather and taking some of the subjective personal variables out of it. Both the host for CoCoRahs, Henry Regis I believe, and Barb Bousted did an excellent job.
She got her inspiration from a PHD project she did trying to determine if the Long Winter described in Laura Engels Wilder’s book of that name was really that serve. The winter she describes was the one of 1880-81 and began for them on October 15.
So began a project to measure and qualify winters by maximum and minimum temperatures, snowfall and depth. Of course there are other factors, such as wind, total precipitation of all kinds and cloudiness, but are not as widely collected as the parameters chosen are, historically. (I do wish we were doing a better job of that now. – dvg)
When does winter begin? It was decided that winter would begin on the first day that the high temperature was below 32 degrees F, or when there was more than 0.1″ of snow on the ground. Or December 1. It runs for the meteorological winter, December – February unless extended by either cold or additional snow, or snow on the ground. And it is an index that accumulates, so you can check to see how bad this winter has been so far.
Easiest to find the current data by searching on mrcc and awssi to find the page on the Midwestern Regional Climate Center website. There you can find maps for historical winters as well as how this current one is doing, and details on many sites where the data has been compiled.
https://mrcc.illinois.edu/research/awssi/indexAwssi.jsp#info
I liked Barb’s take on snowfall amounts. “It’s like sausage, you don’t want to know what goes in it, but you love the results.”
(Snowfall is tough, there are rules about how to collect it, but the real world never looks like that. And it takes humans to do it, no automated measurements. I do have an idea on how we might develop something but more on that another time.)
You can find this webinar on the CoCoRahs web site:
Description: Presenter: Barb BousteadNOAA/NWS’s Warning Decision Training Division, Norman, OKThis webinar will look at the Accumulated Winter Season Severity Index (AWSSI). AWSSI provides a scientific way to quantify the severity of a winter at any given location compared to its weather history. Using daily temperature, snowfall, and snow depth measurements, the AWSSI assigns a point total to each day of winter. Daily points add up through the winter season, giving a whole-season total at the end of winter. Besides the curiosity factor of having the numbers to support perceptions of whether a winter was severe or mild, AWSSI can be used to compare severity among sites or to compare the severity of one winter to others at a given site. The index can provide insight into wildlife and vegetation patterns, transportation and education impacts, and relationships between winter severity and other weather and climate patterns.
Garden is getting dry. April 21, 2016
Posted by dvgibson in Uncategorized.add a comment
This is turning out to be another spring like last year, very dry when we most expect lots of moisture. Makes me anxious to get back to my soil moisture measuring project.

Today I took Loki’s Grass monitor out to the garden and made a number of measurements. I still need to adjust the range on it but have been very busy on The House at Kittery Point. I find the simple moisture meter from the garden store hard to trust. It depends on currents created by dissimilar metals on the probe and it hard to keep them in contact if the soil is at all loose. It goes from nothing, or negative to something depending on how you wiggle it. On the other hand the conductivity probe seems to be very consistent. I just need to find the range of conductivity that is interesting. Neither 0 or max is interesting. One is air, the other is soaking wet. And get going on an array of these that can be left permanently in place.
Right now I have it as a percentage range, 0 to 100%. The garden is averaging around 81%.
Loki’s Grass March 26, 2016
Posted by dvgibson in Prototyping.Tags: Microcontrolers
add a comment
Last week I started a new project to measure soil moisture. The goal is to have WiFi connected IoT sensors in the West Garden reporting back to us here at the house, and at some point automate the drip irrigation system. For now I will use it to monitor Loki’s cat grass while I work out the kinks.
I have been surprised to find that measuring soil moisture is not a slam dunk. The devices you get at the garden shop do a good job but they use dissimilar metals to create a battery effect and cannot be left in the ground. Other sensors measure the resistance between two probes but again there is current flowing and there is corrosion going one.
This version uses an Arduino with an LCD screen and one of the ADC’s to measure resistance. The sensor is turned on for only 10 ms. each cycle to limit corrosion, and since the soil moisture changes slowly measuring once an hour is plenty.
But now I am running into a problem with the conductivity of the soil. This is a potting mix of peat and vermiculite. I start with it dry, it says 0%, I add a tiny bit of water and it jumps to 82%, soak it and it stays the same. Will do some more testing on that soon to get the range correct.
I did find one error, a resistor I left out in the ADC leg, opps, that would make funny readings for sure. Would not have been good on the Space Shuttle but those days are behind me.
Future versions will use Particle Photons with their easy on board WiFi and connectivity to the Cloud.
Risky Business November 23, 2015
Posted by dvgibson in Uncategorized.add a comment

There is an app for that, and if not, build it! October 29, 2015
Posted by dvgibson in Uncategorized.add a comment
Smart Thermostats and Smoke Detectors October 6, 2015
Posted by dvgibson in Uncategorized.add a comment
I have been using timer controlled thermostats since way back. Just no way I am going to remember to set it back when I go to bed or leave, every time, and then there is the nuisance of having to get up or come into a cold house and wait for the heat to come up. So a flexible timer has been important, with individual programs for workdays and weekends and ways to override for holidays. But still it’s not perfect.
When we moved into the house at Kittery Point the heating plant was aging and we replaced it with one using a rather sophisticated smart (for its day) controller that adjusts the heat provided to the radiators according to the outdoor temperature with an eye on the indoor temperature, just to see how it is doing. It has plenty of flexibility to program for workdays and weekdays and override for holidays. And since the radiators and piping installed ca 1870 is so massive it is slow to respond. Better to plan ahead and give it time to bring up the temperature. So I lost interest in programmable thermostats.
But if I were interested, the Nest thermostat would be the one I would look into. It both learns your pattern and is commandable from your smartphone. If it was not so expensive I would get one just to monitor the indoor temperature when I am away but I am not faulting the price. Its pretty sophisticated new technology so commands a good price. I do have a weather station that posts to the web many indoor parameters as well as outdoor so I am good for that right now.
At the E2Tech Expo I was at last week I heard about MyEnergy which is an effort to teach you about how much energy you can save by monitoring how much you use. They were acquired by Nest which seams logical. Some power companies are offering something like that, even CMP here does, but all that monitors is electrical use. Now that we have smart electric meters, and devices like the Nest thermostat could know how much time your heat is running you could get a better dash board on your personal energy use. Google had an effort like that one, Google PowerMeter, but that is gone. I do have a device from Current Cost that gave me my own smart power metering but they are gone now. And Google now owns Nest who own MyEnergy. I did find it at myenergy.com and signed up. It can read my electric use direct from CMP but so far I do not see a way to input my other energy hog, the oil burner. We use some gas for cooking but small and spread out over the year. Will have to report back on that.
However the Nest smoke detectors do have me excited. I have always believed in smoke detectors in the home. Having once been a volunteer fireman I have seen first hand how they can save lives and how not having is a really bad idea. When they first appeared on the scene they were really nifty pieces of technology. Now they are looking really outdated.
Nest smoke detectors have some nice features, they chat with you first if there might be a problem and let you respond instead of embarrassing you in front of your guests when you go high heat cooking on the stove like I do. And to deal with the low battery issue they can send you a message on your smartphone that the battery needs replacing.
Side Note: Wonder how they get the conventional smoke detectors to start their low battery warning at 3:00 AM? The devices only use a tiny bit of power, so the battery lasts a long time, and a battery’s performance varies by temperature so during the middle of they night, provided you are being good and have a night time set back thermostat, the room temperatures hits a low maybe around 3:00 AM and trips the low batter alert.
I also like the idea of being able to monitor the house from afar. Generally when we travel we have someone who checks on things several times a day but a lot can happen when no one is there and it would be comforting to know that all is well.
I have something like six or seven smoke detectors in our house and have been slowly replacing them as they age. None of them are good for more than 10 years, the detector slowly ages. And now they come with 10 year life time batteries, lifetime being the lifetime of the detector so you replace the whole thing at once. And older ones get dust in them and high humidity messes with them. The Nest detectors use six AA cells, more power than the 9 v batteries that older ones do but I expect that is to run the WiFi link. So I am thinking the next time I need to replace one I will get a Nest.
E2Tech Expo, Portland Maine, 2015 October 2, 2015
Posted by dvgibson in Uncategorized.add a comment
I spent the day at USM yesterday at the E2Tech Expo. It was a day cramb-packed with speakers and exhibits to see so I will just give my top takeaways here.
- Maine is not doing all that bad in the renewable energy sector given our remoteness from the rest of the country, the lack of broadband to much of the state and the current political climate. And we have a lot to offer, not the least of which is the talent we have in this state. Those things we are can fix and are working on.
- One of the biggest problems in renewable is lack of capital. Capital goes to proven technologies. There is capital available but lots more could be used.
- Storage is a big issue. Most renewables are intermittent, when the sun shines or the wind blows, so storage will be key. Progress is being made on that.
- Perhaps the biggest return on investment, and perhaps the easier and quicker to implement is efficiency. When resources are limited and harm to the environment is an issue, wasting less gives leveraged returns.
- Verification will be important and is intriguing to me, a guy who like to measure stuff. How do the investors, the regulators and consumers know that the technology being applied really does provide the benefit promised?
Shades of EAVE September 15, 2015
Posted by dvgibson in Uncategorized.2 comments
Drawing Your Own Circuits. September 10, 2015
Posted by dvgibson in Prototyping.add a comment




