Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peppson/water-leak-sms-alarm
A small battery-powered device that detects water leakage and sends an SMS alert.
https://github.com/peppson/water-leak-sms-alarm
esp32 platformio sim800l
Last synced: about 1 month ago
JSON representation
A small battery-powered device that detects water leakage and sends an SMS alert.
- Host: GitHub
- URL: https://github.com/peppson/water-leak-sms-alarm
- Owner: Peppson
- License: gpl-3.0
- Created: 2024-04-30T15:26:25.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-08T14:35:55.000Z (5 months ago)
- Last Synced: 2024-10-31T03:22:48.370Z (3 months ago)
- Language: C++
- Homepage:
- Size: 7.88 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# water-leak-sms-alarm
A small battery-powered device that detects water leakage and sends an SMS alert.
## Features
- Completely `off` until water *(or anything conductive)* closes the circuit between two of its legs,
thereby latching on the "soft latching power circuit".
Which can later be turned off again by the microcontroller.- Latches `on` by either water detection or by pressing the test button.
- Sends an SMS alert if water is detected.
- Sends SMS diagnostics if the test button is pressed.
- Built with an ESP32 and PlatformIO, in C++.
## Schematic and PCB
KiCad files can be found here:
[📂 _KiCad/](./_KiCad/)
More images in:
[📂 _images/](./_images/)
Parts used
- ESP32 D1 Mini Node MCU
- SIM800L module with external antenna
- 3.3V LDO: MCP1700-3302E (250mA)
- LED: WS2812B
- P-channel mos: NTR4101PT1G
- N-channel mos: PMV16XNR
- Cap 470uF: Electrolytic
- Cap 22uF: Electrolytic
- Cap 1uF: Ceramic
- Cap 100nF: Ceramic
- Switch: Momentary DPST
- Conductive legs in copper/brass
PCB
> Uses mostly through-hole components for easier soldering.
> ESP32 is mounted on the bottom side of the PCB.![PCB](./_images/PCB_layout_2.PNG)
### Schematic
![Schematic](./_images/schematic_2.png)
### Hardware> This picture shows version 1.
> Version 2 eliminates some of the large capacitors that occasionally made the unit bootloop.![Hardware](./_images/hardware.jpg)
## SMS Example