Quick update, but things are working!
You can see that I plugged it in near sundown. The increase near the end is where I turned on a light inside – the sensor is currently in a window pointing outside, but clearly isn’t very well isolated.
This plot will be more interesting tomorrow – basically the big jump is where I watered. It will be interesting to see how the moisture level changes overnight and in the sun during the day.
Clearly my calibration needs to be fixed here… this is worthless.
Details on what I did tomorrow along with updated plots. I’m excited!
I’m certainly not the first person to think of building a watering system using arduino – here are some projects which have inspired me. As a bonus, I get to clean up my open browser tabs – I really need to be in ‘Too many tabs anonymous’. In no particular order…
There are more and as I continue with this project I’ll continue to give credit where due.
As I mentioned in my last post, one of the projects I have on tap right now is ‘Grow with Arduino‘. Basically, I want to achieve two goals which makes this an official pun-tastic project.
First, I want to automate my home watering in the most overkill way possible. The plan as it stands today includes moisture sensors, some timing system (blackout times, etc), weather forecasts, rain sensors, temperature and light sensors. As I mentioned, overkill.
The other reason is I want to learn more about automation and embedded programming, so this project gives me a chance to grow (groan) as well. Brewing beer may be in my future + people keep doing neat things with micro-controllers to make it a fully automated and repeatable process.
To make this happen, I’ve taken the first steps by buying my very first arduino from the good folks at sparkfun along with temperature and light sensors a multiplexer and some support bits. Given that I’ve never touched one of these boards before and that my digital logic knowledge hasn’t been used in 8 years, I’m starting small. The grand plan (such as it is) follows –
- Phase 1: Flashing lights! Basically, knowing nothing about arduino, I just want to make it work. Wire up some representative circuits I’ll need later. Poke around the programming language, get the board talking to my main computer. You know, the basics.
- Phase 2: Science! Ok, so I should basically at this point know how things work – time to put it to use. Essentially, I’ll be making a weather/ground station. The goal will be to start logging sensor readings – ground moisture, temperature, light, etc. on my main computer. This means that most of the inputs to the watering decision will be in place allowing me to calibrate and make decisions about watering frequency and conditions. It should also server as a good input/nag for me to manually water.
- Phase 3: Loop #1! Time to add the first servo and drip hose. At this point, I’ll have the functionality of a slightly advanced COTS systems. This is just a small stepping stone though to…
- Phase 4: n-Watering loops What is the fun of having either the whole system being on or off? Time to start controlling individual beds + planters based on their specific needs.
- Phase 5: Never ending Iteration This project will never truly be done – there will always be adjustments and additions. I’m ready for it.
Today I’ve got the basic arduino board in hand and I’ve made it do some basic things such flash an led, read the value of a light sensor. Next, I need to how to interact via the serial interface so I can talk to my programs from my main computer.
Next: Some block diagrams, maps and perhaps code, oh boy!
After letting this site languish for far too long, I’m back! The new plan for this site largely mirrors my attempts to focus and organize my hobbies – rather than the occasional burst of inspiration, I’ve been focusing more heavily on larger, ongoing projects. I hope to bring my progress here to share with everyone and to provide some motivation to keep them going.
First Project – ‘Grow with Arduino‘. Details to come, but it comes down to me getting frustrated with watering and wanting to automate it. Timers are fine and dandy, but why do something that ‘just works’ when you can go overboard and have a watering system tied into weather forecasts and moisture sensors? I’m far from the first person to go down this path (see GardenBot), but I look forward to building on their work + adding my own improvements, hopefully contributing back to the greater gardening electronics community.
Yes, this is going a bit overboard but I think that the payoffs – both in terms of maintaining my very lovely garden and picking up micro-controller knowledge will be worth it.
Looking to other projects, I’ve got a bunch of things percolating around that I’m interested in pursuing, particularly home-improvement related as I approach my fourth month of home ownership. My mantra though is “Focus and be awesome”, so I’d much rather through all my efforts into really making something great + bringing it all the way to fruition than have 10 projects all sit around and languish as I get over extended.