Stable ADC readings


Closed Thread
Results 1 to 40 of 91

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Stable ADC readings

    Dunno buddy, replace your resistor with LED to Vdd and see what happen, Code seems to be OK.

    On your PIC16F877, make sure you have all VDD and VSS pin connected, MCLR to VDD and the right capacitor around the crystal. If you're using an >4MHz one, set the HS_OSC fuse. Always make sure you also disable LVP in the configuration fuse too.
    Steve

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

  2. #2
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: Stable ADC readings

    Dunno buddy , your program Code works very well with some resistors and one led on my PIC Hardware platform test .
    With it , the intensity varies according to different buttons .
    Perhaps microcode studio with 15 days trial .(compiler 3.0.0.1) ?
    my programmer is willem with winpic800 .

  3. #3
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: Stable ADC readings

    i 've just try compiler 2.60 plus patch 2.60c under microcode studio 3.0.0.5
    and verify fuse under willem (hs) , always the same .
    arg , no understand why if the code is good .........................../

  4. #4
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: Stable ADC readings

    STUPID I AM , no pull-up resistors for RA2 and RA3....

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,139


    Did you find this post helpful? Yes | No

    Default Re: Stable ADC readings

    Post #52

    Ioannis

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


    Did you find this post helpful? Yes | No

    Default Re: Stable ADC readings

    ----======----



    ----======----
    Steve

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

  7. #7
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: Stable ADC readings

    Hello,

    i tried with my car radio , it works well but a little slow for buttons reaction .
    Perhaps the pause ...
    I will try to integrate interrupts with it.
    many thanks Steeve.

    regards
    Hervé

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