Inspiration

As Californians, the Droplytics team has seen the progression of this drought over the past four years; although we've just gone through an historic el nino, we would need three to four more such events just to get back to normal reserves.

The reality of global climate change is that we as Californians face this problem now, and well into the future. Water scarcity is not a new phenomena - it is the new normal, and it is global in scope.

We need a conservation renaissance. We know that we need to save more water, we know that our very existence depends on it - so what's stopping us?

Let's use the hard-drive as an analogy. Think about the last time you needed to clear some space on your computer. You know that you have limited space, say 500GB, and that you are using nearly 490GB. If I just gave you this information, how would you start cleaning? Where do you look first? How do we separate what is junk from what is important?

To make intelligent decisions, you need intelligent information! You need to see how your space is being used, where your biggest files are stored, and how often you've been using them. With this information, the path to a clean hard drive is clear.

Now, think about your water bill. All I give you is a piece of paper every 1-3 months with two numbers: the amount you will pay, and the volume of water you used (in some obscure units). This system is akin to you logging in to your computer to clean your hard drive only knowing how much space you've used.

There is simply no way to truly optimize your water usage without reliable benchmarks. The Aquastat was conceived and designed specifically for this task. Gone are the days of the water bill as our conservation yardstick. Welcome to the future of smart homes, where you can analyze, and optimize your home's water usage effortlessly.

What it does

The Aquastat is a novel aeroacoustic sensing platform designed to be placed on or near fixtures. It uses a combination of vibrational and acoustic sensing to 'tune in' on and estimate water flow. Once water flow has been detected, the Aquastat kicks into gear and starts listening for and making sense of the flow rate. This information is then transmistted over BLE to the Artik where we have access to advanced signal processing and machine learning capabilities. Together, the Aquastat and the Artik form a feedback loop that will give people insight into their water usage like never before.

Although or sensing system is novel in the consumer space, this idea is not completely new. In days gone by, our very survival may have depended on the ability to listen for and estimate the quantity of water flowing near us. Humans intuitively sense water flow rates through sound. Unfortunately, it has not been feasible to teach a machine to do this - until now.

With the ability to break down and examine the audio, and ultrasonic spectrums in near-real time, we can actually see and make sense of the sounds emanating from the pipes in your home, and correlate these sounds to their respective flow rates.

During a short calibration procedure, we simply place the device in the desired installation location on or near a pipe or faucet. Next, we collect some training data with the Aquastst, and send it over to the Artik for processing. The Artik filters and analyzes the audio data collected, and classifies features of the sounds that separate which data corresponds to low and high flow rates, and which parts of the data are just noise. Once the calculations on the Artik are complete, we transmit an acoustic fingerprint to the Aquastst for it to use on its local 'on-the-fly' calculations. Using this fingerprint, we have an accurate benchmark for the Aquastat to estimate water flow with. Now, whenever we turn on the water, the Aquastst not only detects these events, but actually estimates the water flow in real time!

With a distributed set of Aquastats, one can outfit a home with the Artik serving as the IoT hub making sense of the data, ensuring accuracy, and transmitting

How we built it

Aquastat Hardware

The Aquastat is a completely custom, mixed-signal system that uses a powerful microcontroller to run FFTs on sensor data collected. Once we had outlined the performance target and bandwidth necessary for the sensor, we laid out the PCB and sent it to fabrication.

After we received the blank PCBs, we sat down under a microscope for a few hours and placed all of the fine pitch components.

Aquastst Web Interface

The Aquastat web interface utilizes a mix of python Flask, jquery, bootstrap, and plotly charts. All of these elements were integrated together in about 3 weeks, allowing users to see live plots of their water flow usage piped to our web servers from the Artik.

Aquastst Mechanical

Challenges we ran into

BLE

We chose BLE for this first iteration, primarily for low power, and because we had some previous experience with the protocol for mobile applications. Because the Artik 10 is still in beta, this made BLE connections a little tough, but ultimately we persevered by using a BLE UART dongle as a workaround. From there, we were able to use standard Linux BLE tools like Bluez, hcitool, and gatttool to connect and communicate between the Artik and the Aquastat.

PCBs

We didn't use soldermask on our first batch of PCBs to speed turnaround, and to save on cost. The flat-pack and fine pitch components were very difficult to solder without shorting to power and ground planes, so we had to do a second run.

Web Interface

Using python as our web server backend proved both challenging and rewarding. While initial setup and testing took a long time, the end result is a web application that is highly modular, expandable, and able to be ported to a variety of devices.

Accomplishments that we're proud of

First and foremost, we did something that's never been done before!

Apart from being accepted into the Samsung MAD challenge, we've also garnered interest from The Foundry at UC Berkeley, a tech startup incubator - and CITRIS, the University of California's center for developing new technologies in the interest of humanity.

What we learned

We have learned a lot about the varying fields of aeroacoustics, signal processing, and entrepreneurship.

What's next for Aquastat

In the coming months, we will continue iterating on our design on all fronts. We plan to further miniaturize the Aquastat, fitting the device into a single housing that wraps around a pipe, inclusive of the microphone. Furthermore, we plan to expand the data available on our web portal, and expand our front facing application to mobile devices.

As we expand the functionality of the Aquastat on all fronts, we will continue testing and refining our design with beta users, eventually leading to a fully manufactured product available to the public.

Code

Please find our code hosted on Gitlab: https://gitlab.com/friend0/lighthill.git Our website can be found in this .zip: https://www.dropbox.com/sh/o78mxo6jej7yx6d/AAD8hMG6Ov8Yk_JgltkZqEcZa?dl=0

Built With

Share this project:
×

Updates