Hi, I need to build WiFi thermometer for heating control with one DS18B20 temperature sensor.
I would like to use only ESP8266 ESP-12, 18650 battery and DS18B20 sensor.
I read about project with 3 Ikea AA alkaline batteries and DHT22. It use deep sleep and wake up every 1 minute and send data over wifi. It works 55 days!
I would like to improve it. Use deep sleep and wake up every one minute. After wake *not enable wifi and connect to ap*, only read data from ds18b20 sensor and compare it with previous value. If the last and current values difference is great than 0.25°C, connect to AP a send data. Otherwise sleep for next minute. And every 15 minutes send data.
Is it possible with ESP Easy (and how?) or I need to use plain Arduino?
ESP Easy with disabled wifi (battery and deep sleep)
Moderators: grovkillen, Stuntteam, TD-er
Re: ESP Easy with disabled wifi (battery and deep sleep)
55days is very nice... i made a plugin to use modemsleep function, it means that cpu remains active, but stops wifi. I think that after resuming the deep sleep the first command can be "modemsleep,1", and when you wan to connect "modemslep,0" but i have never used it combined with deep sleep.tuxmartin wrote: ↑27 Feb 2018, 22:47 I would like to use only ESP8266 ESP-12, 18650 battery and DS18B20 sensor.
I read about project with 3 Ikea AA alkaline batteries and DHT22. It use deep sleep and wake up every 1 minute and send data over wifi. It works 55 days!
I would like to improve it. Use deep sleep and wake up every one minute. After wake *not enable wifi and connect to ap*, only read data from ds18b20 sensor and compare it with previous value. If the last and current values difference is great than 0.25°C, connect to AP a send data. Otherwise sleep for next minute. And every 15 minutes send data.
Is it possible with ESP Easy (and how?) or I need to use plain Arduino?

Topic:
viewtopic.php?t=2846
Source:
https://github.com/enesbcs/ESPEasyPlugi ... iFiMan.ino
Re: ESP Easy with disabled wifi (battery and deep sleep)
55 days not with 1 minute interval, but 5 minute DeepSleep interval...
"hodnota 300000000 je právě zmíněnných 300s (5minut), po které bude ESP8266 v Dsleep módu."
I speak czech too
)
So with your 15 min interval it will be theoretically cca 3x50 days
"hodnota 300000000 je právě zmíněnných 300s (5minut), po které bude ESP8266 v Dsleep módu."
I speak czech too

So with your 15 min interval it will be theoretically cca 3x50 days
-
- New user
- Posts: 1
- Joined: 27 Sep 2018, 06:37
Re: ESP Easy with disabled wifi (battery and deep sleep)
Than you for sharing this thread this is very helpful for everyone.
Re: ESP Easy with disabled wifi (battery and deep sleep)
Any updates on this? Were you able to build this? I am looking to do the same.
Who is online
Users browsing this forum: No registered users and 28 guests