Oinquer
Newbie
- Joined
- Mar 22, 2013
- Messages
- 5
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,283
- Activity points
- 1,312
Hello,
im doing an ADC reading of an 4.2 lithium battery, and i have a doubt about the circuit...
since my pic is 5V and im using a 4.2 max input im just connecting a small resistor to between VDD and AN2 from PIC to read it.
Im doing it right since i can read it... but the reading seems to slowly go up...should be oposite....do i need to put a weak pulldown to prevent voltage from "building up" or what?
someone with some experience migh help??
thank you.
im doing an ADC reading of an 4.2 lithium battery, and i have a doubt about the circuit...
since my pic is 5V and im using a 4.2 max input im just connecting a small resistor to between VDD and AN2 from PIC to read it.
Im doing it right since i can read it... but the reading seems to slowly go up...should be oposite....do i need to put a weak pulldown to prevent voltage from "building up" or what?
someone with some experience migh help??
thank you.