10bit ADC with offset on 16F88


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: 10bit ADC with offset on 16F88

    Quote Originally Posted by Amoque View Post
    ADCON1.7 = 0
    ADCON1.6 = 0
    ADCON1.5 = 1
    ADCON1.4 = 0 'LEFT JUSTIFIED
    ADCS2 DISABLED : VCFG Vref+ AVSS
    Double check all this in the data sheet. Asfaik you need to right justify for ten bit results. 1.4 is not the justify bit

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: 10bit ADC with offset on 16F88

    amoque, Here ia a bit of code I wrote some time ago for a boost gage used to read the boost pressure for a car using a 16F88 and displaying the results on a 7 segment display. It should have everyting you need.... PLease give credit where credit is due....
    Attached Files Attached Files
    Dave Purola,
    N8NTA
    EN82fn

  3. #3
    Join Date
    Apr 2011
    Location
    Welches, Oregon
    Posts
    198


    Did you find this post helpful? Yes | No

    Default Re: 10bit ADC with offset on 16F88

    Thank you all for the responses!

    There is significant there to digest Dave, but be assured I will give proper credit now, and as I study the other concepts you demonstrate, in the future as well--including the "COWS_COME_HOME" reference!

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