Skip to content
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

Does the regulator regulate the direct battery connection as well as USB? #7

Open
sorvad opened this issue Dec 7, 2019 · 3 comments

Comments

@sorvad
Copy link

sorvad commented Dec 7, 2019

If I want to use single cell Lithium at around 4.2V when fresh charged does this board regulate this to 3.3V if the battery is connected to the JST connector?

@sorvad
Copy link
Author

sorvad commented Dec 7, 2019

Just in case anyone also wants to know this, looking at the schematic the ME6211 does regulate the USB voltage in and the voltage from the battery connector via switch SW1

@adotagarwal
Copy link

do you know if this board connects the battery voltage to any ADC channels so we can read the battery level

@XTronical
Copy link

XTronical commented Jun 4, 2020

It doesn't as such because the adc's can only measure up to around the regulated voltage (3.3v) so cannot accept a voltage higher than that. But it can be done if you just tap the voltage from the main voltage using a potential divider. See this video that covers it. https://youtu.be/5JIJO1swQPE
As is mentioned in the comments though, choose a higher value than the 10k's though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants