How much does it cost to develop an OCR water meter?

We recently tackled a project focused on building an autonomous OCR water meter, a device that reads existing meters with Optical Character Recognition. Our client, operating in the Smart City space, wanted to retrofit existing water meters for automatic meter reading instead of replacing each one with a new smart water meter. This case study breaks down the OCR water meter development cost, from power management and on-device digit recognition to the hours each project stage took.

Project context and the need to retrofit existing water meters

We developed a non-invasive hardware solution that mounts onto existing analog meters to digitize readouts, process the data at the edge, and push it to their cloud platform. The initial brief mentioned standard requirements, but as soon as our engineers dug in, the real complexity became clear. While the chosen components were readily available, the functional requirements quickly exposed deep technical hurdles.

The truth is, the hardware cost of this device was the easiest part. The real investment lay entirely in solving engineering challenges. It was this focused effort on deep system integration that guaranteed the device would be reliable, compliant, and maintainable for a 10-year life cycle.

Smart OCR Water Meter

Pain points that blocked automatic meter reading

No reliable way to stream water usage data from existing meters.

Lack of remote firmware-level device monitoring.

Need for a device working in a low-light environment.

To solve these critical data streaming, reliability, and low-light issues, we defined the core hardware and firmware stack.

Hardware stack for water meter

ESP32-CAM microcontroller.

Wi-Fi & SIM connectivity module for cloud communication.

Backup battery-power.

Firmware stack for OCR water meter

Camera capture, digit recognition, LED for low light.

Diagnostics, power modes, button controls.

Wi-Fi STA/AP, basic web UI, MQTT/LTE for cloud.

Solution overview

We built the core solution around three critical engineering priorities for OCR water meter.

1. Power management for longevity

The initial requirement for multi-year battery operation in weak signal environments immediately signaled the need to go far beyond standard deep sleep modes. The ESP32-CAM is power-hungry, so our team’s challenge was to optimize every component’s duty cycle. We spent significant effort meticulously tuning the sequence of events: the ultra-short LED flash duration, the image capture process, the on-device inference, and the minimal Wi-Fi and LTE modem connection cycle to radically reduce the transmit/receive time. Our approach involved leveraging a custom low-power state machine, managed by the ESP32’s built-in ultra-low-power (ULP) co-processor, to strictly regulate the main ESP32’s wake-up schedule.

2. Working in dim basements with on-device digit recognition

The device had to deliver an accurate water meter reading even when installed in dim basements. Our fear and the client’s risk was inaccurate water meter OCR results or high power draw from running complex processing. To solve this, we focused on Edge AI and firmware synergy. We custom-tuned the camera driver and integrated a pulsed LED assist system with extremely precise timing control. We then optimized the on-device digit recognition model and compression techniques to ensure the inference could be run reliably on the limited resources of the ESP32-CAM. This capability ensures data is validated locally before consuming costly cellular data for cloud transmission, significantly de-risking the entire system.

3. The "Black Box" problem

Our clients demand transparency and assurance against vendor lock-in. They need to know they can monitor and maintain their fleet of OCR water meters long after our initial engagement. To meet this need, the solution integrated two key features.

  • The first is a secure OTA and command layer. We implemented a robust Over-The-Air (OTA) update framework. Crucially, the cloud integration (via MQTT/ LTE) was architected with a secure command-and-control layer. This allows the client’s internal team to securely manage firmware updates and remote configuration.

  • The second is local and remote diagnostics. To eliminate the “black box” fear, we included a secure, lightweight local web server for field technicians. This interface provides crucial operational metrics: battery voltage, last successful read, network signal strength, and health status. This transparent reporting and remote device monitoring capability is designed to facilitate easy long-term device lifecycle management by the client’s own engineering staff.

OCR water meter development cost by project stage

We express the estimate in engineering hours, which makes IoT device development cost comparable across teams with different hourly rates. The IoT proof of concept took 48 to 64 hours, and the MVP with custom hardware added another 290 to 510 hours, for a total of 338 to 574 hours. Connectivity was the largest single stage, at 90 to 150 hours, or roughly 30% of the MVP effort. Designing, manufacturing, and testing the custom PCB took another 60 to 140 hours. The proof of concept made up only 11 to 14% of the base estimate, which shows how much work separates a working demo from a field-ready device.

Stage Description                         Min   h Max   h
Setup & Infrastructure
Prepare repository, build environment, and validate chosen ESP32-CAM hardware for RAM, Flash, and processing capacity.
10
12
Connectivity & Config
Implement Wi-Fi STA/AP modes, provide a basic AP configuration webpage, and enable MQTT communication with a local broker.
18
24
Imaging & Processing
Integrate the ESP32-CAM for image capture and process meter readings using hardcoded digit ROIs.
16
22
Controls & Interaction
Add button controls for reset and entering configuration mode.
4
6

Proof of Concept (POC)

48
64
User Interface & Config
Develop local web interface with live camera preview, ROI configuration, display of readings, battery status, and LED light levels.
70
110
Camera & Imaging
Implement detailed camera configuration (exposure, brightness, orientation) and optimize capture for accuracy.
30
50
Frontend Development
Build a lightweight JavaScript/HTML interface for device configuration and monitoring.
40
60
Connectivity
Integrate LTE modem, ensure stable cloud communication (ThingsBoard, AWS, or MQTT with security).
90
150
Hardware & Testing
Design, manufacture, and test custom PCB (v1), including accuracy analysis of LED brightness, camera placement, and parameters.
60
140

MVP (with custom hardware)

290

510

Summary time for project:

338

574

Risk assessment

Two risks can extend the schedule. Adding their 80 to 340 hours to the base estimate puts the full OCR water meter development cost at 418 to 914 engineering hours. Retraining the neural network is the larger risk, at 80 to 240 hours, because it requires collecting a new dataset.

Risk     Description                              Min   h Max   h
Core functionality may require re-implementation
If existing third-party components prove unsuitable for production use, parts of the image-processing pipeline may need to be redeveloped.
0
100
Neural network model may require retraining
Accuracy might not meet production standards, requiring dataset collection and retraining.
80
240

Total risk estimates:

80

340

Key takeaways

  • Most of the budget went into power management, imaging, and connectivity, while the hardware itself was the easiest part.

  • The proof of concept took 48 to 64 hours, and the MVP with custom hardware needed 290 to 510 hours.

  • Model retraining and pipeline rework can add 80 to 340 hours, so the full estimate ranges from 418 to 914 hours.

  • A device that can retrofit existing water meters brings automatic meter reading to a site without replacing the installed meters.

  • On-device digit recognition validates each reading locally before the device spends cellular data on sending it.

Planning a new connected product or the next generation of an existing one?

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.