Scale down 12V


Closed Thread
Results 1 to 3 of 3

Thread: Scale down 12V

Hybrid View

  1. #1
    Join Date
    May 2004
    Posts
    81

    Default Scale down 12V

    Hi,

    Just wondering what is the best way to scale 12VDC (up to 13.6VDC... automotive application) down to the 5V input for ADCIN. I have a 12 segment bargraph display, and created a "Driver chip" out of one of my pics to display blank @ 0V and all 12 LED's on at 5VDC. So far so good, now I just need some guidance as to how to get automotive signals (say, a Fuel level for instance) from its 0 to 12V down to 0 to 5V.


    Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    A little search on the forum, pls.

    Come on.


    -------------------------------

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default Voltage divider.

    Hi,
    A simple voltage divider will do it.
    Take a 1.8k resistor, connect one end to your 12V and the other end to a 1k resistor. Take the other end of the 1k resistor to ground. Now connect the PIC's analog in to the juction of the two resistors. Both grounds must be connected together (battery/car and the PIC)

    13.6V over the total resistance of 2.8k will give you a current of ~4.86mA. (Ohm's Law, I=U/R or 13.6 / 2800). Those 4.86mA will 'produce' a voltage across the lower resistor of 4.86V. (Again, Ohm's Law, U=I*R or 0.00486 * 1000 = 4.86V). You may need a small cap in parallel with the lower resistor or do some low pass filtering in your code. That's it.

    /Henrik Olsson.

Similar Threads

  1. 12v car battery monitoring
    By oldcarguy85 in forum Schematics
    Replies: 2
    Last Post: - 10th December 2007, 00:26
  2. sleep dependant on 12v source
    By BTlab in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th February 2007, 15:38
  3. Scale from RC Radio 1% to 100% (Idea)
    By jetpr in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th December 2006, 13:11
  4. help!!!!
    By lokanand in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 9th November 2006, 20:33
  5. Replies: 5
    Last Post: - 2nd March 2006, 09:21

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