A community water point should sell safe drinking water around the clock, even where there is no grid power and no attendant. This IoT water ATM controller lets users pay with an RFID card or a coin, measures every litre, runs on solar power with a backup battery, and reports each site to an online dashboard.
| Year | 2022 (third hardware revision; first version 2020) |
|---|---|
| Client type | Safe-drinking-water programme (project handed over for roll-out) |
| Our role | Electronics, PCB, firmware, IoT link, prototypes |
| Controller | ATmega2560 + ESP32 (Wi-Fi and BLE) |
| Payment | RFID ID card or coin |
| Power | Solar input, backup battery, DC adapter |

Table of Contents
The challenge
Water points are often in places with unreliable electricity, and an operator cannot stand next to every machine. The client needed a controller that could take payment by itself, dispense an exact volume, let a local admin manage users and pricing, and show what is happening at every site from one dashboard.
What we built

The board pairs an ATmega2560, which handles the machine (payment, keypad, display, valve and flow sensor), with an ESP32 that provides Wi-Fi and BLE for the IoT link. Keeping the dispensing logic on its own MCU means water sales continue even if the network is down.
- Two ways to pay: a registered user taps an RFID ID card, or anyone inserts a coin.
- Accurate metering: a metal flow sensor measures the water actually dispensed, so users pay for real litres.
- Off-grid power: separate inputs for a solar panel, a backup battery and a DC adapter keep the machine running through power cuts.
- Front panel: graphic display, keypad and card tap area in a printed bezel, plus a standard coin acceptor.
Admin card: local control without a laptop
Each site has an admin ID card. When the admin logs in, the machine opens its service menu to set prices, calibrate the flow sensor and tune the device. Users top up by giving cash to the admin, who recharges their card on the spot. This keeps everything local and simple for the operator, while every transaction is still recorded.
IoT dashboard
Through the ESP32 link, each water ATM reports to the online dashboard, which shows:
- site location and machine status
- water dispensed
- total sales value, with daily and monthly totals
- other operating data the operator needs to manage many sites remotely

Result
We built and delivered two complete units, which were tested and then handed over to the client for roll-out. The same platform suits any pay-per-use machine: water, fuel or oil dispensing, laundry, EV or phone charging, or vending.
This is the third revision of our water ATM controller. The first generation used an ATmega16 with GSM logging; read about it in Prepaid Water ATM Controller (first generation, RFID + GSM).
🛠️ Planning a vending, metering or pay-per-use machine?
We take projects from idea to production: circuit and PCB design, firmware, prototypes, enclosure integration and small-batch manufacturing. NDA available on request, and you own the design files.
💬 Discuss your project on WhatsApp or send the details through our contact form →
0 Comments