Jump to content
43oh

ADC not giving 0 value when grounded


Recommended Posts

Sounds like noise.  How is the ADC input physically connected to ground? If it is a long jumper wire you may want to shorten it as much as possible. A long jumper wire will act as an antenna, picking up noise from the digital clocks on your board. Another thing you can try is placing a small capacitor right at the ADC pin to ground.

Link to post
Share on other sites
9 hours ago, dubnet said:

Sounds like noise.  How is the ADC input physically connected to ground? If it is a long jumper wire you may want to shorten it as much as possible. A long jumper wire will act as an antenna, picking up noise from the digital clocks on your board. Another thing you can try is placing a small capacitor right at the ADC pin to ground.

May be it is noise but not external.... cuz if i use internal Pulldown resistor , I am getting the same result. But If I connect it to 3.3V ....I am getting almost constant 4095 value. I have also tried using hardware avg and dither enable. When using hardware avg it is taking avg over the noise and thus giving a value between 10 to 15. But I need 0 output when connected to GND. 

1.png

2.png

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...