Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Flood Early Warning Using Sonar and IVR
Tepmachcha is an open source sonar stream gauge designed to give early warning of flood conditions to residents in vulnerable areas. When a flood condition is detected, Tepmachcha triggers a call with a voice recording via the RapidPro interactive voice response (IVR) system. It also records water levels at regular intervals for later analysis of flooding patterns or to inform more complex hydrological analysis.
Tepmachcha was designed at the DAI Maker Lab in collaboration with People in Need Cambodia with funding from USAID's Development Innovations project, People in Need, and DAI. It is a fork of the Hidrosónico sonar stream gauge piloted by DAI in Honduras as part of the USAID Proparque project. It is released under the MIT License.
The world-reknowned friezes at Angkor Wat depict scenes from Cambodian history and Hindu mythology, including the tale of the god Vishnu appearing in the form of a fish to warn mankind of a catastrophic flood. This fish avatar, known in Sanskrit as "Matsya", is called "Tepmachcha" in Khmer, and is the namesake of the project.
What Tepmachcha Does: The Short Story
Tepmachcha uses sonar to read the level of water in a river, stream, or canal, at regular intervals determined by the user. It uses a cellular data connection to report that level to an internet server. If Tepmachcha detects water level in excess of yellow or red alert limits set by the user, it sends an HTTP POST request that triggers an instance of the RapidPro IVR system to make a voice call that warns users in the affected area(s). Certain operational commands can be sent to the unit by SMS.
The DAI Maker Lab Design Approach
The DAI Maker Lab leverages emerging tools and approaches associated with the maker movement to build devices and capacity that empower people in developing countries to apply technology to problems. The goal is hardware that can be locally built, repaired, maintained and extended. Toward that end, DAI Maker Lab designs:
- Are always released as open source.
- Utilize off-the-shelf parts when possible.
- Utilize open source hardware when possible, so that discontinuted components can be later recreated or replaced if necessary.
- Prefer well-documented component hardware, and hardware with an existing community of development and support, to maximize value to end users.
- Prefer transparency to non-expert users over optimal computational or engineering design.