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:

5V -> 5V
TX -> D2
RX -> 10K Resistor -> D3

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

5V -> 5V
SDA -> A4
SCL -> A5

***This part is optional. I use it to save files with this date format:
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:

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.

4711engel6 months ago

Hi xfoguet thanks for this great project. It runs very well after including

#include <SPI.h>

have a question. Is it possible to show the taken picture an a
sainsmart 1.8 TFT while the arduino ist saving the picture on the SD

Then I can see the pictures an have the chance to make the camera position better.

Greetings from Berlin, Germany


Akin Yildiz9 months ago

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

chernani1 year ago