Skip navigation

Ok so I finally got some time to myself (difficult because I have 4 kids going on 5 under 7) to play around with this project.  I got my Uno out and my ebay-special 4 relay module.  I figured out how it works and what the little picture on the relay meant as far as which one is normally open and which one is normally closed. 

I have been reading up on different ways to get the Arduino to keep track of time and turn/off for long periods of time.  While doing this reading I am constantly being reminded of how little I acutally know about coding. 

I found this "Timer" library that seems to be pretty straight forward. 

A couple things I have always been confused about is the the concept of "returning" things.  When reading up on different functions and ways of doing things on Arduino people are always talking about something being "returned" and I have no idea what that means.  Also "ID", umm huh?  Also, this Timer library makes use of t.update or else it doesn't work.  What is being updated?  Am I just way over my head or are these easily explained to a noob like myself?

IMG_1159.JPG

This is the first entry of my first project since joining here.  I work a lot and would like to have my garden watered by my Arduino.  I want the water to turn on every morning at the same time for the same duration. 

As far as parts go, I have an adafruit water valve, 4 module relay, Arduino Uno for prototyping and a nano for the finished product. 

It appears my first job is to figure out how to make the Arduino activate the solenoid at the same time.  I could ise a clock of some kind, but I could also have it turn on with the rising of the sun. 

Both ideas seem like they are possible for my level of skill.  Decisions, decisions.

Filter Blog

By date: By tag: