💬 Leaky - water detector
-
-
@openhardware-io
I think this is not too useful concept.
In circuit diagram, there is no connection GPIO16 to RESET - so no deep sleep mode.
It seems, your node only connect to server when water leaks.
But what after two years, you do not know if battery are still good and your detector alive.
Better way use deep sleep, after some number deep sleep cycles ( one per day? ),
connect to wifi and send battery voltage for example.
If this message is missed, your controller can send you battery replacement message.
-
Thank you for your input. In order to lower power consumption I do not want to wake up ESP8266 every hour. That's why I did not choose the deep sleep route. ESP32 could be use instead for longer deep sleep, but seems to me be overkill for such simple circuit. Sure voltage checking would nice, no doubt. Nevertheless it is a good idea to check the board from time time that it is working correctly.
-
@Sixkillers
You can wake up every hour, but hold wifi modem off, increment "wake up counter" and go to deep sleep.
Running time between deep sleeps will be very short
And connect to wifi one per day for example.
And make some tweaks for wifi connection:
For inspiration from Step 6 here:https://www.instructables.com/ESP8266-Pro-Tips/
And final tweak here:
https://www.bakke.online/index.php/2017/06/24/esp8266-wifi-power-reduction-avoiding-network-scan/
-
@kimot Thank you for your comment & tips.
Suggested Topics
-
[Solved] MQTT gateway problem
Troubleshooting • 10 Oct 2016, 21:29 • pinkkoff 13 Oct 2016, 20:10 -
Node sending req packets constantly (Packet type 2 on MQTT)
Troubleshooting • 30 Apr 2017, 08:50 • Samuel235 30 Apr 2017, 16:58 -
RFM69 MQTT gateway radio send loop
Troubleshooting • 31 Oct 2019, 11:40 • alexelite 1 Nov 2019, 22:00 -
No forward link or gateway feature activated, but I did.
Development • 2 Jan 2017, 23:15 • nicomedia 3 Jan 2017, 13:00 -
💬 ESP-LINK ESP8266 WeMos D1 Mini Adapter Board
OpenHardware.io • 7 Nov 2016, 17:03 • openhardware.io 9 Feb 2017, 04:56 -
Happy Bubbles Bluetooth Presence Detector
OpenHardware.io • 11 Jul 2016, 19:54 • openhardware.io 8 Nov 2016, 12:32 -
Strange value being sent from controller using mixed temp/relay node
Bug Reports • 2 Feb 2015, 13:56 • Gambituk 27 Mar 2015, 22:44 -
💬 ESPboy: Games, IoT, STEM for education & fun (ESP8266 core)
OpenHardware.io • 9 Jun 2020, 18:29 • openhardware.io 14 May 2021, 03:04