-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Battery measurement #3
Comments
I think, this LDO is very tightly dimensioned: A medium current of 200mA assumed: Suggestion: Try to increase the sleep time (if possible) to 300sec (!). |
I have :-). That was my first test just to check reliability. The same circuit board is now running on a 10 minute sleep cycle - which is how it will be when it goes into my Polytunnel. This run is on a different battery and I have a suspicion that some of mine are less good than others. But the point was that voltage measurement doesn't need to use an external divider and the ADC port. https://github.com/theopensourcerer/esp8266_envmonitor/blob/master/code/src/main.cpp#L46 The graph clearly shows how the voltage degrades. The good thing was that the ESP was still able to transmit when the supply VCC was only 2.63v. |
My Environment test is still running since the 6th February and the VCC measurement of the ESP has not dropped below 3.20v yet, although I suspect it is about to. It has been "bouncing" between 3.21v and 3.20v almost since the very start of the test, but now it is spending more time at 3.20 and less at 3.21v. |
Just to follow up on this, my test on a 10 minute sleep cycle ran for approximately 28.7 days. Which is OK for my needs. |
@Zentris when you place a big cap of 1000uF between vcc and gnd of the ESP you can minimize the peaks very well. See the video of Andreas Spieß. He explains it very well. https://youtu.be/6SdyImetbp8 |
I noticed your comment about measuring the battery voltage...
I am simply using the internal measurement of the ESP (this means the ADC doesn't work but you get a decent idea of the power anyway.
This screenshot above was a test of an environment monitor that slept for 10 seconds, then it ran for about 5 seconds to send data back to my server. I wanted to see how long an 18650 (~2500mAh) would last. (About 36 hours).
But the interesting data is the relatively slow decay of voltage as seen by the ESP. I am using an MCP1700-3302E LDO regulator: http://uk.rs-online.com/web/p/low-dropout-voltage-regulators/6989044/
The text was updated successfully, but these errors were encountered: