Battery checker


Closed Thread
Results 1 to 19 of 19

Thread: Battery checker

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    I got it working but have no clue why .
    If i do what is on the pic :
    http://www3.sympatico.ca/lerameur/
    then it works.
    In this manner the output voltage also moved at the same time as the reference voltage no ?

  2. #2
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Talking

    Anybody ??

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,651


    Did you find this post helpful? Yes | No

    Wink Rtfds !!!

    Hi,

    I think ( ! ) a look to the '88 Datasheet ( ADC config ) could help you a bit ...

    Alain

    PS: common diodes as voltage refs ... that's a bit rock and roll ...
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    I just changes the circuit a bit. I have new ideas this morning. night was good.
    I am getting 1.06v steady on the diode as reference. My voltage divider shows me 0.7, but I am getting zero as output now.
    Is it the hardware or the programming ?
    I posted a new pic.
    http://www3.sympatico.ca/lerameur/
    also changed this line:
    ADCON1 = %10010010


    ken
    Last edited by lerameur; - 29th January 2007 at 14:36.

  5. #5
    brianwu's Avatar
    brianwu Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lerameur View Post
    but I am getting zero as output now.
    Is it the hardware or the programming ?
    I posted a new pic.
    http://www3.sympatico.ca/lerameur/

    ken
    Picture show you have both input connected to same place (ref. diode), resistor divider left unconnected.

  6. #6
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    I got it going somehow. I dont even know what I was doing wrong...
    maybe I am still sleeping
    k
    Last edited by lerameur; - 29th January 2007 at 17:18.

  7. #7
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    Ok I think I know where lies the confusion.
    Ihave two batteries I want to check.I can check the battery that powers the microcontroller with voltage reference. I am trying to check the second battery . There is no common ground and I dont want one because of the isolation I want to have. Therefore I think when I do an A/D, is reads as a floating value.
    How do I go around this ?

Similar Threads

  1. Of battery discharge curves
    By ardhuru in forum General
    Replies: 0
    Last Post: - 21st January 2009, 16:24
  2. Low battery signal from an RTC
    By ardhuru in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th March 2008, 17:13
  3. Replies: 1
    Last Post: - 20th December 2005, 03:56
  4. Help with setting adcon1 for 16f877
    By jessey in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 16th August 2005, 11:13
  5. Battery backup with long delay
    By Dwayne in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th January 2004, 20:38

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