Open bertiebeez opened 3 years ago
I was using 18650 LiPo batteries and was only getting about three to four days as well for exactly the reason you mentioned. Deep sleep wastes quite a bit of battery. As a result, I kinda gave up on using batteries for that reason. Just out of curiosity, how did you setup the voltage divider?
HI, I copied what I found from this person. It is not in this particular video but from one of his videos he shows how to calculate the values for the voltage divider resistors. I initially set it up for a maximum of 5volts trying to run it off of two AA, but I wound up testing using 4 AA which keeps it at full scale up until it dies. I have not put anymore time into that due to the fact I don’t want to run 4 aa batteries. The “Trig Board” that Kevin Darrah sells would probably do it off of a couple of AA but he is asking too much money for it. I am looking at a small solar panel and a single 18650 now and may buy one to see if it will work as shown in this video. I have 5 raised beds that I want to put a soil moisture sensor in along with the new drip I just purchased. I also have a 4 zone drip for the main garden which is 50’ x 75’. I want to have a ESP32 in a box at the garden and have it control the 10 zones and relay status back to a RPI in my house using MQTT over WiFi. I will probably power it all off of a drop cord.
Sent from Mail for Windows 10
From: dad2cl3 Sent: Thursday, February 25, 2021 4:05 PM To: dad2cl3/PlantDuino Cc: bertiebeez; Author Subject: Re: [dad2cl3/PlantDuino] battery life using deep sleep (#1)
I was using 18650 LiPo batteries and was only getting about three to four days as well for exactly the reason you mentioned. Deep sleep wastes quite a bit of battery. As a result, I kinda gave up on using batteries for that reason. Just out of curiosity, how did you setup the voltage divider? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Wired up a test sensor b/c I couldn't recall how low I got the current. Using the hibernate mode, I was only able to lower consumption to ~17mA in hibernate. Very frustrating since things I've read indicate it should go lower.
I am wondering if it is the board. I am using the ESP32 DEVKIT Wroom. I wonder if using something like a stripped down WEMOS D1 mini would be less current. What boards have you tried? I am also using the capcitive soil moisture sensor and a DS1820 dallas 1-wire temp sensor. I think I remember getting around 14ma deep sleep without any thing connected. I think I am just missing something because the low current draw seems to be something achievable, at least by some.
Sent from Mail for Windows 10
From: dad2cl3 Sent: Thursday, February 25, 2021 5:46 PM To: dad2cl3/PlantDuino Cc: bertiebeez; Author Subject: Re: [dad2cl3/PlantDuino] battery life using deep sleep (#1)
Wired up a test sensor b/c I couldn't recall how low I got the current. Using the hibernate mode, I was only able to lower consumption to ~17mA in hibernate. Very frustrating since things I've read indicate it should go lower. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I'm pretty sure the ESP32s that I own all use the ESP32 WROOM module so maybe other ESP32 chips are able to achieve much lower current.
Hi, I have been working on a similar project using the esp32 w/mqtt and deep sleep mode. I also am using the capacitive moisture sensors that utilize the 555 timer circuits, and a lm35 temp sensor. I also use a voltage divider to monitor the battery level. I sleep for 15 minutes, then wake up, connect to wifi, take the readings and send the mqtt messages to the three topics then go back to sleep. My Raspberry Pi is running the mqtt server along with home assistant and nodered. All of it works perfectly except for the battery life. I was testing it using AA batteries and I can not get decent battery life. It will basically die in about 3 to 4 days. I was wondering what kind of battery life is your project getting? I also should mention that I am using the hiletgo ESP-Wroom esp 32 board. JUst the board itself in sleep mode seems to be using around 12ma which does not seem right to be in deep sleep.