Using VREF pins for pots that don't reach ADC=0 or 255


+ Reply to Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: Using VREF pins for pots that don't reach ADC=0 or 255

    I'm still using MCS+.

    Can we use MCC standalone? Or do we have to "create a project" and do the entire process within MPLAB?

    I have both the MeLabs USB programmer and PK4. I suppose I could set up an older PC with MCS+ and Melabs pgmer, and use PK4 with MPLAB on this more powerful PC.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default Re: Using VREF pins for pots that don't reach ADC=0 or 255

    Yes you can install a stand alone application. No need to have the complete IDE.

    https://ww1.microchip.com/downloads/....1-windows.exe

    Ioannis

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


    Did you find this post helpful? Yes | No

    Default Re: Using VREF pins for pots that don't reach ADC=0 or 255

    Or do we have to "create a project" and do the entire process within MPLAB?
    mcc stand alone is ok it works for all the chips i typically use. i don't know if they keep it UpToDate.
    the latest mcc with mplabx6 is wildly different and i don't like the look of it so i don't use it


    creating a project takes 2 or 3 minutes tops , its excellent for setting any and all modules including the osc not just the pins
    you are only interested in the mcc generated files , they translate into pbp fairly easily with a bit of practice. the project has no other role other than documentation.

    it matters not between mcc standalone and mplabx5.xx the effort and time are virtually identical
    Warning I'm not a teacher

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default Re: Using VREF pins for pots that don't reach ADC=0 or 255

    There is a much simpler tool under GCB (Great Cow Basic project) called PPS Tool. It is used for setting the PPS registers with ease.

    This free compiler has great potential and good support (forum and YouTube videos).

    In general it is easier to setup a PIC with GCB than PBP. Have not used it much to have a detailed opinion.

    Ioannis

Similar Threads

  1. ADC problem on 18F46K22 device using all 28 ADC pins
    By JimAvanti in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd February 2012, 20:22
  2. MPXA4115A ADC vref set_up
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th August 2009, 19:04
  3. ADC Vref+ on PIC16F88
    By kblim in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd December 2008, 10:14
  4. ADC Vref
    By srob in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th April 2008, 18:07
  5. 16F819 ADC 8bit=127, Not 255?Help!
    By Accelerator in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 24th June 2006, 17:34

Members who have read this thread : 15

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