help using adcin


Closed Thread
Results 1 to 6 of 6

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    F1CHF, The probable reason for the A/D reading jumping around is the input has some noise on it and it is being digitized. With a 5 volt reference for the A/D the minimum resolution per bit is 4.9 Millivolts. You should either do some kind of analog filtering using an RC network or do some kind of software filtering. The A/D is only telling you what it sees. Also make sure you have a ROCK stable reference voltage at the PIC. If you have access to a scope, use it, you will be supprised at what you see...

    Dave Purola,
    N8NTA

  2. #2
    Join Date
    Jan 2005
    Location
    France
    Posts
    97


    Did you find this post helpful? Yes | No

    Thumbs up ADC reading not stable

    Sir ... you got it !
    I use to "play" with a homemade dev board with a lot of stuff things
    like LCD, switches, push button, led, In situ prog, etc ...
    this developpement board is OK for normal use.
    In this case .. I discover that the small power supply has a 0.120 volt
    ripple .. with some spikes !
    2200 µF on the power itself, the well know trio of decoupling capacitors
    near the +5 volts regulator, and also near VCC and VDD on the PIC !
    you got it !
    I have forgotten the basic rule of electronic .. have a CLEAN power supply!
    it was clean for basic opération since 5 years ! not for analogique use !
    you are the winner !

    I am working on the following project :
    Using an On Screen Display IC (STV5730) show the antenna rotor position
    used in a radio amateur TVA repeater.
    I need to find a very good potentiometer to avoid variations in the reading
    thanks a lot 73's from F1CHF

  3. #3
    Join Date
    Sep 2005
    Location
    France
    Posts
    50


    Did you find this post helpful? Yes | No

    Default F1chf

    Bonjour CHF,

    J'ai essayé avec ta méthode, sans succès.... bon c'était de la simulation et ce prg fonctionne (en simul) sur pic16f88, pic16f87x.... je vais essayer avec un vrai 18f1220.

    Mais j'y pense, f1chf.... ne nous connaissons nous pas ? ce call me rappelle qq chose... du temps ou je faisais de l'émission OM et de la TVA... mon ex call F1SLU herve (pres de melun)

    73's

Similar Threads

  1. ADCIN and PIC18F4331 Arghhhhh !
    By GrandPa in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th December 2010, 20:27
  2. How to make adcin stable?
    By Pic2008 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 20th January 2009, 07:41
  3. ADCIN problems with PIC16F73
    By passion1 in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 26th July 2007, 11:38
  4. Adcin or Pot
    By lerameur in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 11th January 2007, 16:46
  5. ADCIN - AD settings are wrong
    By teverett in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th December 2006, 16:32

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