Enjoying The Sunrise Every Single Day

Exif_JPEG_PICTURE

[Andy] wanted to take a few at sunrise, but waking up before sunrise has obvious problems associated with it. Instead, he built a device that calculates the local sunrise time, snaps a picture, and goes to sleep until the next morning.

The camera used for the project was an old Canon point and shoot, chosen for the ability to load CHDK firmware. Other electronics included an Arduino pro mini, a LiPo battery and charger board, real time clock, and an old Nokia LCD for the user interface.

There’s quite a bit of code that goes into figuring out when the sun will rise each day, but once that’s figured out, all [Andy] has to do is take the camera somewhere pretty, point it East, and record a few days worth of sunrises. When put into a ‘game camera’ enclosure, its rugged enough to stand up to everything except a thief, and has enough battery power for a few weeks worth of sunrises.

Video demonstrating the local sunrise time below.

Comments

  1. zaprodk says:

    Woman showering in the background ?

  2. I wonder how well a simple light sensor would work.

  3. Bob Fleming says:

    CHDK has a scripting mode. Couldn’t this have been achieved without any external circuitry?

    • xbrav says:

      The problem with CHDK scripting is that the camera’s power savings mode doesn’t engage when using scripting. As a result, the camera’s battery efficiency goes out the window.

    • Howard says:

      I have a Canon of this vintage and was quite interested in CHDK when it came out. I never did much with it other than time lapse but I did have a ‘shoot the sunset’ script I downloaded a while back. Maybe this script didn’t do what he wanted, but there’s this: http://chdk.wikia.com/wiki/Sunrise_and_Sunset_Time_Calculation_Script. That said, I love the hack and it reminded me of a timelapse I shot with an 8mm movie camera years ago up in VT. A Model 100 computer was programmed to know sunsire and sunset calculations and used its cassette control cable to trigger the single frame mode of the movie camera. It simply waited until sunrise and then shot one frame every (some number) of seconds until sunset. After a month, the roll of film was used up and I developed it. A hurricane had blown through the area that month so I have footage of the leaves slowly changing from green to about half peak. The window got wet from the hurricane and when it dried, the leaves were gone. Despite it being not much of a hack, it made for a cool movie. I love the idea of controlling the Canon with the Arduino and I’ll have to try that.

  4. Abhi says:

    Not sure how good this hack is? Picture is no match for a morning sun. Not even close.

  5. Hirudinea says:

    What I’ed really like to see is a digital video camera that records the sunrise and then plays it back on my smart tv when I want to wake up.

  6. vonskippy says:

    “[Andy] wanted to take a few at sunrise”

    Take a few what?

  7. Thinkerer says:

    This is an interesting idea – putting together a CHDK project has been on my bucket list for some time. BUT

    Why has Hackaday decided to obscure this and other posts behind the “Projects” wall rather than a direct link to the project? (Plus the Bitbucket code is inaccessible – not HAD’s fault). Hackaday’s real value is timely descriptions and information of other people’s projects – essentially an online journal of tinkering/hacking/making/projects. Complicating that will only diminish it.

  8. fakename says:

    If you were to utilize the system of blooming flowers, you might get more accurate results with less code.

    Simply note the change of light intensity vs time, near estimated sunrise. Like as little as a couple minutes before the sun crests. Peak rate of change would cause the system to memorize that 24ish hour period and take an image. That time period would dictate when to prepare for next image (estimate sunrise).

    • andrewjhull says:

      That is quite a neat idea, but I’m not sure how you could do it, and meet the low power consumption requirements… also I don’t know how precise it would be, since light levels vary from one sunrise to the next.. a flower simply wants to open in time for the bees, it isn’t too concerned about watching the sunrise…having said that it might be do-able with some cunning use of an LDR as part of a wheatstone bridge…

  9. Pedro says:

    a retarded hack. arduino and shit? wtf. 1) calculate sunrise, loads of apps or internet takes 1 second. 2) program chdk to take pic at that time. 4 seconds.
    total. 5 seconds.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,441 other followers