Internal Vref resolution


Closed Thread
Results 1 to 5 of 5
  1. #1
    Warrier's Avatar
    Warrier Guest

    Default Internal Vref resolution

    Hi all ye smart guys:

    Anyone knows how to increase the resolution of the 4bit internal reference? And debounce the internal comparator?

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


    Did you find this post helpful? Yes | No

    Default

    on wich device ??? Debounce internal comparator ??? why??? what type of signal do you want to measure ???
    Steve

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

  3. #3
    Warrier's Avatar
    Warrier Guest


    Did you find this post helpful? Yes | No

    Default

    Hi Steve:

    On any of the following chips 10F204,12F629 or 16F628... I am trying to sample a slowly varying signal on CIN- and hold the values (36 in all per sampling cycle) in Data memory - except of course not in 10F204.

    Since the dv/dt is quite small I felt I needed to "debounce" the threshold to avoid jitter at the trip point (cmcon.6 to be repeatable and stabe during read and write to data memory).
    I am working with battery (Li-ion button) and am turning the vref (vrcon) and comaprator(cmcon) ON only with low PRF. So I may have settling time issues also... Sampling cycle is 1sec and PRF is nearly once / hr.

    Warrier

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    http://ww1.microchip.com/downloads/e...Doc/41215a.pdf

    PICmicro Compartor Tips n Tricks. Very handy.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Warrier's Avatar
    Warrier Guest


    Did you find this post helpful? Yes | No

    Default

    Bruce:

    Thanks for the reference..It is funny I had this pdf file for sometime now but only after you pointed out did I look at the Delta-Sigma converter example again. This is giving me ideas...... I will try the trick slowly germinating in my upper floor (it is a dull one!) and if I get it right I'll let you know.

    Thanks again

    Warrier

Similar Threads

  1. MPXA4115A ADC vref set_up
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th August 2009, 19:04
  2. 12F683 internal pull up
    By hvacrtech in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th July 2008, 02:35
  3. PIC12F675, accuracy of baud rate with Internal Oscillator
    By Chris Mayhew in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st August 2005, 22:41
  4. Using VREF with 16F88
    By jpeakall in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 25th May 2005, 19:06
  5. switching external vref+ and vdd vref
    By alejandro_halon in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th February 2005, 20:13

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