Best DIY cheap soil moisture sensor
15.1 years ago cheap, electronics, moisture sensor, water
My first version of my cheap soil moisture sensor has worked great for me but it did have a couple flaws. The first issue was construction, though I had great luck on my first attempt though after trying to recreate additional sensors given the small amount of gypsum between the sensor and the probes were so thin it was extremely easy to crack the sensor and I normally have about a 25% success rate on later creations (must have had beginners luck on the first one.
The second issue was durability. Given we are playing with gypsum and as it is suspended in water it will eventually breakdown and there is very little we can do about it. Though with my latest changes to my automated grow box which includes automated watering based on moisture content I want to ensure my measurements stay accurate throughout the season. To help with this I have decided to increase the sensors size and also am using galvanized nails to prevent rusting. After a few attempts I have come up what I feel is a pretty foolproof method of creating a moisture sensor.
How it works:
There were many questions in the comments in the previous post so hopefully I can clear this up a little here.
Technically a gypsum block measures soil water tension. When the gypsum block is dry it is not possible for electricity to pass between the probes, essentially making the probe an insulator with infinite resistance.
As water is added to the problem more electrons can pass between the probes effectively reducing the amount of resistance between the problem to the point when it is fully saturated where the probe has virtually zero resistance. By using this range of values you can determine the amount of water than exists in your soil.
Parts for cheap soil moisture sensor:
- Plaster of Paris
- 2 Galvanized Finish Nails
- 1/2 inch plastic tubing
- utility knife
Construction:
Take your utility knife and cut the tubing slightly longer than your galvanized finishing nails. Try to make the cut as straight as possible though it doesn’t have to be completely perfect.
Use your utility knife to cut the smaller plastic tube lengthwise, this will allow easier removal of your soil sensor after the mold cures.
Optional: Make the cut diagonally to prevent a potential vertical fracture line.
If you were very careful on you vertical cuts you can avoid this step, but to completely avoid spilling plaster onto my workbench I drilled four holes slightly larger than your tubing. I used these holes for support but also to catch any of the plaster in the gaps from you less than accurate vertical cuts.
Being careful that the tubing fits together where you split the tubing vertically, insert the tubes into the holes (or carefully on a flat surface) Mix Plaster of Paris and carefully fill with to the top. The friction between the tubing should keep a water tight seal where you made the cut, though if the plaster is a little thin and it appears to be leaking through wait a couple minute for the plaster to setup some and try again, at that time it should not have the viscosity to seep through the very small gap that may be causing the leak.
Take your two galvanized nails and push them through a small piece of wax paper. You may also allow the plaster to setup for a few minutes and then float the nails in the the plaster. I like the first method since gravity will help ensure they fall straight down and parallel to each other. As for spacing, I have done some experimentation with the gaps between the probes and my conclusion was, it doesn’t make much difference. As long as there is a gap (they are not touching) you should get reliable results.
After allowing the sensor to cure for about and hour remove it from the holes you drilled in the wood.
Gently pull back the plastic tubing and you have a nice clean soil sensor.
Lay them out to dry for 24 hours to cure completely and their construction is complete.
For attaching the wires there are a couple options. The best would be to solder them to the probes though to do this you need to heat up the nail hot enough to enable a strong solder connection. My little 15W soldering iron just can’t produce the heat for this so I am option for the wire wrap method. I take about an inch of wire and strip off about an inch of insulation and tightly wrap around the probe. Given copper will rust and could be a point of failure you will want to insulate this connection and the probes from the moisture. A few dabs of hot glue works pretty well. I am planning on trying liquid plastic, though I am currently out and when I have some on hand I will update with how it went.
How to use your cheap soil moisture sensor
You can simply hook up a multi-meter and check the resistance though if you want to create anything automated you would need to use an integrated circuit (IC) or a electronics prototyping platform such as Arduino. By applying voltage to one side of the sensor and using a voltage splitting circuit connected to ground and an analog input you can then measure the voltage making it through the probe. The higher the voltage, the higher the moisture content of the soil.
Conclusion
The above should give you everything you need to know to create your own cheap soil moisture sensor and how to use it. This can be used as a moisture soil sensor for watering your indoor plants like I am using it. This same moisture sensor could be for monitoring your outside soil moisture content to trigger (or preempt your irrigation system) to save some money on your water bill and/or maintain consistent moisture levels in your plants which could drastically improve water sensitive crops such as tomatoes.
Tags: arduino, cheap, growbox, led, outdoor plants, tomato plants, vegetables
How to prevent weeds in your garden
15.1 years ago organic, weed prevention, weeds
I doubt there is anyone who enjoys pulling weeds, though now at the end of the season is a great time to do some preventive measures to prevent new growth next season.
Kill your weeds early: The sooner you pull your weeds the easier it is to keep up with them. In addition, if you pick the weeds before the mature and flower and drop seeds you will save a ton of time pulling weeds for every one of those seeds that drop. Call me old fashioned but I normally skip the whole herbicide method and just pull the weeds by hand. Not only does your lawn or garden immediately look better, there is no coming back to see if the weeds need another dose of spray and the whole environmental part of keeping some chemicals out of our water system.
Mulch: This is one I didn’t completely understand until I had been gardening for a while. I for one never have found “beauty bark” beautiful and have always preferred the more natural look and benefits of fertile soil. But that is entirely why you want to use a mulch such as ground bark, straw, pine needles, leaves, newspaper, rubber bark, or even some old carpet. This helps prevent weeds in twp ways. First, it blocks light from the potential little weed seedlings to make their way to the surface. Second, they are not fertile mediums to grow seeds, which is exactly what you are looking for for your large flower beds which like to create good crops of weeds. As a final benefit they help insulate and hold water down for the plants you want to thrive having great growth and eventually shading out those “poor” weed seedlings. just 3-4 inches during the fall and your back should be bending over much less next spring.
If you are thinking, “What about my vegetable garden? I want seeds to be able to grow in there next year.” For your vegetable garden I highly recommend chopped leaves and a vegetable garden mulch. If you happen to have a leaf blower/vacuum that will chop them up all you need to do is empty those bags in a thin 1-2 inch layer across your garden. I used to have one of these though accidentally sucked up a rock which didn’t “chop” well and broke it so the alternate method I use is the following. Bag your leaves throughout the fall and once the leaves stop falling dump them out in a long row in your yard. Then use you lawnmower with bagger attachment and run them over until they are all chopped up. You can also do this more frequently during the fall but I find this a good time to use all the gas in the lawnmower before the end of winter feeling more like I am doing something more meaning other than just letting the mower sit there until it burns off the remaining fuel. With these leaves on the surface you smother any weed seeds and also block out all light to the soil. When spring time comes you simply work in the decomposed leaves into the soil and your garden has a head start with some good organic matter.
Pre-emergent weed control: For some parts of your yard like your lawn mulching is not really an options so to protect against pesky weeds like one of my personally loathing weed, annual bluegrass. Which grows and seeds so close to the ground it is nearly impossible to pull the plants to prevent the spreading. Pre-emergent herbicides is the solution to this problem. Pre-emergent herbicides work by preventing weed seeds from germination by inhibiting cell division in their tiny root system. Given these plants are annuals a successful application can rid you yard of these weeds until they eventually blower over from a neighbors. Pre-emergent herbicides can be purchased as a chemical or the organic method is applying glutton corn meal which normally can be purchased from your local feed store. One thing to remember is that this also will prevent you normal grass seed from germinating as well so be sure to time your application after with with enough lead time to allow the pre-emergent from wearing off.
Grow a cover crop: Growing a cover crop has two major benefits to your garden. Various legumes, grasses, and buckwheat make good options for for cover crops to plants while you garden is empty. First it creates a natural shade from the sun making it hard (or impossible) for seedlings are the surface to survive under their great shadows. Second it provides organic mater as “green manure” to add nutrients to your soil. One recommendation is to make sure you do a little research on the plant you choose as a cover crop, if you accidentally wait too long to “harvest” your cover crop it could go to seed and you may have an entirely new weed problem on your hands.
Cook the soil: When all else fails apply some black plastic (thicker the better) covering to your planting beds and let them “cook” throughout the fall/winter. Like mulch this will prevent any light and most water from entering the areas covered. This will essentially cook the soil killing any weeds, seeds, fungi, or anything else living in that area. Though this is very effective in eliminating weeds and disease from your soil it also kills everything else including good bacteria that your friendly worms like to visit your garden, so you soil may take sometime to recover and return to becoming living soil. I would recommend this method as a last result when the previous methods have proven to be completely unsuccessful.
Just for some positive outlook, you can also think of weeds as green manure assuming you are adding these to your compost, so even out of control they still can decompose and help your garden…
Tags: compost, garden seeds, organic vegetables, outdoor plants, vegetables, worms
How to save pumpkin seeds
15.1 years ago harvest, pumpkin, seed saving, seeds
The kids and I carved several pumpkins this year but we waited carve the three pumpkins we grew in our backyard until Halloween since these were the seeds I wanted to save for planting next year. First, I know exactly how these pumpkins were grow, organically and free of any pesticides. Second, I was able to let these pumpkins grow undisturbed until the day I picked the seeds, so the seeds should definitely be mature.
The process is very simple, while getting the “goo” as my 5-year-old would say out of the pumpkin set the seeds aside and add to a colander. Give them a good rinse and remove any orange “goo” that may have snuck in. Pat dry with a towel and let the seeds dry on wax or parchment paper for a couple days. Once they are dry to touch put them layered on a paper sack and let them dry for a few weeks until putting them in homemade seed packets until the are ready for next year.
If you have way too many seeds than you need (I know I do) you can also use the great recipe to roast some of you extra seeds as a snack:
CVG’s Roasted Pumpkin Seeds
- Extra pumpkin seeds
- 1/2 tsp oil
- 1/2 tsp of Worchester sauce
- 1/4 tsp of seasoning salt
Directions: Add ingredients to bowl and mix well. Lay on a single layer on a cookie sheet and bake at 325 for about 25 minutes being sure to flip the seeds after about 10 minutes. Eat as soon as you can without burning your mouth.
Tags: cheap, garden seeds, organic vegetables, outdoor plants, vegetables
How to save corn seeds (Kernels)
15.1 years ago corn, harvest, seed saving, seeds
Corn is one of those crops I really don’t have space to grow but still like to try every year. This past year I only had one ear that made it to maturity, in the plants defense we have a very hot summer and I didn’t have the most consistent watering schedule so I am to blame for most of their demise. Given I used the last of my corn seed this year and wanting to make the best out a bad situation, I decided to use this ear for seeds for next year.
I decided to go the natural route and simply let the corn stay on the stalk until I was ready to pull up my corn stalks my wife got tired of looking at our dead corn stalks in the backyard which turned out to be yesterday (October 31st) As you can see from the picture above the corn kernels have dried out pretty well, though still contain a little moisture.
To remove the kernels I started by braking the cob in half and then starting where I split the cob pushing the loose kernels off with my thumb starting from one end to the other. Once I have this first row off it should be pretty easy to attack these kernels at any angle.
Lastly I layered the kernels in a single row in an open ended brown lunch bag to allow air flow to allow the remaining moisture to be removed. I put the bag on top of our cabinets in the kitchen and will add them to a homemade paper seed packet after a few weeks or drying (or when I remember they are up there more like a few months late) then store in the refrigerator until time for planting next year.
Now I have more seeds than I probably will ever need for a few years and hopefully will have better luck (or at least remember to water them better) next year.
Tags: cheap, garden seeds, outdoor plants, vegetables
Fuji Heavy Industries autonomous farming robot
15.1 years ago garden maintenance, robot
We have seen MIT students making robots to tend on their plants. Now Fuji Heavy Industries has created a robot that can completely take care of your fruits and vegetables in your fields (or greenhouse) for a modest fee of only $100,000. You can pick up your own by the next fiscal year.
It uses lasers with reflective panels to orient itself and is 6.5 feet long, unfortunately there are not too many additional geeky details which probably would be helpful before putting down the $100K for this bad boy.
Given this is the cheap vegetable gardener, I will be sticking with my hands and trowel next fiscal year though can’t wait to see a video if this in action.
Tags: cheap, outdoor plants, vegetables
Twittering computer grow box
15.1 years ago indoor growbox, twitter
Well this is pretty much clichéd nerdiness but given it only required a couple of lines of C# I couldn’t resist. I have updated my grow box software to “tweet” some sort of semi-humorous and not really witty comment appropriate to its current state and share its current temperature and moisture content every 2.5 hours.
For those who want to do something similar, this is how I did it. I one of the many twitter C# libraries and for no specific reason I chose tweetsharp and after adding a reference to their DLL and just the few lines of code (below) you can be programmatically making updates via twitter.
private void UpdateStatus(string message)
{
IFluentTwitter twitter = FluentTwitter.CreateRequest();
twitter.AuthenticateAs("user_name", "password");
twitter.Statuses().Update(message);
twitter.AsUrl();
string response = twitter.Request();
}
If you want to see it in action go to http://twitter.com/computergrowbox.
Right now I only have a handful of not so witty comments, so if you have some good zingers add them to the comments and if I like them I will add them to the list.
UPDATE: Grow box shares its own pictures
I get busy these days and sometimes can’t make it out to keep a close eye on my plants in the grow box. Given I have everything automated the box basically takes care of them, though I thought it would be nice if I could see how they are doing so added photo sharing to the grow box’s twittering software.
I already have the software taking pictures every so often so all I really needed to do what send out the most recent file to twitter. After a little looking I found that tweetsharp already supported this so yet again this was just a few lines of code to implement.
First I needed the logic to determine the last photo I have taken, fortunately I was carefully about my naming using a timestamp based name similar to “Photo_2008_10_01_090130.jpg”, so alphabetical sorting would work just fine. I removed the error handling to keep things brief but here is the code to complete this logic:
string[] files = Directory.GetFiles(photoDirectory, "*.jpg"); Array.Sort<string>(files); string fileToUpload = files[files.Length - 1];
Now you have your photo to upload just signup for one of the photo TwitPic using your twitter account and run the following code using your credentials.
IFluentTwitter twitter = FluentTwitter.CreateRequest(); twitter.AuthenticateAs("user_name", "password"); twitter.Photos().PostPhoto(fileToUpload, SendPhotoServiceProvider.TwitPic); twitter.Statuses().Update("My Picture").AsJson().Request();
Hopefully this, you too can make you own grow box (or other inanimate object) share its feelings on twitter.
Tags: growbox, outdoor plants