Dive into the depths of aquatic knowledge with our innovative project, the "Ultimate Water Sensor" – a multifaceted device designed to unravel the mysteries of water quality. As water enthusiasts and environmental stewards, we understand the critical role that pH, temperature, and depth play in maintaining the health of aquatic ecosystems. To empower you with accurate and real-time data, we present a meticulously crafted device that brings precision to the palm of your hand.
The journey of the ultimate water sensor began with a passion for understanding the intricate dynamics of water bodies. Inspired by the need for a comprehensive monitoring solution, our team embarked on a mission to develop a device that could seamlessly integrate pH, temperature, and depth measurements in a single, compact unit. The goal was to create a tool that not only serves scientists and researchers but also caters to the needs of hobbyists, educators, and environmentalists.
This water sensor is capable of three types of measurements and this capability useful for a variety of purposes. The depth, pH and temperature readings are all live readings that can be stored or used for any needs. This device is perfect for obtaining data for a lake, pool, or any body of water within 19.68 feet of depth. This device could save money on pH testing strips, temperature devices, and other costly water testing equipment. The communication between each device and the immediate upload to the internet makes this device a convenient tool to use for organizing and storing pertinent water data information.
HardwareThe pH sensor used within this device is the Teyleten Robot PH Value Data Detection and Acquisition Sensor Module Acidity and Alkalinity Sensor Monitoring and Control ph0-14 for Arduino. The pH sensor board has six pins, three of which are in use. The U+ pin is connected to the 3V supply of the particle device. The G pin of the sensor is connected to the GND of the particle device which represents a ground connection. The Po pin of the sensor is connected to the A0 pin of the particle device, this connection represents the pH output. This board is connected to a cylinder device that obtains the pH readings from the end of the cylinder.
The temperature sensor used in this device is a thermistor specifically a 10K Precision Epoxy Thermistor - 3950 NTC. This thermistor is an NTC so the resistance of the thermistor would decrease as the temperature increases. The thermistor allows resistance change to be calibrated with temperature, and the temperature is easily obtained from the resistance change. The circuit schematic for the temperature is complex, it uses two resistors one being 1k ohms the other being 330 ohms. The pins of the particle device in use of this schematic are the 3V supply, GND, A1, and A2.
The depth sensor in this device is the Waterproof Ultrasonic Module JSN-SR04T. This depth sensor is able to measure depth's of up to 19.685 feet or 600 cm. The depth sensor circuit board has four pins Ground, Echo, Trigger, and 5 Volts supply. The GND of the particle device is connected to the Ground pin of the depth sensor to create a ground connection. The D2 pin of the particle device is connected to the Echo pin of the depth sensor. This connection provides ultrasonic feedback for the device in terms of receiving the ultrasonic data back to the device. The D3 pin of the particle device is connected to the Trigger pin of the depth sensor. This connection sends the ultrasonic pulse for the Echo to then eventually receive. The final connection is the VUSB pin of the particle device is connected to the 5+ volt pin on the depth sensor. This connection will provide the supply voltage needed to power the sensor.
Here is a short video explaining how the device is setup and how it works. This video will show the test of depth, pH, and temperature of water.
Bidirectional CommunicationWe used bidirectional communication in formulas and to analyze safe levels. If the PH levels get out of the safe range (7.0-7.6) the D7 LED light will blink on the depth circuit. If the water levels become too low or too high, the D7 LED will blink on the temperature circuit. Lastly, the temperature values were used in a PH conversion equation in the PH code.
Our group implemented ThingSpeak into our code for live graphing of the data we obtained. Unfortunately, after a lot of effort the ThingSpeak implementation did not work and the live graphing was not present. The code for ThingSpeak and the webhooks are included in each of the three codes to show the attempt to make it happen. Here is a link to the ThingSpeak page https://thingspeak.com/channels/2364629.
Comments