WaterLens Gives AI a Water Sample, Not a Prompt
A four-sensor project uses local machine learning to classify water, with a small training dataset setting the limits.

Thomas Vikström’s WaterLens feeds four water measurements into AI models running on an Arduino board. It demonstrates local classification, not a green light to drink whatever comes out of the test container.
Thomas Vikström’s WaterLens uses four sensors and an Arduino computer to tackle a practical machine-learning problem: identifying water from its measured characteristics. The device processes those readings locally, using models trained to recognize patterns in previous samples. Finally, an AI project with something more concrete to chew on than another email draft.
The hardware centers on an Arduino Uno Q with 4 gigabytes of RAM and an ARM Cortex-A53 processor. Its sensors measure pH, oxidation-reduction potential, turbidity and total dissolved solids—indicators of acidity, chemical conditions, cloudiness and dissolved material. Those measurements feed two models built with Edge Impulse, which attempt to classify the sample based on their training data. Here, “edge AI” means the computation happens on the device, rather than being handed off to a remote server.
Seawater offers a straightforward illustration of the idea: train a model on representative readings, then ask whether a new sample fits that pattern. That is pattern recognition, not a tiny laboratory handing down a verdict. Recognizing a type of water and establishing that it is suitable for drinking, bathing or irrigation are different questions; the classification alone does not establish those uses are safe.
Vikström identifies a limited dataset as a challenge. That matters because the system learns from examples: its usefulness depends on how well those examples represent the water it will encounter. WaterLens is a demonstration of local sensor-based AI, not an established water-safety test. The next development hurdle is expanding the training data and testing how reliably the models classify unfamiliar samples.