Instructables
Picture of Arduino Time Lapse
That's what we are going to do:


We need:
-Arduino board.
-Sd Breakout Board.
-TTL Serial JPEG Camera.
-RTC Breakout Board (optional).

 
 
Remove these adsRemove these ads by Signing Up

Step 1: Wiring

Picture of Wiring
This is how wiring works:

Camera:
5V -> 5V
GND -> GND
TX -> D2
RX -> 10K Resistor -> D3

SD:
5V -> 5V
GND -> GND
CLK -> D13
D0 -> D12
DI ->D11
CS -> D10

***RTC:
GND -> GND
5V -> 5V
SDA -> A4
SCL -> A5

***This part is optional. I use it to save files with this date format:
DDHHMMSS.JPG
D for day
H for Hour
M for Minute
S for Seconds

This way, I could mix this project with a weather station to know how was the sky when the moisture value was XX%.
The other reason is that I could plug out the board and plug in back without file overwriting issues.

I had long wire to the camera, this way I could fix it to something and keep the SD somewhere where the the card manipulation wouldn't move camera support (I toke the SD card out some seconds to check everything was fine).

Step 2: Firmware

Picture of Firmware
This are the libraries that you might need:

SD (adafruit) >> https://github.com/adafruit/SD

Camera >> https://github.com/adafruit/Adafruit-VC0706-Serial-Camera-Library

RTC >> https://github.com/adafruit/RTClib


---------------------------------------------------------

Full Code:
https://github.com/xfoguet/TimeLapse

If you are not going to use the RTC for naming files, just declare an int variable and ++ on every loop.
You'll have to fill the file name array with 0 to keep names in alphabetic order (I did had some issues with that).
I'll try to upload a new code for this version soon.

Akin Yildiz25 days ago

hello sir, thank you for such a great instructable.. however I have a question; wifi arduino time-lapse camera

chernani1 year ago
congratulations!