Lifecraft
John McDouall Stuart
A few months ago I prototyped a system to monitor the garden, and the environment, and to automate things such as irrigation.
I didn't post it on these forums because it's not really bushcraft related, however it is homesteading related. That's why I figure it's worth posting in this section.
It monitors soil moisture levels, light levels, temperature and humidity levels, as well as water flow rate.
That data can then be viewed online via the web (if it's plugged into the internet), or via WiFi if you're nearby (such as a phone, tablet or PC).
Here's a photo of the working prototype, running from a battery:

The circuit/bread board has an arduino and a bunch of environmental sensors connected to it.
The blue box (on the right) is a Raspberry Pi (a mini computer which costs around $50) which collects the data, hosts the web site displaying the data in graphs, and acts as a WiFi hot spot so you can connect wirelessly to view the web application.
The whole system is (in the photo) hooked up to a pitcher plant and monitoring soil moisture levels and other environmental data.
The 12v SLA battery (bottom left) seems to keep this system running for days without needing to recharge. I plan to add a solar panel to recharge it.
The little screen there currently only shows me the output of the web server (eg. errors, etc.) but I can make it display the data graphs.
The above photo doesn't have the automatic irrigation system connected because I didn't have the space inside to connect it all up for the photo. (I don't want to leave it set up outside yet because I haven't figured out how to waterproof it all.)
The irrigation system (which I've tested and seems to work) includes a simple circuit which controls a gravity fed solenoid water valve (based on a signal from the controller circuit in the above photo), and a bucket (or any drum) which provides the water.
When the irrigation system is connected it opens the valve whenever the soil moisture sensor detects the soil is getting dry.
Here's a screenshot of the web application and the data collected by the system:

It's only a very crude, early prototype web application so there's a lot of room for improvement. But it does seem to work fairly well.
You'll notice the water flow graph has no data, because the irrigation system wasn't connected when I took the screenshot.
If you want to see this system running live from the other side of the world go here:
http://www.sensorica.co/home/what-we-do/projects/microgarden-control-systems/garden-manager-live
... and scroll down a bit.
(The dates are outta whack because they haven't yet added a real time clock module to the circuit.)
It's become an open source software/hardware project and I've been working with a group in Canada (www.sensorica.co) to turn this prototype into a system that can be sold fairly cheaply so anyone can use it in their garden or farm.
The graphs on that page are coming from a server in Montreal (Canada), connected to a replica of this prototype that they put together. I remotely installed the software I prototyped, so it's pretty much identical.
That just demonstrates that the information can be accessed remotely, from anywhere. Even the other side of the globe.
There is a glitch in the software which causes a delay when there's a huge amount of data. But once that's resolved there should be less than a minute delay between sensors picking up information and the web application display it.
Once the glitch is fixed that delay can potentially drop to about 10-20 seconds, depending on a few factors.
The whole prototype I'm fairly sure would have cost me around $100 in parts to build (mostly cheap ebay parts), plus the time I spent writing the software (which anyone can use now if they want to, it's open source).
Many parts are optional (eg. the Raspberry Pi) so the cost could be brought down, if you don't need certain functionality.
If anyone has any interest in building something like this I can give you access to the source code, links to the cheap ebay parts, close up photos of the circuitry, as well as diagrams (which I'm slowly working on), and even try to help explain how to put it together.
You don't need to be an electrical or software expert (I'm a relative electronics noob, I just followed online wiring diagrams, etc. I do have a background in software, but you don't need that if you simply install the open source software instead of building your own).
So long as you have the DIY mentality and are keen to learn, as well as the determination to work through possible hurdles and hiccups, it shouldn't be all that difficult to assemble.
Cheers
Edit:
Here's a photo of the close up main controller circuit for anyone who is curious about it:
View attachment 19178
In the middle is an arduino nano clone.
Down the left are all the sensors (top to bottom):
- temperature/humidity sensor (the blue thing)
- flow meter (goes out of the shot but you can see the wires)
- light sensor
- soil moisture sensor (goes out of the shot but you can see the wires, and the base of the probes coming back into the shot)
Slightly left of the arduino are 3 LEDs:
- Green means the system is running
- Blue means the soil moisture level is low
- Red means there's an error in the system
On the right are:
- top: a micro SD module (and card) - this records all data (so the system can be run offline and the data viewed later)
- bottom: a real time clock module (keeps track of the time even when the system is turned off, so the charts show the date/time)
I didn't post it on these forums because it's not really bushcraft related, however it is homesteading related. That's why I figure it's worth posting in this section.
It monitors soil moisture levels, light levels, temperature and humidity levels, as well as water flow rate.
That data can then be viewed online via the web (if it's plugged into the internet), or via WiFi if you're nearby (such as a phone, tablet or PC).
Here's a photo of the working prototype, running from a battery:

The circuit/bread board has an arduino and a bunch of environmental sensors connected to it.
The blue box (on the right) is a Raspberry Pi (a mini computer which costs around $50) which collects the data, hosts the web site displaying the data in graphs, and acts as a WiFi hot spot so you can connect wirelessly to view the web application.
The whole system is (in the photo) hooked up to a pitcher plant and monitoring soil moisture levels and other environmental data.
The 12v SLA battery (bottom left) seems to keep this system running for days without needing to recharge. I plan to add a solar panel to recharge it.
The little screen there currently only shows me the output of the web server (eg. errors, etc.) but I can make it display the data graphs.
The above photo doesn't have the automatic irrigation system connected because I didn't have the space inside to connect it all up for the photo. (I don't want to leave it set up outside yet because I haven't figured out how to waterproof it all.)
The irrigation system (which I've tested and seems to work) includes a simple circuit which controls a gravity fed solenoid water valve (based on a signal from the controller circuit in the above photo), and a bucket (or any drum) which provides the water.
When the irrigation system is connected it opens the valve whenever the soil moisture sensor detects the soil is getting dry.
Here's a screenshot of the web application and the data collected by the system:

It's only a very crude, early prototype web application so there's a lot of room for improvement. But it does seem to work fairly well.
You'll notice the water flow graph has no data, because the irrigation system wasn't connected when I took the screenshot.
If you want to see this system running live from the other side of the world go here:
http://www.sensorica.co/home/what-we-do/projects/microgarden-control-systems/garden-manager-live
... and scroll down a bit.
(The dates are outta whack because they haven't yet added a real time clock module to the circuit.)
It's become an open source software/hardware project and I've been working with a group in Canada (www.sensorica.co) to turn this prototype into a system that can be sold fairly cheaply so anyone can use it in their garden or farm.
The graphs on that page are coming from a server in Montreal (Canada), connected to a replica of this prototype that they put together. I remotely installed the software I prototyped, so it's pretty much identical.
That just demonstrates that the information can be accessed remotely, from anywhere. Even the other side of the globe.
There is a glitch in the software which causes a delay when there's a huge amount of data. But once that's resolved there should be less than a minute delay between sensors picking up information and the web application display it.
Once the glitch is fixed that delay can potentially drop to about 10-20 seconds, depending on a few factors.
The whole prototype I'm fairly sure would have cost me around $100 in parts to build (mostly cheap ebay parts), plus the time I spent writing the software (which anyone can use now if they want to, it's open source).
Many parts are optional (eg. the Raspberry Pi) so the cost could be brought down, if you don't need certain functionality.
If anyone has any interest in building something like this I can give you access to the source code, links to the cheap ebay parts, close up photos of the circuitry, as well as diagrams (which I'm slowly working on), and even try to help explain how to put it together.
You don't need to be an electrical or software expert (I'm a relative electronics noob, I just followed online wiring diagrams, etc. I do have a background in software, but you don't need that if you simply install the open source software instead of building your own).
So long as you have the DIY mentality and are keen to learn, as well as the determination to work through possible hurdles and hiccups, it shouldn't be all that difficult to assemble.
Cheers
Edit:
Here's a photo of the close up main controller circuit for anyone who is curious about it:
View attachment 19178
In the middle is an arduino nano clone.
Down the left are all the sensors (top to bottom):
- temperature/humidity sensor (the blue thing)
- flow meter (goes out of the shot but you can see the wires)
- light sensor
- soil moisture sensor (goes out of the shot but you can see the wires, and the base of the probes coming back into the shot)
Slightly left of the arduino are 3 LEDs:
- Green means the system is running
- Blue means the soil moisture level is low
- Red means there's an error in the system
On the right are:
- top: a micro SD module (and card) - this records all data (so the system can be run offline and the data viewed later)
- bottom: a real time clock module (keeps track of the time even when the system is turned off, so the charts show the date/time)
Last edited: