Since I received GREAT feedback on my first PCB design here (and it works!) I have decided to design a second (improved) version.
In this version I would like to be able to measure the source battery voltage so I can translate that to an estimated battery capacity.
For this I'd like to use the ADC pin on the ESP12. On this pin I made a voltage divider because it only measures up to 1V.
Is this a working and the best approach for a beginner to estimate source battery capacity on the ESP12?
Someone suggested placing a .1Uf capacitor between GND and where the ADC reads. What would this do?
To get around the strain on the battery caused by this divider setup, should I put it behind a NPN tranistor?
the source files are all in the project on GitHub
Did I make a mistake here?
EDIT - Thicker traces and antenna free
It also looks like this voltage divider is ok, I have tested it on a breadboard. The voltage divider power consumption is 0.0074mA if I calculated that right :)
[6