I'm using a stm32f429Idisc and I'm trying to read via the adc a LM35. I observe that each measure differs from the other up to 5mv. This is a normal behavior or something is configured worng? thanks, Piero
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-24 1:49 AM
I'm sampling at 100 msec and adc is in single mode with PRESC_PCLK_DIV6 and SAMPLE_480CYCLES.
Labels:
- Labels:
-
ADC
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-24 6:11 AM
It is normal for ADC values to have some amount of noise. 5mV of noise for 3.3V full scale seems quite reasonable. This means you're getting just over 9 bits of accuracy.
For methods of improving accuracy, read:
If you feel a post has answered your question, please click "Accept as Solution".
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-30 8:49 AM
Thanks. May be that adding an OPAMP may improve the situation
