Using PIC as a Low Voltage Meter, need help


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    One thing you can do is to take away the resistor network on your analog inputs and just put a 1k in place of the 100k(for isolation and input protection). That resistor network is scaling a 0-70v input to a 0-5v in to the PIC.

    Then connect a 2 volt source to AN3 to serve as the high voltage ref. To do this you need to set register bits PCFG3-0 to '0001'. This changes the range of the ADC to 0-2V, instaed of 0-5v. You could use a simple resistor divider like 3k/2k or a precision voltage reference like a LMV431 or even a zener diode.
    Tim Barr

  2. #2
    Join Date
    Jun 2008
    Location
    Eastern USA
    Posts
    5


    Did you find this post helpful? Yes | No

    Smile

    Thanks Tim for the info, i will try that and let you know how it worked.

Similar Threads

  1. The PIC does not start its program.
    By Ted's in forum Off Topic
    Replies: 36
    Last Post: - 28th July 2008, 09:22
  2. Serial Question + General Review
    By Freman in forum General
    Replies: 2
    Last Post: - 20th June 2008, 22:27
  3. Problems with RC2 and RC3
    By Christopher4187 in forum General
    Replies: 11
    Last Post: - 29th May 2006, 17:19
  4. PIC16F84(A) counter
    By nmmr in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 26th May 2005, 04:27
  5. Low Voltage Detect
    By Brian in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 1st April 2005, 16:46

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