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 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.

  2. #2
    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.

  3. #3
    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.

  4. #4
    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 ?

  5. #5
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    lerameur, Why not just read the total voltage of the series connection and then the lower cell voltage. Then subtract the lower voltage from the total voltage to get the upper cell voltage? That way you only have 1 ground connection.

    Dave Purola,
    N8NTA

  6. #6
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    the batteries are not in series. One 12v battery for the controller, and a 24v (well 2 12v battery in series) for the motors. That is if I understood you correctly
    k

  7. #7
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    lerameur, After my reply I re-read the post and understood the grounds are not common. Is this true? Why can't you common the grounds?

    Dave Purola,
    N8NTA

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