[General] Issue in Battery voltage monitoring using STM8L151

Status
Not open for further replies.

umesh057

Newbie level 1
Joined
Jul 1, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
I m using STM8L micro controller. This micro controller is powered by 2.4V rechargeable battery. When i tried to monitor the Battery voltage using ADC pin the ADC value remains unchanged due to VCC of the Micro controller is same as ADC input. How can i solve this issue.
 

HI,

use a voltage divider to scale down battery voltage.
Use a reference voltage for the ADC.

Klaus
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…