Night falls in Gamboa, Panama — site of the 2019 Digital Naturalism Conference. The Tungara frogs come to life, filling the air with their uncanny mating calls resonating from murky ponds and puddles. As day breaks, they retreat. I created a submersible infrared timelapse camera to capture the experience of dawn from beneath the surface of a muddy puddle, the end of a long night of singing and mating.
Here are a few of the locations where the camera was deployed overnight:
This is the device I ultimately produced (photo left, 3D scan right by Grace Grothaus). The transparent plastic on the box confused the scanner, but I find the aesthetic fitting, as if the capsule were rescued from the bottom of the ocean after years of decay.
I arrived at Dinacon with a loose idea of what I would need to make this project happen and what the results would look like. I brought an infrared camera, a Raspberry Pi, a waterproof case and 100 feet of paracord.
I took an iterative approach, repeatedly testing versions of the prototype. The first thing I realized was that for an infrared camera to work properly in low-light environments, it needs an infrared light source. I tried using one, then three small infrared LEDs in series, powered by the Raspberry Pi. It quickly became clear that this was not enough light to penetrate the murky underwater depths.
The next step was to take apart a heavy-duty infrared floodlight used by local bat researchers for nocturnal imaging. I extracted the circuit board and LEDs from the internals of this light, disabled the ambient light sensor and rewired the power supply to run off the Pi power supply using a SparkFun Buck Boost.
With this arrangement, I would experience seemingly random issues where the Pi would stop taking images and lose network connectivity once running on battery power out in the field. After some investigation and discussion with other knowledgeable folks, I measured the current drawn by the infrared light and determined it was drawing 1.8 amps. The battery pack I was using to power the Pi provides around 2.1 amps at peak capacity, so this arrangement only worked when it was fully charged. As soon as the battery was drawn down a bit, the Pi was not getting enough current to operate (around 80-100mA), so the camera ceased to work. The solution was to use a separate battery pack for the light.
Even after solving this and other technical problems, like running out of space on the Pi’s SD card, and figuring out the right cron / shell script configuration for timelapse images, a fundamental problem remained: infrared light doesn’t travel well underwater, perhaps because it is at the low end of the light spectrum, meaning it has low energy. Therefore, there wasn’t much to see in the middle of the night in the images that crepuscle produced. I schemed about how to make the most of these initially disappointing results.
At first, all the images seemed completely black. However, when I took a look at the histogram for a random image in the free image editing software GIMP, I noticed that there was some image data in the very low wavelengths. I experimented with bumping up the color curves so this information was more visible, and was pleased with the somewhat psychedelic effect.
I then applied this curve to each image with a command line batch process using ImageMagick, then compiled the images into videos using ffmpeg.
Overall, this project was a great learning experience. I learned about the physics of light and water, efficient and appropriate use of batteries in electronics, batch image processing using open source software, and how to use local found materials like bamboo and cement blocks.
Thanks to Andy Quitmeyer, Sid Drmay, Rob Faludi, Josh Michaels and everyone else who helped out. Thanks also to the Oregon Arts Commission for their financial support which made this project and experience possible.
materials
- Raspberry Pi Zero W
- Lewis N. Clark WaterSeals hard case
- Raspberry Pi NoIR camera
- 2 packets of silica gel
- SparkFun Buck Boost
- infrared flashlight
- Anker PowerCore 10,000mAh power bank
- USB to micro USB cable
- 100 ft of paracord
- 1 ft length of bamboo
- cement block
- zip ties
- solder
- wires
- 4 rechargeable AAA batteries
- battery charger
- AAA battery pack
- Aquarian H2A-XLR hydrophone and Zoom H4n audio recorder (for frog audio recordings)