jump to navigation

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.

wp-1461247844090.jpeg

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:
add a comment

image

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
I attended the E2Tech Annual Meeting and Forum on “Risky Business: Floods, Fatalities and Fear” this past Thursday morning. In my opinion the title was a bit exaggerated but you get the idea. The panelists came were from engineering, geology,  environmental  and  toxicology  backgrounds. The focus was on evaluating the risks they saw facing the people of Maine and they did not get into the technology of how to resolve them.
Diane Silverman lead the panel and gave us an overview of the components of risk; probability, prescription, toxicity, exposure and other factors to ponder.
Andrew Smith presented risk factors for three threats, lead, arsenic and heat. All are very dangerous but the first two we are making progress on and the threats are being reduced. However Maine is perhaps the least air conditioned state in the nation so a major heat wave could cause many deaths.
Patrick Gwinn presented a over view of where we are coming from, the progress being made and where we are likely to be going in the future. We have made good progress but the number of chemicals now produced is so large that even under the most favorable conditions it would be more than a 100 years before the EPA could get around to evaluating them all. We need to prioritize how we spend our resources on assessing chemical risk.
Robert Gerber gave examples of how he assesses risks of flooding and landsliding. Real vs. perceived risk, deterministic vs. probabilistic modeling. Ocean vs. Riverine flooding. And an interesting example of a flooding risk analysis he did for the Yarmoth Historical Society when they were offered a building for “free” which is on the edge of a flood plain.
Points I am still pondering:
What will Maine do to respond to the risk of heat waves when we have so little air conditioning and when we are likely to need it the most other environmental events are likely to task our electric power grid?
How often will we come up short on being prepared when FEMA only looks at historic data and not the trends?
We were quizzed by electronic polling on our own assessment of various risks before and after the presentations and I can tell my bias is towards things we can do something about which is an acknowledged approach. Lets get busy on what we can fix.
You can find the presentations at: http://www.e2tech.org/event-2069427

There is an app for that, and if not, build it! October 29, 2015

Posted by dvgibson in Uncategorized.
add a comment
Recently a friend mentioned that he would like to have an app to make it easy to log dizzy spells so he could share them with his doctor and then he could tweak his medications. Sure, I’ll bet I can create an app for that. Both my friend and I use Evernote and I remember seeing a post on one the Evernote forums about how to do that with IFTTT.  If This Then That. You say it “ift”.  They say. I have my doubts anyone will understand. So I played around with it for a bit yesterday and it is ridiculously easy to use and they “channel” 100’s of products.   I first tried a recipe that appends text to a note in Evernote, an easy way to track random thoughts, click on it, type your text and click the button.  The date and time are appended. And there is another one that creates a new note in a database.  Then I found another that uses the GPS to append a map of your current location to the note. This one was set up to need only a click and it is done. I could see someone doing field work using this to capture locations they have spotted something of interest. It could be altered to allow you to enter text if you want, but maybe all you want is a button push. And should be able to also grab a photo as well.
It also channels Google Drive so I tried one to record start and stop times and then calculates the elapsed time. Good if you want to track time spent on projects. And an IF recipe that copies sleep information from my Fitbit to a spreadsheet. I am still trying to figure out what some of the columns are but most of the are obvious.
This has a lot of potential for home automation, smart homes.  It can channel smart controllers like Nest and others so you can set up buttons on your phone, saving you having to open apps.
For my friends app I modeled it tracking snacks eaten.  One of them just put an entry into an Evernote doc with date and time with just a touch to the button.  Another one opens an editor and allows you to enter text. Next challenge is is to see if there is a way you can set up a pick list for that.

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?
The lunch time speaker was John Mandyck, Chief Sustainability Officer for UTC worldwide on  “Future of our Food” He has just published book, “Food Foolish” about the huge amount of food we waste every day and then environmental impact of that waste when you look at resources used to overproduce.
One comment he made interested me. He talked about putting refrigeration hubs in women’s shelters in Africa, where they can keep food fresh longer. And also charge their cell phones. I think of Dean Kamen, DEKA and his water purification system that he invented to provide purified drinking water and worked with Coke to create Ekocenters in Africa to provide clean drinking water, WiFi, phone charging and sanitary supplies. Sounds like they would work together.

Shades of EAVE September 15, 2015

Posted by dvgibson in Uncategorized.
2 comments
There was a Mini Maker Faire in Dover, NH recently and I noticed a photo of Darrell Morris, apparently from the Portsmouth Navy Shipyard doing a demonstration of Sea Perch,  a small underwater robot.  Reminded me of the time I spent working on EAVE, an autonomous underwater vehicle being developed and tested at the Marine Systems Engineering Lab at UNH.  EAVE was an AUV, meaning she was on her own once released and Sea Perches are ROV, remotely operated. This program is a STEM project to use building an underwater robot to introduce kids to science and technology. I know that MIT, UNH, PNSY and Bath Iron Works have all participated in this program. I am hoping I can find some connections and perhaps volunteer my time to helping out with this in the Seacoast area.
You can learn more at: http://www.seaperch.org/about
A few shots of EAVE leaving and returning from a mission on Mendum’s Pond, New Hampshire, probably summer 1983.
EAVE 1983002 EAVE 1983003                 EAVE 1983004 EAVE 1983001

Drawing Your Own Circuits. September 10, 2015

Posted by dvgibson in Prototyping.
add a comment
I saw Circuit Scribe mentioned on Facebook yesterday and decided to go look it up this time. The concept sounds really intriguing to me after so many years of hand drawing circuits and then tediously translating them into breadboards or finished products.  I want to see what happens quickly and get back to the drawing board. I have seen verious conductive ink pens being used before but I did not know that Electronicinks has a kit out that you can get on Amazon, or direct from them to get you rolling. This is something I really want to give a try.
What I see as drawbacks is that the circuit diagram needs to be to scale to fit the parts, and corrections might be a problem. They do provide a template so I am guessing you would want to do quick pencil sketches to get the idea going, then a more refined drawing, and then ink it in. But I see there are plenty of videos available to get you going.
I think the most fun would be to do this with some young kids. Maybe my granddaughters would be interested?
Electroninks: Creators of Circuit Scribe Conductive Ink Pens
http://www.electroninks.com/products/