Project tutorial
Visibility sensor for divers

Visibility sensor for divers © GPL3+

Planning a scuba dive will be much easier with the data of visibility sensors on the divespot.

  • 2,234 views
  • 0 comments
  • 6 respects

Components and supplies

09590 01
LED (generic)
Make sure the LED is bright enough
×1
Adafruit TSL2591
×1
381 00
Adafruit Waterproof DS18B20 Digital temperature sensor
×1
Abx00004 iso both
Arduino MKR1000
×1
Network cable (5m)
×1
Small 2-line wire
This is used between the sensor and the LED
×1
Epoxy resin
×1

Necessary tools and machines

Wire stripper
09507 01
Soldering iron (generic)
Computer

Apps and online services

About this project

When you're planning a scuba dive, it's nice to know the visibility of the water at the dive spot. This system will contain a sensor module in the water with a temperature sensor and a visibility sensor. The MKR1000 on the side of the water will send the data wireless to the closest WiFi-hotspot (a diving centre for example). The data will be available to everyone!

It's a big disappointment when you're all geared on the side of the divespot, and the water looks like a messy soup. When you have access to the data of multiple sensors on multiple dive locations, you can decide where to dive, based on the visibility of that moment.

The sensor is based on a LED that shines on a light sensor. This way we can measure the amount of light that comes trough the water. When there are a lot of particles in the water (meaning bad visibility), the light that the light sensor will receive is less.

I have to say that this is a guide to making a test unit for near your house. The network cable can't be too long, because I2C can't handle more than 5 meters of cable. I'm planning on testing it for a while. When the results are reliable enough, I will update this page with a version that can be placed at every dive spot.

To have as less disruption by the sunlight as possible, the sensor and the LED will be mounted in a bucket or big pipe. The bucket/pipe will lay on it's side (see picture below). This way there's no sunlight reaching the sensor.

The sensor can be build as displayed here:

Try to keep it as small as possible, especially the sensor and the LED. Mine looked like this after all the soldering:

To make the sensor and the LED waterproof, I used some epoxy resin to submerge all the electronics. As the resin isn't that easy to look trough, try keep the light sensor as near to the surface as possible.

My project looks like this after the resin thing:

Just attach the sensor and the LED in the bucket or pipe with some hot glue, and that's it.

The Arduino sketch should contain a code that runs a webpage from the MKR1000 displaying the sensor values.

You can view the values via a web browser or via the special Universal Windows App (included in the repository as visual studio 2015 project).

I hope that you will get good result with this sensor! ;)

Code

Schematics

Schematics
Schematics sensor

Comments

Author

Default
svenvdvoort
  • 1 project
  • 1 follower

Additional contributors

  • The software for the tsl2591 sensor by Adafruit
  • The software for the ds18b20 sensor by OneWire

Published on

March 31, 2016

Members who respect this project

Img 0184 o1j0fhhxwrLilshredderDefaultDefault

and 2 others

See similar projects
you might like

Similar projects you might like

MKR1000 Temp and Humidity Sensor

Project tutorial by Don Coleman

  • 18,136 views
  • 11 comments
  • 31 respects

GPS Datalogger, Spatial Analysis, and Azure IoT Hub.

Project tutorial by Shawn Cruise

  • 16,938 views
  • 4 comments
  • 61 respects

Touch Sensor and Sound Sensor Controlling AC/DC Lights

Project showcase by Anbumachi

  • 1,160 views
  • 2 comments
  • 5 respects

RFID Door Unlock

Project tutorial by Kirby G

  • 22,364 views
  • 1 comment
  • 54 respects

Autobot Using Lego NXT Motors and Sensor

Project tutorial by Mark Tashiro

  • 14,928 views
  • 5 comments
  • 25 respects

Multiple mode Environmental Sensor Deck with MKR1000

Project tutorial by ConsoleTeam

  • 12,058 views
  • 14 comments
  • 50 respects
Add projectSign up / Login