Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I am really happy about the interest interest in this project and the support from the community. That is why I wanted to fix a few issues and hardware-bugs with a new hardware revision. The changes for this new revision 4 are intentionally kept simple, so existing boards will still be software-compatible. I have lots of ideas for major changes to the hardware, but that is something for a later date. For now this is what's new:
Changes in hardware:
The MAX17048 is a so called fuel gauge, meaning that it monitors the battery charging and discharging. It does not actually measure current but does some fancy guesswork based on the battery voltage. Instead of having to use the ESP32 ADC, the fuel gauge outputs the battery voltage and percentage via I2C. This makes for a much more precise battery monitoring, similar to a smartphone.
Using a battery with internal protection is still recommended but the OMOTE now features internal protection for overvoltage, undervoltage and overcurrent using the DW01A. This IC is inexpensive and can be found in many off the shelf LiPo chargers.
The status pin is now pulled up to 3.3V instead of 5V
Changes in software:
The fuel gauge can be enabled by defining board revision 4 in Platformio.ini. For older board revisions the battery monitoring is unchanged.