Full-featured AVR time-lapse

This time-lapse photo trigger was built [Lukasz Goralczyk]. It is controlled by an ATmega168 and we were surprised to read that it uses about 12k of code. Curious about what takes up that much space, we were impressed to see all the features demonstrated in the video after the break. The small device, running on two AA batteries, has a well-designed user interface displayed on a 3V character LCD that is navigated with a clickable rotary encoder.

It isn’t the smallest intervalometer we’ve ever seen, but it deserves respect for the features packed into a diminutive form-factor.

[Thanks Michal]

11 thoughts on “Full-featured AVR time-lapse

  1. 2.5mm adapters sold for ipods etc work well… My astro photography consists of me taking an ipod adapater.. and just jamming it into my camera.. when you go too far.. it just shorts the contacts.. I set it for 30 second shutter and let it be!

  2. What program can I use to combine all of the photos into a video file? I’m a Windows/Ubuntu user and don’t have Quicktime Pro.

  3. @Physics-Dude VirtualDub will do this at a set frame rate, it will automatically import all the frames if they are numbered sequentially, e.g. IMG_0334.JPG
    IMG_0335.JPG
    IMG_0336.JPG…

    It has only rudimentary adjustments/filters, but gets the job done well.. for free and it runs under WINE as well

  4. @Physics-Dude
    on Ubuntu, or Windows, you can also use ffmpeg to accomplish this.

    from ffmpeg’s man page:

    ffmpeg -f image2 -i foo-%03d.jpeg -r 12 -s WxH foo.avi

    this will collect all images foo-000.jpeg through foo-999.jpeg, sequentially, into a video, at 12 frames per second.

  5. Very decent stuff!

    I have not looked at the code yet, but using LGPL code from AVRFreaks.net (like tinymenu), I expect this to be a solid implementation.

    Thanks for sharing this, Lukasz!

    I hope I find the time to complete my own project, which is a similar user interface for
    a remote measuring device.

    Examples like this encourage me to share my own
    results, too!

  6. I decided to help everybody out and post what I do to get ffmpeg to work on windows 7

    I use Infraview to process to files and name them image0001.jpg image0002.jpg and so on.

    Copy C:\ffmpeg\share to C:\usr\local so that your presets can be found at C:\usr\local\share\ffmpeg

    Then i process it using this command line
    c:\ffmpeg\bin\ffmpeg.exe -r 12 -i “C:\path\image%04d.jpg” -sameq -s hd1080 -vcodec libx264 -vpre hq -crf 25 c:\OUTPUT.MP4

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