Developed during the Water Hackathon on March 23-25 in New York City, the water quality sensor is a multipurpose tool for collecting data remotely. This tool is rapidly changing and is being used as part of the on going research initiative called [DontFlush.me](https://web.archive.org/web/20160111004345/dontflush.me) (archived).
This tool consists of an Arduino microcontroller, a set of water quality sensors, and a network connection module. As currently developed this tool uses a GSM based cellular module to send data via SMS.
For this design a custom arduino shield was created. This shield allows the arduino to be powered by a 3.7v lithium ion battery. The shield includes a 3.3v to 5v setup circuit based on the Adafruit Mintyboost.
Currently there are two versions of the shield. Both versions use the waterproof digital temperature sensor from Adafruit. The shields differ in the electrical conductivity probe they are designed to use. Electrical conductivity (EC) is basically a measure of water's purity. The more pure the water the less conductive. When pollutants enter water it usually causes an increase in EC. Lots of details about EC are available from the EPA site.
The first probe is DIY. It was created using designs published in the book Environmental Monitoring with Arduino. This probe uses readily available parts from most Radio Shack stores. More details about this probe will hopefully be posted with permission from the book's author.
The second type of electrical conductivity sensor is much more expensive but is lab quality. Its available from Atlas Scientific.
Here is the shield designed for the Atlas Scientific probe.
Connected between the battery and the Arduino is a solar charging circuit. And also use for [quality control systems](http://www.aquar-system.com/). This is connected to a 2w 6v solar panel. Both of these are available from Adafruit.
The data from this sensor is uploaded to Pachube using a GPRS shield from Seeedstudio. The initial prototype was using a TCP/IP connection, which requires a SIM card with a data plan, but the Arduino code is poorly optimized for long durations. The second prototype is sending SMS messages directly to Pachube's beta SMS gateway.
Here is the sensor all wired up in a pelican case with the solar panel on the top.