PIC16F1503 Fixed Voltage Reference


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644


    Did you find this post helpful? Yes | No

    Default Re: PIC16F1503 Fixed Voltage Reference

    if all you need to do is calculate vdd then
    connect adc to fvr and measure fvr count

    vdd = 1024*fvr_const/fvr_count

    fvr_const would be very close to 1.000 and could be determined using a calibrated power supply if required
    Warning I'm not a teacher

  2. #2
    Join Date
    Jan 2011
    Location
    Sydney, Australia
    Posts
    172


    Did you find this post helpful? Yes | No

    Default Re: PIC16F1503 Fixed Voltage Reference

    Thanks Richard.

    The PIC is being fed via a liner regulator so I am not that interested in reading Vdd.
    I want to read the battery voltage feeding this 5V linear reg. The battery also feeds a 6V buck regulator.
    I have the ADC pin fed via a voltage divider.
    All works well until the battery voltage drops sufficiently cause Vdd to droop, thus throwing off my ADC readings and battery status indicator LEDs.

    Given there are numerous pin compatible devices which allow the FVR module to be used as a reference voltage for the ADC, I believe my easiest path forward is to change devices.
    These are not expensive devices (~AUD$1.50 for single unit purchase) so making the change has no real drawbacks.

    Cheers
    Barry
    VK2XBP

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644


    Did you find this post helpful? Yes | No

    Default Re: PIC16F1503 Fixed Voltage Reference

    yes that method is only good for reading vdd , in the past I have used the dac module along with the comparator module for that purpose [16f648a from memory], even built a mppt solar regulator too. the dac can set high low trigger points for the comparator. resolution of about 0.1 volts is about the best you can achieve that way
    Warning I'm not a teacher

Similar Threads

  1. Replies: 8
    Last Post: - 21st March 2015, 17:21
  2. Replies: 1
    Last Post: - 18th February 2014, 02:39
  3. 16F886 and Voltage reference
    By retepsnikrep in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th August 2013, 18:15
  4. Fixed Voltage Reference
    By kduck63 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 20th April 2012, 11:27
  5. Replies: 7
    Last Post: - 22nd January 2012, 04:50

Members who have read this thread : 2

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