Good day All.
I want to use the PIC to measure battery voltage up to 7.4 volts. Can someone point me in the direction where I can find
a circuit and code example? Thanks in advance.
Ondra
measuring battery voltage
Moderator: Benj
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: measuring battery voltage
Here is a voltmeter that can be used up to 10.2V..I forgot to mention one thing..you have adjust adc voltage such a way that when your input voltage is 10.2; the voltage at adc pin should be 5v. Bcz voltage at PIC input can't be greater than 5V.
- Attachments
-
- Voltmeter.fcf
- (11 KiB) Downloaded 341 times