Happy Farming . com
How to Grow Your Own Food
-
Oct 27 2008
Update 2011-09-05: I have created a new blog about electronics only – check it out here: Electronic measurements, NSLU2 and soil moisture sensor

This is my new homemade soil temperature sensor with a DS18S20 IC. The sensor is in the top of the picture. The left cable is coming from the NSLU2 computer and the right cable continues up to the air temperature sensor, which is also a DS18S20 IC. So now there are two IC’s on my 1-wire network using Cat5e Ethernet cable. The black tube on the left cable is just a collection of unused wires coming from the computer. These are required for other IC’s which will be added to the network later. The DS18S20 is glued onto a 20 x 20 cm (8 x 8 inch) aluminium plate to get good thermal contact to the soil.
-
Oct 16 2008

I got my small NSLU2 computer up and running and it’s generating graphs from the garden. At the moment only the air temperature near the house is logged. The spikes in the graphs I believe is due to direct sunlight hitting the temperature sensor. I will build a shield over the sensor to prevent this. The sensor needs to be moved away from the house to get a more accurate reading.
The NSLU2 is running Debian on a 4 GB USB flash memory. I’m using a 1-wire system for the sensors together with the owfs software. rrdtool is used for generating graphs.
Here’s a script for generating the rrdtool database:
make_temps.shand a script for generating graphs:
update_temp.shAre you building your own temperature logging system? Using the NSLU2 computer, or owfs? Please leave a comment and tell a little about what your are working on.
If you enjoyed this post, make sure you subscribe to my RSS feed!
Related posts:
4 Responses to “Garden Air Temperature”
-
Very impressive work! I am the author of owfs — can I feature your work on our website as an example application?
-
Thomas said on October 17th, 2008 at 12:35 pm
@Paul: Sure, that would be great, thanks! I must say that owfs is easy to use once you know what to do. I’m looking forward to adding more 1-wire devices. I’m adding a soil temperature sensor, a moisture sensor and a rain collector to the system. I need to know when to plant them potatoes
-
Tuomas said on September 13th, 2009 at 11:32 am
Hi!
I have some difficulties to installa OWFS to my NSLU2 running debian lenny. Apt-get won’t find owfs and I’m not familiar to update packets list. Any ideas how to install OWFS?
-
@Tuomas: I think you have to download the source and compile it: http://sourceforge.net/projects/owfs/
Leave a Reply
-
Subscribe in RSS reader
Subscribe to email newsletter
About
-
Are you ready to grow your own food? Take a tour through my archives and learn how I did it!

Recent Articles
- Six Reasons to Harvest Rainwater
- Are Your Tomato Plant Leaves Showing These Symptoms?
- Natural Bean Plant Trellis for Runner Beans
- Aquaponic Tomato Plants
- Aquaponics Tanks
- Raised Bed Designs
- Potato Containers and a Simple Potato Salad
- Aquaponics Plant Germination and Algae Eating Fish
- Guy Clark – Homegrown Tomatoes
- Bamboo Sticks for Tomato Plants