Flood Detection

By B.E. Alejandro


Introduction and Justification

The state of Hidalgo (Mexico) faces a critical, recurring water-risk problem, showing up as flooding from overflowing rivers and dams. This is made worse by the lack of constant monitoring systems and the absence of a robust, accessible Early Warning System (EWS) for the population in at-risk areas.

Every intense rainy season, thousands of Mexican families — particularly in Hidalgo — are affected by these overflows, resulting in loss of life and property. A tragic, emblematic example was the Tula river flood in September 2021, where the overflow reached up to two meters in height, affecting more than 2,500 homes and taking the lives of 17 people at the IMSS General Hospital (HGZ) No. 5 in Tula de Allende 1, 2.

The municipalities identified as most vulnerable to this type of event include Tula de Allende, Huehuetla, Tianguistengo, and other areas of the Huasteca and the Sierra Hidalguense 3, 4. In addition, the management of reservoirs such as the La Esperanza Dam (which has reached 100% of its capacity) and the Tejocotal Dam (at risk of overflowing during high-precipitation seasons) underscores the urgent need for real-time monitoring 5.

Proposed Solution: A Flood Detection System Based on Meshtastic/LoRa

This project proposes a Flood Detection and Early Warning System (SAT-I) using Meshtastic mesh-networking technology over long-range, low-power radio infrastructure (LoRa). The system is designed to operate autonomously and resiliently, even if conventional communication networks (mobile telephony or Wi-Fi) go down 6.

Components and Operation

  1. Water Level Detection:
  1. Autonomous Communication (Meshtastic/LoRa):
  1. Early Warning and Additional Applications:

Minimum Requirements for the Prototype

An initial monitoring node and its repeater require:

ComponentQuantityFunction
LoRa/Meshtastic Modules2Autonomous communication nodes (one for the sensor, one as receiver/gateway).
Ultrasonic Sensors2Precise (±1 cm) water-level measurement.
Autonomous Repeater1Additional node with solar power to extend the mesh network’s range.

Deployment Considerations

Deployment of the system must be preceded by a detailed topographic study. This study is crucial to:

All repeaters should be autonomous and solar-powered, taking advantage of LoRa’s energy efficiency and low power consumption.

Scalability and Additional Applications: Benefits for Agriculture

The modular, resilient architecture of the Meshtastic/LoRa-based SAT-I system allows for immediate scalability to integrate other sensors and data sources, extending its usefulness beyond flood prevention. Since Hidalgo is a state with a significant agricultural sector, this scalability offers direct benefits to the primary sector.

Integrating Weather Systems for Rainfall Prediction

This project proposes integrating autonomous weather stations (solar-powered and equipped with precipitation, temperature, and humidity sensors) that also use the Meshtastic/LoRa network for data transmission.

Additional DataBenefit for Flood PreventionBenefit for Agriculture
Accumulated RainfallAllows modeling of soil saturation and predicting river flow with greater precision, improving early-warning lead time.Helps farmers optimize irrigation and plan planting and harvesting based on water availability.
Temperature and HumidityProvides context for predicting intense storms and hydro-meteorological phenomena.Facilitates pest and disease management, and optimizes growing conditions for specific crops.

By sending this data over the mesh network, a decentralized, robust environmental information system is created. Combining weather forecasting (rainfall data) with real-time hydrological monitoring (water level) provides a much more complete analytical tool for disaster prevention.

Conclusion

Integrating precision sensors with the resilient Meshtastic/LoRa communication network offers an autonomous, self-sufficient solution for early detection of water-related risks in Hidalgo. This approach not only addresses the vulnerability of conventional networks, but also provides a vital tool for safeguarding the population and protecting their property against an imminent overflow.


References (Bibliography)

  1. Redacción. (2022, September 7). A un año de la inundación en Tula: las damnificadas enfrentan daños emocionales y falta de apoyo. Corriente Alterna UNAM.
  2. Gaceta UAEH. (n.d.). Inundaciones en el Valle del Mezquital, una tragedia anunciada. Universidad Autónoma del Estado de Hidalgo.
  3. Milenio Digital. (2025, May 12). Estos son los municipios de Hidalgo con mayor riesgo de inundaciones. Milenio.
  4. La Jornada. (2025, October 10). Lluvias desbordan ríos en Hidalgo causando graves inundaciones en 7 municipios.
  5. Yahoo Noticias. (2025, June 30). Hidalgo se mantiene en alerta por intensas lluvias y presas al límite.
  6. Zona Industrial. (n.d.). Meshtastic - Guía para tu Red Mesh.
  7. YoLink. (n.d.). YoLink LoRa - Sensor de fugas de agua de hasta 1/4 de milla.