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
IoT water ATM controller front panel with keypad, display and coin acceptor
The water ATM front panel: display, keypad, card tap area and coin acceptor.

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

Water ATM controller PCB V3.1 with ESP32 module, RFID reader and power inputs
The V3.1 controller board: ESP32 module, ID-20LA RFID reader, coin acceptor and flow sensor inputs, and three power inputs (battery, DC adapter, solar).

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
Water ATM controller installed inside the cabinet with coin acceptor wiring
Inside the cabinet: the controller mounted behind the front panel with the coin acceptor and flow sensor wired in.

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 →


MKDas

Mithun K. Das. B.Sc. in Electrical and Electronic Engineering (EEE) from KUET. Senior Embedded Systems Designer at a leading international company. Welcome to my personal blog! I share articles on various electronics topics, breaking them down into simple and easy-to-understand explanations, especially for beginners. My goal is to make learning electronics accessible and enjoyable for everyone. If you have any questions or need further assistance, feel free to reach out through the Contact Us page. Thank you for visiting, and happy learning!

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *