Water Quality Sensor

We are Nikita Anil Kumar and Srushti Borkar, and as a part of our college course, we were required to conceive of and complete a project that could solve a problem faced by society. The problem we picked had to do with the dangers that arise from unfiltered water.

Possible Solutions:

We realised that there were two ways of looking at this problem. Either we could attempt to sense the quality of the water, or we could develop a filtration system. There were 4 potential solutions we devised that could aid in solving the problem of unfiltered water. These were:

1. An Arduino based water quality sensor – This method uses Arduino to monitor the quality of water, and can be modified to monitor various aspects such as the temperature of the water and its surrounding, the turbidity of the water (how clean the water is) as well as the PH levels of the Water. So this system monitors all of these aspect and finally when all checks have been completed, the information or data can be sent to the user. There are several tutorials that can be found for this, some of which we are adding links to here: https://www.hackster.io/eani/water-quality-monitor…

https://www.instructables.com/id/Arduino-Water-Pol…

https://www.irjet.net/archives/V5/i3/IRJET-V5I3302…

https://www.ijser.org/researchpaper/Integrated-Wa…

http://ijiet.com/wp-content/uploads/2018/01/5.pdf

2. An ARM board based water quality sensor – The ARM-based sensor system would have utilised an ARM board as the processor to carry out the water quality monitoring. ARM boards are said to be fast, accurate, and cost-effective. Different sensors can be hooked up to the ARM to provide information about the drinkability of the water. However, use of this system would have been tricky considering the fact that neither of us had any prior experience with this type of processor before. Instructions to built this can be found here: ttps://www.ijraset.com/fileserve.php?FID=5291

3. A water filter that was built using a bottle – This would act as a bio filter. The bottle based water filter is a common DIY biofilter. Instructions to create it are easily available on the internet. It works by using easy to obtain materials to filter water without the need to buy expensive equipment. Activated Carbon is a major filtration component needed, however. While simple, this method is better used as a last choice alternative. While good in a pinch, there is no guarantee as to how clean the water really is. Furthermore, it cannot be used large scale and is better suited when used by just one person. Thus, we did not use this solution. Instructions to make this can be found here: https://www.mrwatergeek.com/diy-water-filter/#How_…

4. A straw based water filter – The straw based filtration method is similar to the bottle. Instructions to make it are also easily found. As the name suggests, instead of a bottle a straw is used. Water is sucked up through one end and the biofilter in the straw filters it before it reaches the mouth of the person drinking the water. The pitfalls of this method are also similar to those of the bottle filter, in that it cannot guarantee the cleanliness of the water, and is not appropriate for large scale impact as a solution. Instructions for this method can be found here: https://www.instructables.com/id/DIY-water-purific…

5. Distillation system – This method uses a boiler, a set-up of copper pipes, and a collection unit that can purify dirty or salt water directly on a stove top. It produces lots of pure drinking water quickly, and can be powered by stove, rocket stove campfire, parabolic dish, etc. However, since we did not have access to a boiler in the lab, and this solution would not work at a large scale basis, we decided not to go with it. The tutorial for this can be found here:

6. Bicycle – Powered Arduino Water Purification System – This method uses mechanical energy produced by a bicycle to power a UV-C water purification system with Arduino control. A dynamo in the rear of the bicycle charges a battery that runs the Arduino and the light. Although this is a very innovative and ecologically friendly solution, the method was very complex and required several components, for which we lacked the knowledge and financial resources. However, for those interested, the tutorial can be found here: https://www.instructables.com/id/Bicycle-Powered-A…

Solution Chosen:

We decided to work on an Arduino based water quality sensor for our project.

Even water taken from filtration systems may be dirty, and cause illness to consumers. There is also no way to determine if the water is dirty on any particular day. The problem of unfiltered water affects society as a whole. As mentioned above, this problem has multiple facets. First, there needs to be a method of indicating that the water is dirty. Second, if the water is dirty it must be filtered, or replaced.

Dirty water is a large problem in places like villages where filtration systems may be hard to come by. Considering the prevalence of waterborne diseases it is imperative to develop a system that provides an indication of when water is safe to drink at the very least. The solution must be dispersed to areas where water filtration is a problem. This can be done through NGO’s or even a government scheme. On a smaller scale it can be taken up by the college to install filtration systems in the coolers.

The quality of water has an impact on the living beings. Water quality testing is an important part of environmental monitoring. Water quality refers to the chemical, physical, biological, and radiological characteristics of water. It is a measure of the condition of water relative to the requirements of one or more biotic species and or to any human need or purpose.
The main parameters that define water quality are monitored and observed. To monitor the parameters, different sensors like pH, IR, Temperature and Conductivity sensors are used. All the measured parameters are compared with the threshold value that defines the purity. Once the parameters are measured they are sent to authority in the form of alert messages. The ideal solution would be a water quality monitoring system in the Arduino platform that measures the pH, conductivity, temperature, and turbidity of water using sensors. These sensed parameters are conveyed to the consumer either via Bluetooth, or displayed on an LCD/LED screen. Based on this, the consumer can gauge whether the water is suitable for drinking.

The current prototype is a work in progress, and only uses a turbidity sensor and a temperature sensor.

Problems we Faced:

Our first challenge as we started this project, was that we had no idea that sensors would be so costly. As we started doing our research, we found that most of them were beyond our budget, and most would have to be imported, for which we did not have time. Initially, we wanted to use dynamic sensors, but taking the costs into consideration, we were only able to invest in a non-dynamic turbidity and water temperature sensor.

As amateurs, we had trouble with the technical aspects of carrying out this project, especially in terms of the coding. Having no prior knowledge of C programming we were unable to combine the separate codes for the temperature and turbidity portions.

Additionally, we did face some problems with the setting up of the turbidity sensor, which needed to be opened up and trimmed before it worked satisfactorily. We also had a lack of available NTU values of water, which are generally used for the calibration of the turbidity sensor. We had to use our own discretion while measuring the benchmark values.

The turbidity sensor gave us trouble in that, when it was placed in water the values outputted would change rapidly instead of staying stable. These fluctuations could be as large as 500-1000 units. Since we were defining the benchmark value for drinkable water, each time the sensor output fluctuated the benchmark value would have to be changed. This led to the LED set-up frequently ceasing to function until we could update the benchmark. Effectively, this meant that the turbidity sensor set-up would only function for 1 use before the code had to be modified.

In terms of the display of the temperature, our original plan was to use an LCD screen as opposed to the currently used LED display. However, the large amount of soldering required to connect the LCD display made it difficult for us to actually do this. We finally decided to work with the LED display if only for ease of connecting it.

Another issue was regarding the output for the user, for which we would have liked to use a Bluetooth module. While we agree that it would be best for users to have to ability to check for the water quality on their phones, we were not able to integrate it in the time that we had.

Since this project is only a prototype, these are challenges that we hope to overcome in the future, in order to make this a high impact, economically feasible, commercial product.

Materials Used:

Turbidity sensor

Temperature sensor

4-digit 7-segment LED display

Jumper wires

Arduino Uno

Breadboard