Andri YadiRia Sri Rahayu
Published © Apache-2.0

Project "Gallon" - Smart Drinking Water Monitoring Platform

This project is a platform for drinking water monitoring and analytics, consists of IoT device, cloud, and mobile and web app.

AdvancedShowcase (no instructions)2 days23,492
Project "Gallon" - Smart Drinking Water Monitoring Platform

Things used in this project

Hardware components

Arduino MKR1000
Arduino MKR1000
×1
PCF8574
×1
AC-DC Module 5V 500mA
×1
10 Segment LED Bar Graph (Red)
×1
Resistor 100 ohm
Resistor 100 ohm
×11
Resistor 1k ohm
Resistor 1k ohm
×1
Resistor 475 ohm
Resistor 475 ohm
×1
AMS1117
×1
Capacitor 470 µF
Capacitor 470 µF
×1
Resistor 10k ohm
Resistor 10k ohm
×4
MOC3021
×1
BTA41600B
×1
Right Angle Tactile Push Button
×1
Push Button Switch
×1
3 Pin Connector
×1
2x5 Box Header Connector IDC
×1
10 Pin IDC Female Header Socket Connector
×1
LDR Module
×1
MPR121 Breakout Module
×1
LED (generic)
LED (generic)
×1

Software apps and online services

Microsoft Azure
Microsoft Azure
Used services: Azure IoT Hub, Azure Event Hub-compatible endpoint, Azure Virtual Machine, Azure Stream Analytics Job, Azure Storage Account
Smart Gallon UWP App - Binary
It's the binary of the app. Directly install-able on Windows 10 device. Please read the "read me first!.txt" file.
Arduino Eclipse IDE
I use this for developing Arduino MKR1000 firmware, instead of official Arduino IDE. Used version is V3
Visual Studio 2015
Microsoft Visual Studio 2015
Used for developing Windows 10 Universal Windows Platform app.

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Custom parts and enclosures

Gallon_Enclosure.dwg

The design for IoT device enclosure. Made from Acrylic.

Schematics

Gallon_Schematic

Gallon_Circuit

Code

Smart Gallon UWP App Project

This repo contains Visual Studio project source code of Windows 10 Universal Windows Platform app. It's compatible with Windows 10 tablet, desktop, and phone. Similar to web-based dashboard app, it's used for controlling water dispenser, and monitor water level and other data coming from "Smart Gallon" IoT device.

Gallon Watcher (Websocket)

This Node.js project is used to listen for incoming data from Azure IoT Hub and relay them to web-based dashboard & Windows 10 UWP app via websocket.

Gallon Dashboard & REST API

This Node.js app functions web-based dashboard to monitor and control "smart gallon" IoT device, and also as API service to serve Universal Windows Platform app and IoT device.

Project "Gallon" for Arduino MKR1000

The repo contains all firmware's source code to be deployed on Arduino MKR1000-based IoT device. It's developed with Eclipse IDE with Arduino plugin, so make sure you have it in order to build the source code.

Credits

Andri Yadi

Andri Yadi

11 projects • 86 followers
An entrepreneur. IoT, iOS, Node.js, Azure developer and influencer. Hackster Live Ambassador for Indonesia. Microsoft MVP of Azure.
Ria Sri Rahayu

Ria Sri Rahayu

2 projects • 14 followers

Comments