Searching \ for '(OT) - Sunrise and sunset calculation' 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/index.htm?key=
Search entire site for: '- Sunrise and sunset calculation'.

Truncated match.
PICList Thread
'(OT) - Sunrise and sunset calculation'
1997\10\05@213115 by Alberto Smulders

flavicon
Hi everybody !!!

I know this is off-topic, but it's the only list which is alive I see...

Does anybody know where to find an algorithm to calculate sunrise and
sunset data for a given geographical location ?  We need it for our
greenhouse automation software.

Thanks !!!

Albert Smulders
InSAD - Encarnacion, Paraguay
spam_OUTinsadTakeThisOuTspamitacom.com.py

1997\10\05@222930 by Alan G. Smith

flavicon
face
>Does anybody know where to find an algorithm to calculate sunrise and
>sunset data for a given geographical location ?  We need it for our
>greenhouse automation software.

I don't know why there shouldn't be an algorithm but I have never seen one, I
have always seen it
done with
look-ups.  If this is embedded, perhaps you could put a big serial EEPROM (like
the 24x65) to store
the time
per day.  If it isn't embedded, then a lookup table doesn't cause any problem.

Let me know if you find anything!

Alan G. Smith

+---------------------------------------------------------
| Alan G. Smith
| .....agsKILLspamspam@spam@poboxes.com
| http://www.innovatus.com/ags

-

1997\10\05@223139 by Pat Reitelbach

flavicon
face
I have done this.  It is much easier to just sense the daylight with a
photocell and set limits for day and night and forget the calculations as
the year progresses.

At 09:31 PM 10/5/97 -0400, you wrote:
{Quote hidden}

1997\10\05@224416 by Todd Erickson

flavicon
face
I will be soon working on an application that requires the sensing of
night in order to keep away predators (the ones in the woods, not the
streets in this example).  I plan on using a photocel to accomplish
this.  It would probably work for a greenhouse application as well since
I assume you are looking to control something when nightfall comes.
Also, if you have storm clouds out on the western horizon, night could
come 1/2 hr earlier than usual.  You know the code would be a lot easier
to impliment!


Todd Erickson
.....z008876bKILLspamspam.....bcfreenet.seflin.lib.fl.us


On Sun, 5 Oct 1997, Alberto Smulders wrote:

{Quote hidden}

1997\10\06@015025 by Michael Josefsson

picon face
In <199710060134.WAA10077spamspam_OUTplaton.itacom.com.py>, on 10/05/97
  at 09:31 PM, Alberto Smulders <@spam@insadKILLspamspamITACOM.COM.PY> said:

>Hi everybody !!!

>I know this is off-topic, but it's the only list which is alive I see...

>Does anybody know where to find an algorithm to calculate sunrise and
>sunset data for a given geographical location ?  We need it for our
>greenhouse automation software.

>Thanks !!!

>Albert Smulders
>InSAD - Encarnacion, Paraguay
>KILLspaminsadKILLspamspamitacom.com.py

Check out Peter Duffet-Smith's book Practical Astronomy with your
Calculator. It has all you need in an easy step by step approach.
Unfortunately there are a fair amount of sine/cosines and arctangents
involved.

Cheers,
Micke

-----------------------------------------------------------------
RemoveMEmjTakeThisOuTspamisy.liu.se
Michael Josefsson, MSEE
Linkvping University

Join the RC5 contest with your idle CPU cycles!!!!
See http://rc5.distributed.net
-----------------------------------------------------------------

1997\10\06@033125 by Keith Dowsett

flavicon
face
At 21:31 05/10/97 -0400, you wrote:
>Hi everybody !!!
>
>I know this is off-topic, but it's the only list which is alive I see...
>
>Does anybody know where to find an algorithm to calculate sunrise and
>sunset data for a given geographical location ?  We need it for our
>greenhouse automation software.
>
>Thanks !!!
>
>Albert Smulders
>InSAD - Encarnacion, Paraguay
>spamBeGoneinsadspamBeGonespamitacom.com.py

Hi,

  I don't have the URL any more, but try a web search for Xephem. It works
out sunrise & sunset times among other things.

Depending on the accuracy you need it may be easier to code as a lookup
table with linear interpolation. That's how I plan to do it for a project
I'm working on.

Keith.
------------------------------------------------------------
Keith Dowsett         "Variables won't; constants aren't."

E-mail: TakeThisOuTkdowsettEraseMEspamspam_OUTrpms.ac.uk  or RemoveMEkdowsettspamTakeThisOuTgeocities.com

WWW: http://kd.rpms.ac.uk/index.htm
    www.geocities.com/CapeCanaveral/Lab/8979

1997\10\06@060524 by Leon Heller

flavicon
picon face
In message <199710060134.WAA10077EraseMEspam.....platon.itacom.com.py>, Alberto
Smulders <EraseMEinsadspamITACOM.COM.PY> writes
>Hi everybody !!!
>
>I know this is off-topic, but it's the only list which is alive I see...
>
>Does anybody know where to find an algorithm to calculate sunrise and
>sunset data for a given geographical location ?  We need it for our
>greenhouse automation software.

Radio amateurs use something called "grey-line", the position of the
twilight zone, for assessing propagation, and software is available for
calculating the times and bearings where it occurs. Try a web search for
"grey-line" or "gray-line", or posting to the rec.radio.amateur.misc
newsgroup. Bear in mind that for radio propagation the grey-line is up
at the ionosphere, not at ground level.

Here is a brief explanation taken from the ARRL Handbook. The grey line
generally runs N-S, but varies by 23 degrees either side of true north
as measured at the equator, over the year. It's exactly N-S through the
poles at the equinoxes (Mar. 21 and Sep. 21) and at its 23 degree
extremes on Jun. 21 and Dec. 21.

Apparently, the ARRL Operating Manual provides sunrise and sunset times
for several hundred worldwide locations, which might help. You could
just use a look-up table, perhaps.

Leon
--
Leon Heller: RemoveMEleonEraseMEspamEraseMElfheller.demon.co.uk http://www.lfheller.demon.co.uk
Amateur Radio Callsign G1HSM    Tel: +44 (0) 118 947 1424
See http://www.lfheller.demon.co.uk/rcm.htm for details of a
low-cost reconfigurable computing module using the XC6216 FPGA

1997\10\06@135022 by www.aeug.org/~chip/

flavicon
face
On Sun, 5 Oct 1997, Alberto Smulders wrote:

> Does anybody know where to find an algorithm to calculate sunrise and
> sunset data for a given geographical location ?  We need it for our
> greenhouse automation software.

 Twenty years ago an excellent algorithm was published in Byte magazine.
Check at the library in an issue around 1977 or 1978.

 I wish Byte was a tenth as good now as it was then...

/**/

1997\10\06@140743 by Roger Books

flavicon
face
> On Sun, 5 Oct 1997, Alberto Smulders wrote:
>
> > Does anybody know where to find an algorithm to calculate sunrise and
> > sunset data for a given geographical location ?  We need it for our
> > greenhouse automation software.
>
>   Twenty years ago an excellent algorithm was published in Byte magazine.
> Check at the library in an issue around 1977 or 1978.
>
>   I wish Byte was a tenth as good now as it was then...

It may not be as good as it was then, but it has certainly improved
since late 80's, early 90's.  You might want to check it out, they
seem to have realized they were losing the fight trying to be another
PC-clone magazine.  Heck, they even have articles on embedded systems
now.

Roger

1997\10\11@120708 by Brian C. Lane

flavicon
face
On Tue, 7 Oct 1997 02:49:57 +0900, you wrote:

>On Sun, 5 Oct 1997, Alberto Smulders wrote:
>
>> Does anybody know where to find an algorithm to calculate sunrise and
>> sunset data for a given geographical location ?  We need it for our
>> greenhouse automation software.
>
>  Twenty years ago an excellent algorithm was published in Byte magazine.
>Check at the library in an issue around 1977 or 1978.
>
>  I wish Byte was a tenth as good now as it was then...

 Check out Circuit Cellar INK, published by Steve Ciarcia -- He used
to write the cool electronics columns for Byte back when it was worth
subscribing to.

 http://www.circellar.com

 BTW. They are running a PIC contest with some really good prizes.

 Brian

----------------------------------------------------------------------
Nexus Computing : DigiTemp temperature sensors for Linux, DOS, Win95
http://www.eskimo.com/~nexus
======================================================================

1997\10\11@123617 by Dave Gilinsky

flavicon
face
> From RemoveMEowner-piclistspam_OUTspamKILLspamMITVMA.MIT.EDU Sat Oct 11 09:08 MST 1997
> MIME-Version: 1.0
> Content-Transfer-Encoding: quoted-printable
> Date: Sat, 11 Oct 1997 16:05:44 GMT
> From: "Brian C. Lane" <RemoveMEnexusTakeThisOuTspamspamESKIMO.COM>
> Subject: Re: (OT) - Sunrise and sunset calculation
> To: EraseMEPICLISTspamspamspamBeGoneMITVMA.MIT.EDU
>
> On Tue, 7 Oct 1997 02:49:57 +0900, you wrote:
>
> >On Sun, 5 Oct 1997, Alberto Smulders wrote:
> >
> >> Does anybody know where to find an algorithm to calculate sunrise and
> >> sunset data for a given geographical location ?  We need it for our
> >> greenhouse automation software.
> >
> >  Twenty years ago an excellent algorithm was published in Byte magazine.
> >Check at the library in an issue around 1977 or 1978.
> >

I find "Practical Astronomy With Your Calculator" by Peter Duffett-Smith
indispensable for such information.  In the third addition, the algorithm you
seek is on page 95.

Practical Astronomy With Your Calculator
Peter Duffett-Smith
Press Syndicate of the University of Cambridge
ISBN 0 521 35629 6 Hardback
ISBN 0 521 35699 7 Paperback



                                               Dave Gilinsky (DG75)
                                               Pixel Dust, Inc.
                                               RemoveMEdaveKILLspamspamgaspra.once-ler.com
_______________________________________________________________________________

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