A Raspberry Pi based camera.
View on GitHub

The Raspberry Pi based camera in housing.

A Raspberry Pi based camera. Hardware includes a Raspberry Pi A+, a camera module, various parts from Adafruit, and an old waterproof camera housing.

A collection of timelapses created with the camera can be found on YouTube.


The software is available on GitHub.


Once the software has been installed and the server is running, connect to the camera via wifi. The default network SSID is picamera. Once connected to the camera, open a browser and navigate to:
This connects to the server app running on the camera. From here, you can setup and run timelapses. Use the tab icons at the top to switch between the 3 main screens.

NOTE: the actual IP address of the camera depends on how the access point software was setup.


This screen provides basic timelapse setup and execution.

Timelapse setup screen.

DELTA TIME sets the amout of time, in seconds, between each image acquisition. NUMBER OF IMAGES sets the total number of images that will be aquired. The resulting TOTAL TIME is shown in the blue box for the current setup.

To start the timelapse, press the [GO] button.


This screen provides basic camera setup and confirmation.

Preview image (S=1/2048).
Preview image (S=1/1024).
Preview image (S=1/512).

SHUTTER SPEED sets the desired shutter speed. ISO sets the desired sensitivity. To take a sample image with the current settings, press the [TAKE] button. Various information is overlayed on this preview image.

The RGB histogram provides a good indication for overall image exposure. In general, these curves should be centered as much as possible. In the above 3 examples, S=2048 is OK, but maybe a little too dark. S=1/512 is obviously too bright. With S=1/1024 the curves are centered better, so this is probably the best choice.


This screen provides a live view image of the camera, useful for aiming and aligning.

Live view screen.

The live view is started and stopped automatically, so simply navigate to this tab to see the live view.


In order to power down the camera safely, a shutdown command needs to be sent to the system. To do this, simple navigate to the CAMERA SETUP tab, scroll to the button, and find the [OFF] button.

Power down button.
Pressing the [OFF] button will power down the camera.


Here is a list of the main hardware components used.

Everything is housed in a Canon WP-DC20 waterproof case found at a thrift store. Particle board is used to provide a mounting structure for the main components. The rear view of the main board is shown below.
Rear view of main board showing (1) Nokia LCD display, (2) 5 way navigation switch, (3) Adafruit Powerboost 500 Charger.

The front view of the main board is shown below (the camera module has been disconnected). A ribbon cable is used to provide a low profile connection to the GPIO header.

Front view of main board showing (1) 2200mAh lion battery, (2) Raspberry Pi A+, (3) USB Wifi dongle, (4) serial debug cable.

A drawing showing the wiring interconnect is provided in the repo under the doc folder.

Wiring interconnect diagram.

Particle board was also used to create a simple friction fit mounting adapter for the camera module.

Camera module mounting adapter.

This mounting adapter fits into the bottom of the lens area.

Camera module mounting adapter installed in camera housing.

With the camera module installed, it is connect to the Raspberry Pi on the main board and the whole thing is then installed as shown below. There are several internal ribs that are used to hold the main board in place.

Main board installed in camera housing showing friction fit points.

And here is the final product out in the wild.

The rpi-camera.