Goal: Transfer water meter data to mobile phone using home wi-fi. Use AA batteries for power.
Project Waterius : https://github.com/dontsovcmc/waterius
How it works: It consists of 2 chips: Attiny85 in deep sleep mode. It counts impulses and wakes up ESP-01 to transfer data to Blynk every day.
Power: 3 * AA batteries (or 2 * AA lithium batteries without voltage regulator).
Current: 15-20uA in deep sleep, 75mA when transmitting for ~5sec.
Livetime: estimated lifetime 4 years (!)
Setup:
clone Blynk project by QR code
copy ESP8266 device KEY to phone clipboard
connect device to water meters dry contacts
push button to turn on Active Point (192.168.4.1)
connect to Active Point and fill:
your home wi-fi title, password
Blynk device KEY
current water meter values
after 3 minutes Waterius will send you a values to check connection
now you will receive a values every day
Enjoy!
Blynk config:
V0 - water meter #1
V1 - water meter #2
V2 - voltage
V3 - value #1 delta
V4 - value #2 delta
5 Likes
Can you share our code (esp-01) to use with Arduino ide
2 Likes
This exactly what I was looking for my apartment. Thanks for sharing!
1 Like
I add instruction for ESP firmware with Arduino IDE:
# ΠΡΠΎΡΠΈΠ²ΠΊΠ° Attiny85
Π€ΡΡΠ·Ρ: E:FF, H:DF, L:62
Π Π°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π²ΡΠ²ΠΎΠ΄ΠΎΠ² Π½Π° ΡΠ°Π·ΡΠ΅ΠΌΠ΅ Π΄Π»Ρ ESP-01 (Π²ΠΈΠ΄ ΡΠ²Π΅ΡΡ
Ρ):
| **GND** | **SCK 15** | **MOSI 16** | nc |
| ---- | ---- | ---- | ---- |
| nc | **MISO 14** | nc | **Vcc** |
+ 10ΠΉ ΠΏΠΈΠ½ Π½Π° ΡΠ΅ΡΠ΅Ρ Attiny85
nc - Π½Π΅ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΡΡ
Vcc - Π² Π»ΡΠ±ΠΎΠΉ 3.3Π² ΠΈΠ»ΠΈ 5Π².
## Arduino Π² ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ISP ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ°ΡΠΎΡΠ° (3.3Π²-5Π²).
Π Π°ΡΠΏΠΈΠ½ΠΎΠ²ΠΊΠ°, ΠΏΡΠΈ ΠΏΡΠΎΡΠΈΠ²ΠΊΠΈ Ρ ΠΏΠΎΠΌΠΎΡΡΡ Arduino Micro ΠΈΠ»ΠΈ Arduino UNO:
| Micro | UNO | ISP | Attiny85 |
| ---- | ---- | ---- | ---- |
This file has been truncated. show original
I flashed ESP-01 by Arduino IDE successfully today.
1 Like
Everybody who has Water meters needs this device
I ordered electrical board in the factory. Itβs so cute =)!
2 Likes
Welcome to read long article about the Waterius on the most popular russian geek site: https://habr.com/post/418573/
1 Like
oh , thank you, really better for me