Overview
Landfills generate methane as waste decomposes. Captured, it can be flared or used for energy; uncaptured, it is a potent greenhouse gas and a fire risk. This project built an automated system that measures methane at multiple points across a landfill and streams the readings to the cloud, giving operators the data they need to decide where and when to capture or flare gas.
It was developed as a competition project and won the IEEE INSL (Colombo South) competition, and reached the South-East Asia finals of Microsoft Imagine Cup 2023.
Problem
Manual gas surveys are periodic, labour-intensive and expose staff to hazardous conditions. Between surveys, operators have no view of how emissions change across the site. The goal was continuous, spatially distributed measurement that needs no one on site to read it.
Requirements
- Measure methane concentration at several locations across the site
- Operate unattended outdoors, in dust and heat
- Deliver readings to a central dashboard in near real time
- Make the data usable for capture and flaring decisions — trends and thresholds, not just raw numbers
System architecture
Hardware
Each measurement point is a self-contained node: a methane sensor, an ESP32 microcontroller with built-in Wi-Fi, and its own power supply, in an enclosure for outdoor use.
Firmware
The ESP32 firmware samples the gas sensor, filters the reading, and publishes it as an MQTT message tagged with the node's identity and location. Using MQTT keeps nodes lightweight and decoupled from the backend — a node only needs to know the broker, and new nodes can be added without changing the cloud side.
Cloud and data path
Node-RED subscribes to the sensor topics, applies processing and threshold rules, and forwards telemetry to Microsoft Azure IoT for storage and visualisation. Operators see current and historical readings per location, and alerts when concentration crosses a threshold.
Testing & validation
Results & lessons
- Winner of the IEEE INSL (Colombo South) competition, and South-East Asia finalist in Microsoft Imagine Cup 2023.
- A publish/subscribe design made the system easy to grow: each node is independent, and the backend never needs to poll devices.
- Separating the data path (MQTT, Node-RED) from storage and presentation (Azure) let each part be developed and tested on its own.



