measuring battery voltage

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
Ondra
Posts: 325
Joined: Wed Aug 29, 2007 7:33 pm
Been thanked: 2 times
Contact:

measuring battery voltage

Post by Ondra »

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

User avatar
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

Post by Enamul »

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
Enamul
University of Nottingham
enamul4mm@gmail.com

Post Reply