Skip to content

Using a Raspberry Pi, python script and camera module, I created a time lapse of moving clouds and a subtle sunset. This repository includes the python script as well as detailed documentation on how to make your own. Our example on YouTube

Notifications You must be signed in to change notification settings

BUGS-NYU/time-lapse-raspberry-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

time-lapse-raspberry-pi

Using a Raspberry Pi 3 and camera module (Camera Video Module for Raspberry Pi Model A/B/B+, Pi 2 and Raspberry Pi 3), I created a sunset timelapse.

Detailed documentation on how to make your own

Configure the software:

  • Go to preferences, Raspberry Pi Configuration and Interfaces.
  • Enable the camera.

Still images

Using the provided code:

  • Go to programming and select Python 3 (IDLE).
  • Open a new file and save it as camera.py (The file is in the repository).
  • Run the script using run or F5

Note: The preview will only work when the pi is using a monitor and there is no remote access.

If you want to take a timelapse using still images, use sleep to indicate the time frame. Input for sleep is the number of seconds you would like the module to wait.

Video

You can also take a video using this code:

camera.start_preview()
camera.start_recording('/home/pi/Desktop/pivideo.h264')
sleep(5)
camera.stop_recording()
camera.stop_preview()

To play the video go to the terminal and type: omxplayer video.h264

About

Using a Raspberry Pi, python script and camera module, I created a time lapse of moving clouds and a subtle sunset. This repository includes the python script as well as detailed documentation on how to make your own. Our example on YouTube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages