PipeCam: the low-cost underwater camera

Fred Fourie is building a low-cost underwater camera for shallow deployment, and his prototypes are already returning fascinating results. You can build your own PipeCam, and explore the undiscovered depths with a Raspberry Pi and off-the-shelf materials.

PipeCam underwater Raspberry Pi Camera

Materials and build

In its latest iteration, PipeCam consists of a 110mm PVC waste pipe with fittings and a 10mm perspex window at one end. Previous prototypes have also used plumbing materials for the body, but this latest version employs heavy-duty parts that deliver the good seal this project needs.

PipeCam underwater Raspberry Pi Camera

In testing, Fred and a friend determined that the rig could withstand 4 bar of pressure. This is enough to protect the tech inside at the depths Fred plans for, and a significant performance improvement on previous prototypes.

Inside the pipe are a Raspberry Pi 3, a camera module, and a real-time clock add-on board. A 2.4Ah rechargeable lead acid battery powers the set-up via a voltage regulator.

Using foam and fibreboard, Fred made a mount that holds everything in place and fits snugly inside the pipe.

PipeCam will be subject to ocean currents, not to mention the attentions of sea creatures, so it’s essential to make sure that everything is held securely inside the pipe – something Fred has learned from previous versions of the project.

Software

It’s straightforward to write time-lapse code for a Raspberry Pi using Python and one of our free online resources, but Fred has more ambitious plans for PipeCam. As well as a Python script to control the camera, Fred made a web page to display the health of the device. It shows battery level and storage availability, along with the latest photo taken by the camera. He also made adjustments to the camera’s exposure settings using raspistill. You can see the effect in this side-by-side comparison of the default python-picam image and the edited raspistill one.

Underwater testing

Fred has completed the initial first test of PipeCam, running the device under water for an hour in two-metre deep water off the coast near his home. And the results? Well, see for yourself:

PipeCam is a work in progress, and you can read Fred’s build log at the project’s Hackaday.io page, so be sure to follow along.

9 comments

Alain Mauer avatar

That’s cool, But I have no Octopuses here, and no ocean :)

G Marshall avatar

This project would still make for a pretty good all weather trail cam.

Eric Olson avatar

Why not to use a Pi Zero W instead of a 3B? There doesn’t seem much use for wired networking and a built-in USB hub inside the pipe and a Zero would consume less battery.

G F Wilks avatar

Could be used as a handheld camera for SCUBA diving. If so add a stabilizing fin on each side to stop the camera rolling and a reed switch & magnet to control the Raspberry Pi.
Found the above using a 8mm film camera during SDM 69 (Saturated Diving Malta college expedition in 1969.)

Mark B avatar

Pipecam is not as good as Raspberry Pipe.

Elfen avatar

This is great!

Zak Zebrowski avatar

Aside – if you are interested in going in the other direction (into the sky, via kite), check out my web page https://kite.zakz.info . Five years of getting photos from the sky where drones are prohibited. :)

The underwater project is a very cool project. :)

AndrewS avatar

Zak – have a look at https://www.raspberrypi.org/blog/kite-mapping/ if you’ve not already seen it :-)

William R Howell avatar

Could you please list the container componets like what and where did you get the plastic lens, seal, etc.. for the end tube setup?

Comments are closed