Battery monitoring - ever tried AN1072?


Results 1 to 40 of 57

Threaded View

  1. #24
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Re: Battery monitoring - ever tried AN1072?

    Thanks Ioannis. I just replied while you were sending your reply.

    The first lines of the AN1072 say:

    INTRODUCTION
    This application note describes how to measure the voltage supplied to a PIC ® microcontroller, VDD . The device used in preparation of this application note was the PIC16F690. The ability to measure VDD lends itself to battery applications where VDD is likely to fall over time. In this application note, an example program is provided with routines to measure VDD.

    THEORY OF OPERATION
    Select Microchip PIC microcontrollers contain a 0.6V or 1.2V internal reference that is selectable as an input to
    the ADC module
    . This provides a fixed reference to allow measurement of VDD . The PIC16F690 was chosen for this feature.



    A:- I can't still find a code example in this AN.
    B:- Can this AN be wrong?

    Right; on MICROCHIP's website, I could find two ASM code examples....but I don't know machine language or I wouldn't probably be on this forum

    But here they are (ZIPfile) so if somebody want's to have a look and "translate" the essential stuff in PICBASIC, it would be great.

    In case I can't really use the 0,6 reference voltage, I plan to make my circuit looking like this:
    Name:  2015-09-27 18_38_05-1 .png
Views: 378
Size:  37.0 KB



    Attachment 8058
    Last edited by flotulopex; - 27th September 2015 at 17:42. Reason: added stuff
    Roger

Similar Threads

  1. Battery voltage monitoring for use on 16F1825
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 23rd April 2013, 14:57
  2. Replies: 13
    Last Post: - 22nd January 2012, 04:48
  3. ADCIN car battery monitoring
    By mitchf14 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 29th June 2008, 08:04
  4. 12v car battery monitoring
    By oldcarguy85 in forum Schematics
    Replies: 2
    Last Post: - 10th December 2007, 00:26
  5. Using the A/D for Monitoring a Solor Cell and Battery
    By chuck.sieveking in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 13th July 2004, 19:27

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts