Searching \ for '[PIC]: Emergency PIC application dev' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'Emergency PIC application dev'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Emergency PIC application dev'
2003\06\17@182833 by Picdude

flavicon
face
Need to implement a super-simple sprinkler system really quickly, and since I don't live at that property, I need a controller.  [ My (X10) home automation controllers are all in storage so I don't have that option easily available.]

Some quick discussion with a gardening-savvy neighbor gives me a watering schedule of 3 times per day for, 5 mins each, and only on every alternate day.  The low-cost controllers I can find (up to ~$40 will not do this easily), so it'll have to be a PIC controller.  Woo-hoo!!!

First thought, no prob, I have been working on a clock w/alarm and other features, so I'll hack that code/circuit and for now I'll hardcode the trigger times/days.  Yes, I promise I'll do it the correct way later.

I figure I can actually pull this coding off in a few hours.  I'll modify the buzzer output to drive a relay instead, which'll switch 24VAC to the valve.  Only cost out of my pocket is a 24VAC transformer from Radio Shack, which is $6.  Add the other plumbing, hoses, valves, spray heads, etc and I'm up to $52 total max.

But before I start, it seems like this would be a common app.  Anyone here know of such code available on the web?  Seems better not to re-invent the wheel, if this wheel already exists.

Cheers,
-Neil.

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2003\06\17@201256 by cdb

flavicon
face
Have a look on the Piclist PCB competition page, you'll see a water
sprinkler project there. Or alternatively purchase a back copy of
Nuts & Volts (March 2003) and see a slightly amended circuit there.
There is also a rain detector add on not as yet published.

I even have a swathe of PCB's staring at me as I type.

Note that the PCB on the Piclist page is incorrect it shows a 0.6"
DIP when it should be a 0.3" DIP. I missed that the first time
around.

Colin
--
cdb, spam_OUTbodgy1TakeThisOuTspamoptusnet.com.au on 18.06.2003

I have always been a few Dendrites short of an Axon and believe me it
shows.

Light travels faster than sound. That's why some people appear bright
until they speak!

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2003\06\18@010532 by Anand Dhuru

flavicon
face
Did design something very similiar.

Except, the cycle was twice a day for 10 minutes each time, every day.

Since the cycle operated every day, the code was much simpler. Basically Off
for 11 hours 50 minutes, then ON for 10 minutes, and repeat.

Since the actual time the cycle initiated was unimportant, I did not use a
RTC. Also, to save costs and complexity, there was no display (besides the
cycle status LED), and no switches (except a forced initiate switch).

To change the settings, you just connect to a PC running a terminal program.
The unit displays current cycle settings, and takes in new ones if they are
to be changed, saves them in the EEPROM. After this you just disconnect the
PC, and start.

In your case, you could do the same, except the cycle would be ON for 5
minuts, OFF for 7 hours 5minuts, ON for 5 minuts, OFF for 7 hours 5minuts,ON
for 5 minuts, OFF for 7 hours 5minuts, OFF for 24 hours, then repeat.

Regards,

Anand Dhuru



{Original Message removed}

2003\06\18@010544 by Anand Dhuru

flavicon
face
Sorry, in my earlier post

ON for 5 minuts, OFF for 7 hours 5minuts, ON for 5 minuts, OFF for 7 hours
5minuts,ON
for 5 minuts, OFF for 7 hours 5minuts, OFF for 24 hours, then repeat.

should have been

ON for 5
minutes, OFF for 7 hours 55 minutes, ON for 5 minutes, OFF for 7 hours 55
minuts,ON
for 5 minutes, OFF for 7 hours 55 minutes, OFF for 24 hours, then repeat.

Anand.


{Original Message removed}

2003\06\18@014638 by Picdude

flavicon
face
Hmmm... I like the simplicity, but in this case, I think I'll use the alarm clock I have.   Also wish you had an LED or LCD display ... it's gotta have some geek appeal as well :-)

So far, after finally completing the alarm part of the coding a couple hours ago, it seems to work well, and although I'd prefer not to put this into service so fast, it'll have to do.  Maybe I'll build a simple datalogger to monitor what it's really doing to the sprinkler valve ...?

So many PIC projects, so little time.

Cheers,
-Neil.



On Tuesday 17 June 2003 23:41, Anand Dhuru scribbled:
{Quote hidden}

> {Original Message removed}

2003\06\18@112241 by Randy Ott

flavicon
face
Watering the grass is an emergency?

Randy

----- Original Message -----
From: "Picdude" <.....picdudeKILLspamspam@spam@NARWANI.ORG>
To: <PICLISTspamKILLspamMITVMA.MIT.EDU>
Sent: Tuesday, June 17, 2003 5:28 PM
Subject: [PIC]: Emergency PIC application dev


> Need to implement a super-simple sprinkler system really quickly, and
since I
> don't live at that property, I need a controller.  [ My (X10) home
automation
> controllers are all in storage so I don't have that option easily
available.]
{Quote hidden}

the
> buzzer output to drive a relay instead, which'll switch 24VAC to the
valve.
> Only cost out of my pocket is a 24VAC transformer from Radio Shack, which
is
{Quote hidden}

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

2003\06\18@123020 by Tim Webb

flavicon
face
It may be less fun and about the same price vs labor to just go down to the hardware store and pick up a sprinkler timer system, mine works just fine.

{Original Message removed}

2003\06\18@124317 by Picdude

flavicon
face
On Wednesday 18 June 2003 05:26, cdb scribbled:
> You don't have to use the metering part, just leave that off the
> event times will still work without it.

Hmmm....  I'm thinking I may still do it for the long-term solution still and get the EEPROM etc with my next Digikey order.

Last night, I modified (butchered?) my code yesterday and have a hard-coded working controller (so far), but it's really bastardized .... it really only has 3 hard-coded event triggers in a *single* day, and I've added a div-by-2 counter delay so 24 hours on my clock covers 48 real-time hours.  Serious hack I know, but I got this working in less than 1 hour.  Just need to convert the real-time trigger times to my clock-time. :-)


> 24V AC garden centre type valves will often work on 12V DC so long as
> with a (2N2222A) the current is not more than 300mA or so.

Well I got the spec from Rain-Bird (the valve mfgr) ... 24VAC, 190mA average current and 300mA in-rush current.  No prob there.


> I think I may still have the original code that could be set for odd
> or even days automatically, but I decided that it was more flexible
> to program the watering days in manually as for example where I live
> the local council has the odd/even number thing plus Monday can't be
> sprinkled at all. The council down the road has a completely
> different scheme.

Yep... I never liked the odd/even day thing.  Much prefer to set it up by specific days.


> Hmm SPAM the most awful luncheon meat ever invented, always reminds
> me of school dinners.

Oops ... I think that's my hosting-provider doing that.  It's based on a bunch of rules that baffle me.

Cheers,
-Neil.

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

2003\06\18@130213 by Picdude

flavicon
face
Previous tenant just bailed out (earlier than contract), so place is back up for rent, and the lawn needs some work/help/prayer.  Since it's about 15 miles away, driving over every other day to switch on the sprinkler is not appealing.  Did I mention that "lawn" is a 4-letter word?  :-)

Cheers,
-Neil.


On Wednesday 18 June 2003 10:20, Randy Ott scribbled:
> Watering the grass is an emergency?
>
> Randy
>
> {Original Message removed}

2003\06\18@130636 by Tim Webb

flavicon
face
spray weed killer and you won't have to even water or mow it.

-----Original Message-----
From: Picdude [.....picdudeKILLspamspam.....NARWANI.ORG]
Sent: Wednesday, June 18, 2003 10:03 AM
To: EraseMEPICLISTspam_OUTspamTakeThisOuTMITVMA.MIT.EDU
Subject: Re: [PIC]: Emergency PIC application dev


Previous tenant just bailed out (earlier than contract), so place is back up
for rent, and the lawn needs some work/help/prayer.  Since it's about 15
miles away, driving over every other day to switch on the sprinkler is not
appealing.  Did I mention that "lawn" is a 4-letter word?  :-)

Cheers,
-Neil.


On Wednesday 18 June 2003 10:20, Randy Ott scribbled:
{Quote hidden}

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

2003\06\18@131305 by Picdude

flavicon
face
Bite your tongue! :-)  Can't believe you'd actually encourage this behaviour on the PIClist.
Actually, the lower-cost ones I've seen don't allow 3 events per day, still cost $30-$40 minimum, and I've already got a working PIC ckt already... woo-hoo!  The $6 transformer is all I would have to spend money on, as everything else is already floating around here.

Cheers,
-Neil.



On Wednesday 18 June 2003 11:28, Tim Webb scribbled:
> It may be less fun and about the same price vs labor to just go down to the
> hardware store and pick up a sprinkler timer system, mine works just fine.
>
> {Original Message removed}

2003\06\18@131427 by Picdude

flavicon
face
I'd love to, but the neighbors might complain.  No smileys cause I'm considerably serious about that ... would love to just spray-paint the dirt green. :-)

Okay seriously, I like lawn, but hate taking care of it.

Cheers,
-Neil.



On Wednesday 18 June 2003 12:04, Tim Webb scribbled:
> spray weed killer and you won't have to even water or mow it.
>
> {Original Message removed}

2003\06\18@131922 by Tim Webb

flavicon
face
A friend was just telling me about this plastic green grass you can buy like carpet from a hardware store and lay it in your yard and you never have to mow or water it.  It lasts about 5 years before is needs to be replaced.

{Original Message removed}


'[PIC]: Emergency PIC application dev'
2003\09\28@063227 by Howard Winter
face
flavicon
picon face
On Wed, 18 Jun 2003 12:13:35 -0500, Picdude wrote:

>...<
> everything else is already floating around here.

Still some work to do on the "valve shutoff" function,
then?  :-)

All this talk of automated watering, it strikes me that
here in England they are a pretty rare thing to see - we
just let the weather take care of most of it!

Cheers,

Howard Winter
St.Albans, England (currently overcast, +17C, 52%RH, may
rain later :-)

--
http://www.piclist.com hint: To leave the PICList
KILLspampiclist-unsubscribe-requestKILLspamspammitvma.mit.edu

2003\09\28@091413 by Picdude

flavicon
face
On Sunday 28 September 2003 05:32, Howard Winter scribbled:
> On Wed, 18 Jun 2003 12:13:35 -0500, Picdude wrote:

Hmmm... responding to a thread from June?  And I thought I had some way to go to catch up on piclist emails. :-)


> All this talk of automated watering, it strikes me that
> here in England they are a pretty rare thing to see - we
> just let the weather take care of most of it!

And a weather discussion from someone named "Winter". :-)

But yes, I remember it well from my year there in 2000.

BTW, "rain" is a 4-letter word.  And so is "lawn". :-)

Cheers,
-Neil,
Austin TX (Currently 21 deg C and totally sunny, and won't rain later).


>
> Cheers,
>
> Howard Winter
> St.Albans, England (currently overcast, +17C, 52%RH, may
> rain later :-)

---
[This E-mail scanned for viruses]

--
http://www.piclist.com hint: To leave the PICList
RemoveMEpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu

2003\09\28@131230 by Howard Winter

face
flavicon
picon face
On Sun, 28 Sep 2003 08:12:37 -0500, Picdude wrote:

> Hmmm... responding to a thread from June?  And I
thought I had some way to go
> to catch up on piclist emails. :-)

I just got the unread-messages count under 11,000!

> And a weather discussion from someone named "Winter".
:-)

And why not?

Ah, "because it's OT" - sorry folks!

Cheers,

Howard

--
http://www.piclist.com hint: To leave the PICList
spamBeGonepiclist-unsubscribe-requestspamBeGonespammitvma.mit.edu

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...