wmdf97
July 12, 2022, 1:14pm
1
Hello,
I have a project which uses 3.7v 1000mAh lithium battery, and send the sensor data to Azure database every 10 seconds,
which boasts a 20 hour battery life. How to increase battery life or find the best solution to solve the long time connection (1-3 years) ?
Any help you can give would be greatly appreciated.
Send less often. Switch off between sends, activate sleep modes.
Reduce the average current draw.
(Battery life in hours) ~= (battery capacity in mAh)/(average current draw in mA).
srnet
July 12, 2022, 2:08pm
4
First step will be to measure how much current the ESP32 consumes, and for how many seconds, it takes to send one database updates.
Although in simple terms if you want to extend the battery life by a factor of 1000, send the data ever 10,000 seconds instead of every 10.
Measure every ten seconds but send less frequently. How often depends on your application needs of course.
Sleep modes will help, but ultimately, to get the kind of longevity you're looking for, you need a much, much bigger battery.
wmdf97
July 13, 2022, 1:49am
6
Send less often or activate sleep modes, but sensor data cannot be monitored in real time.
Any comments and suggestions will be appreciated.
wmdf97
July 13, 2022, 5:24am
8
MPU6050 (Gyroscope + Accelerometer + Temperature) Sensor
LarryD
July 13, 2022, 5:29am
9
Will this be getting its power from the same batteries ?
What current does your MPU6050 need ?
wmdf97
July 13, 2022, 5:57am
10
Yes, I only need to get Gyroscope & Accelerometer data.
LarryD
July 13, 2022, 7:08am
11
We need to know the current that is being constantly taken from the battery.
We then need to know the current that is needed when the ESP32 is doing it's stuff.
As mentioned the ESP32 can go into sleep modes and it can be powered down completely.
Below is an ESP32 schematic of a cct. that I use.
The sensor can turn on power to the ESP32 as needed.
The ESP32 turns off the power when it is finished.
wmdf97
July 13, 2022, 7:22am
12
Thank you for your quick reply.
When the ESP32 is in sleep modes, can it send data to Azure database?
A bigger battery will Help? The AMS1117 regulator is wasting power. Disconnect the LEDs or increase the resistance to reduce current. This is a starting point.
LarryD
July 13, 2022, 4:59pm
15
If that’s directed at post #11 , there are 3 options for applying power; one is a 3.7V battery (no regulator).
Options:
5V, 3.7V or 3.3V.
The three LEDs have a disabling jumper J11.
system
Closed
January 9, 2023, 5:00pm
16
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.