Adcin or Pot


Closed Thread
Results 1 to 19 of 19

Thread: Adcin or Pot

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Check your statement TRISA=1. I believe you are making all PORTA as outputs except PORTA.0.

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


    Did you find this post helpful? Yes | No

    Default

    Yup but POT 'Should' do the job... As output first to charge/discharge the capacitor, then set as input to evaluate the RC plah plah.

    If the POT/Capacitors value match is not good AND the 'way to use them' is not good... of course results will be bad.
    Steve

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

  3. #3
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    In the schematic above, why the POT is connected to +5V ?

    Any particular reason?

    ------------------

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Pot

    Are you using a linear taper Pot? Audio taper pots have a logarithmic scale to their resistance and would likely present a similar responce.
    JS

  5. #5
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Well, I ordered them as Lin pots.. but knowing the numbskulls in the local shop they could well indeed be log

  6. #6
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    I am using a 47K linear POT.
    I tries usin a 0.1 UF capacitor, I was barely moving the pot and it reaches 255, bu adding 2 0.1 uF in series I was getting a little bit further. Then any changes in pot values did not change a thing. Decreasing the scale also help going a bi further. I scaled it down to decimal 2 (out of 255) and 2 x 0.1 uF caps. i am only getting halfway with the pot. i would like to go all the way.... what should I try..

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lerameur View Post
    I am using a 47K linear POT.
    I tries usin a 0.1 UF capacitor, I was barely moving the pot and it reaches 255, bu adding 2 0.1 uF in series I was getting a little bit further. Then any changes in pot values did not change a thing. Decreasing the scale also help going a bi further. I scaled it down to decimal 2 (out of 255) and 2 x 0.1 uF caps. i am only getting halfway with the pot. i would like to go all the way.... what should I try..
    What are your Vref+ and Vref- settings on?

Similar Threads

  1. Using the Pot command.
    By timseven in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 17th August 2009, 20:23
  2. A/D, Pot, Input, A,B So lost now....
    By Helmutt in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th March 2008, 22:23
  3. Replies: 4
    Last Post: - 24th January 2007, 22:20
  4. Using ADCIN or POT/RCTIME?
    By TonyA in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 16th April 2006, 18:37
  5. pot controlled pwm -- help
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 29th January 2006, 12:29

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