Scuba Pi #1

The plan for the first ScubaPi involved a Raspberry Pi, an LCD display, a Pi camera, and the Adafruit 10 degree of freedom sensor (10DOF).

LCD Display:  Adafruit RGB Positive 16×2 LCD+Keypad kit


Raspberry Pi with Adafruit RGB LCD display

Raspberry Pi with Adafruit RGB LCD display


10DOF:  Adafruit 10-DOF IMU Breakout – L3GD20H + LSM303 + BMP180

Testing the Raspberry Pi with Adafruit 10-DOF IMU

Testing the Raspberry Pi with Adafruit 10-DOF IMU

Camera:   5MP Raspberry Pi Camera board

Raspberry Pi camera module attached to Pi with LCD display

Raspberry Pi camera module attached to Pi with LCD display


Unfortunately, the combination of devices did not play well.  The LCD display seemed like a better way to display the various data from the 10-DOF IMU (inertial measurement unit; acceleration, gyro, magnetometer), but it was not to be.   Before I shelved this design, I checked the sizing in the underwater housings I had available.  Unfortunately, the LCD was too big to display in my camera housing and I didn’t have the Sense Hat when I first started this.


So, what happened?   The Scuba Pi #1 is shelved for now.   ScubaPi2 went a simpler route and then there is the ScubaPi3 with the SenseHat.

Scuba Pi 3 photos

Here are a couple of the photos from the pool test.   Not the best, meets but I cheap jerseys free shipping also Chemiker forgot to take ScubaPi the protective film Pond off the lens.   Treat Better luck next time.

#gallery-1 {
margin: auto;
#gallery-1 .gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%;
#gallery-1 img {
border: 2px solid #cfcfcf;
#gallery-1 .gallery-caption {
margin-left: 0;
/* see gallery_shortcode() in wp-includes/media.php */


ScubaPi Mk III

The third attempt at using a Raspberry Pi underwater.   [#1 didn’t make it to the water; info on #2 coming soon.]

Building on experience from the first two projects, I opted to use the Sense Hat (think Astro Pi).   One of the best features is that the LED matrix DIY display would fit cheap Cleveland Browns jerseys nicely in the display wholesale nfl jerseys port of an old Ikelite camera housing I had.

Ikelite Camera housing

I opted to use a USB battery pack, the Pi Noir camera, Sense Hat and some polyethylene packing foam to place everything.

Raspberry Pi in the housing

Here you can see the battery pack at the bottom of the housing with a block of foam between it and wholesale NFL jerseys the Raspberry Pi with the hat.   So I could keep testing after I’d sealed the wholesale MLB jerseys housing, I included a WiPi wi-fi dongle.  I also put a block Upcoming of foam on the top of the Pi to keep everything aligned.

Positioning the camera was a bit tricky.   The camera cable wasn’t long enough to wrap around the side, so I had to twist it and feed it under the Pi towards wholesale MLB jerseys the front of the Markup: housing.

Pi Noir Camera


After that, time to attach the dome port on the front of the housing and take a few test photos.

Pi Noir camera with dome port attached


I wrote a simple script Fabulously that would start at boot time to activate the camera.   All it does is create a directory to store the images then run raspistill to start a timelapse sequence.   I opted for images every 5 seconds for as long as the script ran.

Next, building on one of the example scripts for the SenseHat, data from the sensors can be gathered and displayed on the matrix display.

Pi Sense Hat matrix display


Code & scripts can be found at

NOTE: the init scripts were thrown together quickly, without the usual logic, etc.