Noise on input signal


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    Is C11 (decoupling) connected directly to pin 14 ?

    Add a large capacitor to the output of your regulator ( say 220 uF)

    X5-3 point goes to a pic pin. Is it an input? If yes and you have nothing connected to the terminal, then you have to ground or pullup also X5-3

    Cheers

    Al
    All progress began with an idea

  2. #2
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    Quote Originally Posted by aratti View Post
    X5-3 point goes to a pic pin. Is it an input? If yes and you have nothing connected to the terminal, then you have to ground or pullup also X5-3
    Another vote for pull-up or pull-down (some high but reasonable value would be OK). Floating input will see your LED transient (voltage/current change) and interpret that as an input signal (=working as a sensitive receiver).

    -Gusse-

  3. #3
    Join Date
    Feb 2011
    Location
    Michigan, USA
    Posts
    33


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    If X5-2 is power to your sensor, then maybe try a capacitor there.
    But first I would try what aratti said and use bigger caps by the regulator.

    Mike -

  4. #4
    Join Date
    May 2011
    Posts
    16


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    Thanks guys. I will try your suggestions. I will double check the TRIS registers to ensure they have the correct setting. By the way C11 is connected directly to Pin 14 and the input signal is from a low impedance source.

  5. #5
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    You need to check your grounding paths. If this circuit is built on a breadboard, it may not be easy to resolve this. Ground loops are a concern in most ADC problems. Try to get your ground routed like this
    Input -> 7805 -> Output transistor -> Microcontroller.

    Any changes in this sequence can contribute to the problem.

    Another possible problem is the rate at which you read the ADC. Do you filter the readings you get ??

  6. #6
    Join Date
    May 2011
    Posts
    16


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    Hi Jerson, yep have tried ground planes on a PCB. Slight improvement but same issue. Good point regarding sampling rate. Its 50us as defined in the code. The source has inbuilt filtering. I don't use any averaging of the sampled data.

    Someone online mentioned that the PWM setting can affect the ADC?

    thanx

  7. #7
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default Re: Noise on input signal

    No, the 50uS is the sampling time. If you happen to read your ADC at varying intervals(due to different paths of code execution), that affects the reading stability. Try to put the ADC read inside an ISR so that it reads at a constant rate. Then perhaps the coupling will break and get you stable readings.

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