Close
0%
0%

What can we learn from the temperature underground

The ground changes temperature differently that the air. But does the ground influence the air? Can we measure that?

Similar projects worth following
I am fascinated by weather and temperature like every good hacker. I recently became curious how much the temperature underground affects the air. When the ground is slowly heated over a period of a few months, does that cause extreme highs, because the ground is basically baking the air for us overnight? Can I measure this? Can I graph it? Can I learn anything? Is this another project that requires a year of data collection?

Well the basic question is this:  Does the temperature of the ground impact the temperature of the air, and if so, how, and is it noticable?  We have all heard of the "heat island" effect, but does that apply to the normal dirt that is everywhere on earth?  Is a record high created by a process over a few weeks of ever-increasing ground temperatures, so that finally the overnight cooling just doesn't happen?  I don't know, but I suspect it will take a year to find out.

  • 1 × Wemos D1 ESP8266
  • 6 × Waterproof DS18B20 Temperature Sensor
  • 1 × IP67 Project Box

  • Step 1: Dig a hole

    Tim Rightnour12/10/2020 at 19:40 0 comments

    Well, actually step 1 is to solder a bunch of DS18B20's in star configuration to a WemosD1 Mini.  One thing worth noting, I used the 5v output instead of the 3.3v output, because I wanted the extra power for these.  As Hackaday articles in the past have shown, this works just fine.

    Sensors were set every 6 inches, so I could measure the difference as it goes deeper.

    So it was soldered up, and placed in a box.  Easy.

    The hard part, is digging a 36" hole in Arizona.  I used a combination of lots of water, a drill with mini-auger, and a chunk of rebar and a hammer to ream out a 1" hole 36" into the earth.

    2 Days later, and the hole was dug, sensor inserted, and backfilled with mud to pack it in, and now I have a ground sensor buried in the ground.  Code was a simple ESPHome device wired to Homeassistant.

    Kind of.  First problem was that the ESP was very slightly below ground level, which reduced it's wifi range to basically nothing.  I ended up fixing this by throwing another AP on the floor in the corner of the house closest to the sensor.  It's just *barely* in range now, at least good enough to get readings continuously.

    It's also worth noting, this is my second attempt at doing this.  Years ago I took 6 sensors, wired them, buried them, and then hooked them up to my LinkUSB 1-wire dongle.  I got data for 2 whole days before something shorted out.  With the sensors now buried, it was impossible to debug, and I gave up for a long time.  The new DS18B20 sensors that come in nice little waterproof packages finally tempted me again to try this.  It seems to work finally.

    So what is it I'm attempting to do here exactly anyhow?

    Well the basic question is this:  Does the temperature of the ground impact the temperature of the air, and if so, how, and is it noticable?  We have all heard of the "heat island" effect, but does that apply to the normal dirt that is everywhere on earth?  Is a record high created by a process over a few weeks of ever-increasing ground temperatures, so that finally the overnight cooling just doesn't happen?  I don't know, but I suspect it will take a year to find out.

    In the meantime, here is super pretty graph data from a few weeks of running the sensor.

    Notice the *atrocious* wifi reception.  Just barely good enough!

View project log

Enjoy this project?

Share

Discussions

Tim Rightnour wrote 12/13/2020 at 13:46 point

You're right, I'm not measuring nearly enough.  For example, my depth only goes to about 1m, I don't realistically have a way of digging deeper than that.  I do have wind data, rain data, but am missing sky data right now. The graphs in grafana are a bit too unreadable if I throw all the other variables I measure into them, so alot of this will be gathering long periods of data, and then going back to the graphs and looking at them vs different factors, like humidity, etc etc.

One thing about doing this in Phoenix, and with the rather dense structure of the ground, is that there is virtually no water penetration at depth, so between 3" and 36" it's pretty much bone dry 365 days a year.  IMHO this makes my set of variables a bit simpler, as the material's properties aren't changing day to day.

I think my short answer to the above is, I'm aware of most of what you said, but alot of this experiment is more along the lines of visualizing it myself, in an environment I understand.  I've read papers and seen graphs of data, but it's always in a climate that is far different than mine, with soil and rain conditions that are far outside my daily norms.  The idea of even having "soil" is insane to me.  :)

I don't expect to make a scientific breakthrough here.  More that I want to slightly understand the mechanism better in my own back yard.  I think what I'm really curious about here is kind of similar to the concrete heat island effect.  I live more or less on the outskirts of the city, so the quantity of concrete in my area is far lower, so I believe my air temperature is more influenced by ground than concrete.  I'm wondering if I can predict "record high" type days, by looking at how the ground temp is moving.  IE, where is the point where the overnight cooling simply cannot happen because the ground is buffering it up.  Can I identify that?

I'd be glad of any references you have though.  Part of this is gather what data I can for awhile, stare at it, and figure out what I'm missing, then figure out how to grab that data.  The problem with weather projects is that your first data cycle takes a whole year.  :)

  Are you sure? yes | no

Simon Merrett wrote 12/12/2020 at 17:02 point

I'm not sure what you are doing. I genuinely mean no offence by my ignorance but I would like to try and understand better. This is what I understand of soil temperature. The ground temperature at depth (say 20m) tends to the annual mean dry air temperature. The surface temperature tracks the daily fluctuations, including effects of insolation and evaporative cooling. As you go deeper the seasonal temperature oscillation begins to dominate the diurnal cycling, with a time lag that is proportional (iirc) to the depth. So, for example, at 3 metres depth in summer the soil might be at the coolest temperature it ever reaches each year. The amplitude of temperature swing diminishes and eventually you are at the mean annual air temperature. 

I also understand that heat will flow from hotter to cooler substance, where it has a mechanism to do so. So if the air temperature drops below the surface soil temperature, then yes, it will be heated by the soil. This is a basic fact so I'm sure you are trying to test something more nuanced. But there are several other heat transfer mechanisms to consider which will impact the mechanism you are focusing on. To illustrate, if you have clear skies at night, the soil will radiate significant heat into space (the radiant temperature of sky is very low) and drop in temperature. This can easily drive the soil temperature down and undoubtedly affects the direction and degree of heat transfer between soil and air. Another example is whether the air is still or moving (wind) and what speed it is at the surface, where it came from (and the temperature /humidity there) and what expedients to turbulence or natural convection (like buildings, ridge lines) there are. 

There are many factors to consider. I don't know what you know about the topic already but it seems from my reading of the tests as currently written up that you are not measuring enough variables to be able evaluate the contribution of heat transfer from soil to air in the scenarios you are interested in. Would be glad to hear your thoughts, especially in the case that I have misunderstood this project! Will try and be helpful if I can, from my admittedly old information on the topic. I probably have some references to useful papers for this kind of investigation. Good luck! 

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates