Please, confirm or fix this schematic. I want to perform detection of USB power presence and battery voltage.
- [Power Sensor] goes to ADS1115 connected via I2C. R6 & R8 is voltage divider.
- [A0] goes to Wemos D1 Mini A0 pin
Please, confirm or fix this schematic. I want to perform detection of USB power presence and battery voltage.
I don't see anything that measures battery voltage. But I guess it detects that the battery hasn't shut down completely.
Sorry, fixed
I think the ESP8266 analog input only works between zero and 1 volt. If that's right, you'll need to divide down the battery voltage from a maximum 4.2V to 1.0V. Or you could pipe that line into the ADS1115 instead.
Nice schematic. Shame it doesnt show the bits you are asking about (the ads1115 and Wemos)
or have links for data sheets for the bits it does show?
Yes
Everything looks OK.
The only thing that I would change is to also connect pin 4 of the MT3608 module to ground.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.