SentinelDAQ — Smart Hardware & Edge AI
What it does
SentinelDAQ is an Arduino Uno project built to monitor a water tank. Two separate sensors measure the water level: one bounces ultrasound off the surface from above, the other is a probe reading it directly. Next to them sit a temperature and humidity sensor, a thermistor and a light sensor.
Once a second the board sends its readings over USB to a Python service on a PC. The service converts them into real units (centimeters, degrees), looks at how they’ve been trending over the last 30 seconds, scores what it sees, and sends an alarm state back to the board’s LED and buzzer. Everything lands in a database and on a React dashboard.
What it’s built with
The firmware is C++ on PlatformIO and uses 7,218 of 32,256 bytes of flash (22%) and 394 of 2,048 bytes of RAM at compile time. The board and the PC talk over a small binary protocol with checksums on every frame. On the PC side it’s Python (pyserial, NumPy, scikit-learn, FastAPI) storing to SQLite and Parquet, with a React and Recharts dashboard served by the same FastAPI process. There are 165 automated tests, covering things like corrupted frames and a mocked serial reconnect (not a real USB unplug).
Who it’s for
Anyone with a tank to look after: a farm, a workshop, a lab or a tank at home. It’s intended to give early warning of a leak or an overflow before it turns into damage, and it’s built from ordinary hobby parts.
It’s also a worked example of doing sensing honestly. The two sensors that can fail transiently, the ultrasonic and the humidity/temperature sensor, carry age and validity flags, so old data is meant never to show as current, and anything simulated is labeled as simulated.
Where it stands: it’s wired on a breadboard and not yet calibrated against a tank. All five sensors report values, but the ultrasonic lost its echo on 38% of samples in that one-hour run and was aimed away from the tank in three earlier runs, and the water probe sat at its dry floor for a five-hour run. The calibration constants are placeholders. The models are trained on simulated data only and the scoring runs on the PC, not the board, so I’m not claiming any accuracy, detection latency or false-alarm rate yet. The alarm path back to the board is tested against a simulator, but the real LED and buzzer response, the simulated-data labels and the dashboard itself haven’t been checked on a physical run. The tests show the code path works, not that it catches real leaks.
Interested? Get in touch or grab the CV.