Time-Lapse Photography Skeinforge Plugin

160
Downloads
690
Views
Published on August 22, 2011

Description

Post with working links on my blog: eclecti.cc/bytes/reprap-controlled-time-lapse-photography

YouTube example videos:
youtube.com/watch?v=T3j5oXpqWCk
youtube.com/watch?v=GFZXgxcfdHQ

While capturing the time-lapse last week, John and I ran into two irritating issues. The first is that the moving platform causes the object being printed to come in and out of the focal plane of the camera and makes for a jarring video. The second is that because the interval between photos is constant, some large and slow layers will have multiple shots taken while several consecutive quick layers can be skipped entirely. The solution to both of these is to dynamically remote trigger the camera from the printer.

I wrote a Skeinforge photograph plugin that inserts a new G-code command, M240, which tells the printer to trigger a photograph. The module offers three modes. End of Layer, as demonstrated by Yoda below, is the simplest. It takes one picture at the start of the first layer and then another at the end of each layer of the print, resolving only the second of the aforementioned issues. Corner of Layer takes a picture at the minimum Y,X of each layer. Least Change between Layers tries to take shots that are as close as possible to each other from layer to layer. I had the most visually interesting results with the last setting, as shown in the Flower print above. The module can be downloaded from github, and installation instructions are included within its text.

The other half of the control scheme is triggering the camera from the RepRap. Since I didn’t want to risk coupling my T2i directly to the printer, I went for emulating a Canon RC-1 Remote, which has been thoroughly reverse engineered. The hardware is simply an 850nm infrared LED in series with a 180 ohm resistor connected to one of the I/O pins on the Arduino Mega. I chose pin 23 because I could solder to it without pulling my RAMPS board off. The software side is equally simple. For this, I forked the excellent Sprinter firmware to respond to M240 and send the correct pulse over the IR LED. My fork is on github, but the diff that adds M240 support is the interesting bit.

Instructions

Photograph plugin and firmware on github: github.com/nrpatel/Sprinter

Tags
This Thing has no tags.
Report as inappropriate

You must be logged in to post a comment.

Brilliantly combination of technologies! Just love it! :)

If you could make the platform move to front and center between each layer it would make it even more stable.

Bravo! Very nice. Now if someone would add a computer vision comparison to the build up to the current layer the computer could know when the print has gone wrong. I enjoy how the flower just sort of materializes.

Oops, I almost forgot. There is some really great projects out there that enhances ones camera in a impermanent way(memory card), that would be useful in the cahoots with this feature!

If you, Dear Reader, have a EOS XTi/400d (also RC1 control) check: https://code.google.com/p/400p...

I guess there is going to be support for other cameras soon:
For lots of Canons: http://chdk.wikia.com (very nice!)
For 300d see: http://satinfo.narod.ru/en/
For later cameras see(550D/T2i/Kiss X
4/60D/600D/T3i/Kiss X5+so forth): http://magiclantern.wikia.com
550D/50D/1000D/1100D is under development for dito.
Hopefully needless to say:

As always, read the manual!!!

CHDK is especially useful here since it supports a lot of point and shoots that would otherwise not have a remote trigger. It lets you use pulling up one of the lines on the USB port on the camera as a trigger. You can rig it up to work wirelessly too: http://eclecti.cc/wireless/xbe...

Oh, how I just love that smell of sweet RepPap propaganda tools in the morning.

Thank you most kindly, G(o)od Sir!

That is pretty freaking cool.