Need Help in Measurement of Voltage


Closed Thread
Results 1 to 6 of 6

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    the OBD is a good idea, just do a serach on this forum with OBD-II, as i remind, some thread provide some already mad OBD-II ics.

    That's true, you have to limit your voltage to 5 volt as PIC work on 5 volt too, once it's done some maths to convert into a readable value.

    If you want to read voltage from battery with a range of 10-18Volts, you can use simple voltage divider resistor or using an op-amp with a gain of 5/18. One or another will give the same result. Wich can be the most accurate... i can't say as i never compare both but i guess that KISS engineering with the 2 cents resistors and, for sure, a capacitor to filter the noise (coming from car alternator and many much more source) going to the PIC adc pin will be the most efficient one. Don't worry too much about the temperature stuff, the PIC result will also differe by using one method or another. It's still to give an idea, if you're out of 0.1 or 0.2 volt it would'nt harm anybody. In fact it will always be more accurate than those analog in your car cluster ;o]

    If you plan to do some OBD-II stuff, please choose something else than PIC16F84, there's a lot more efficient and cheap than this one.
    Steve

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

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    >>Many have recomended to use resistors but is there any way to get muct better reading as resistors will change when it is subjected to heat.

    What do you think will happen to your Power Supply +5v line when you subject it to heat?

    Resistors come in all shapes and sizes down to 0.01% tollerance (or better). If you really want to go mad, try TANTALUM RESISTORS... that's assuming you can afford the price tag of several Dollars EACH (yes a whole heap of those green crinkly drinking vouchers PER Resistor!!).

Similar Threads

  1. can't solve this voltage measurement problem
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 8th November 2009, 20:10
  2. high voltage high frequency H-Bridge
    By George in forum Off Topic
    Replies: 6
    Last Post: - 27th April 2009, 11:50
  3. Expanded Scale Voltmeter
    By Pic_User in forum Schematics
    Replies: 6
    Last Post: - 8th February 2008, 20:32
  4. Help with final project
    By OvERKiLL in forum General
    Replies: 4
    Last Post: - 15th December 2006, 20:35
  5. Low Voltage Detection
    By Srigopal007 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th January 2005, 18:29

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