12v car battery monitoring


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    13

    Default 12v car battery monitoring

    Hi,
    I have been working on what i call the "OBD2 LCD." it is basically an interface for a good portion of 96-up vehicles that displays all info about engine parameters on a 4x20 LCD. My question is this. Battery voltage is not a parameter i can poll the engines ECU for, so i need to read it directly from the 12v input. I am very new to circuit design, and have no idea how i can scale this 12v source (actually probably in the range of 10-16v) down to 0-5v to use the PIC ADC. i am using a pic16f877a, which i believe has a few ADC's.

    Thanks for any help!
    Jordan

    btw- if interested, here is the web site for the OBD2 LCD http://www.obd2lcd.com

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    what you need is a voltage divider made with 2 resistor, and then read the output of it. Once you have the reading, few maths to scale it in a readable mode.

    have a look at Darrel's Pic voltage divider calculator
    http://www.pbpgroup.com/modules/wfse...p?articleid=25
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Aug 2007
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    Thanks a lot! that is EXACTLY what i needed!

Similar Threads

  1. DTMF on a 12V car system
    By Jumper in forum Schematics
    Replies: 1
    Last Post: - 7th December 2008, 14:41
  2. ADCIN car battery monitoring
    By mitchf14 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 29th June 2008, 08:04
  3. Voltage monitor for car battery
    By passion1 in forum mel PIC BASIC Pro
    Replies: 50
    Last Post: - 23rd April 2008, 21:47
  4. Remote Car Starter Safety
    By CocaColaKid in forum General
    Replies: 8
    Last Post: - 22nd November 2005, 09:10
  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 : 1

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