Arduino Sunrise Sunset Library

Here’s an arduino library to calculate sunrise and sunset times based on date and latitude / longitude, i didn’t made the library, i took it from this website that doesn’t seem to work anymore:
I’d like to give credit to the one who wrote it but i couldn’t find a creator name or contact anywhere!
i used it for my new “PS. I Love You” piece and incorporated a Noon function which returns the time when the sun is in mid sky.
Example included.

Library here>

24.01.2010 update:
thanks Michael for your comment!
so full credits of the library goes to Michael Rice
and here’s the working link that i thought it was broken:

and the link to Michael’s ‘Timelord’ extended library with new great functions:

This entry was posted in Arduino, Code and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.


  1. Posted January 16, 2010 at 11:07 am | Permalink

    Thanks André, I’ll give it a go. By the way:
    puts “HelloWorld to your blog!”

  2. Posted January 23, 2010 at 10:03 am | Permalink

    Time of noon was a clever mod!

    The original is still there, you just dropped the ‘.html’ off the end of the url.

    Since then I have rolled the SunRise library into a more expansive ‘TimeLord’ library, and with your permission I will include your noontime mod (with due credit of course).

  3. Posted January 24, 2010 at 5:07 am | Permalink

    i’ll update the info in the initial post!

Post a Comment

You must be logged in to post a comment.