- This topic has 5 replies, 3 voices, and was last updated 10 years ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › how to reduce the resolution of adc
sir/mam, I am trying to interface the flex sensor but adc value got fluctuating..i don’t know how to decrease the resolution of adc in avr please help
Which avr are you using? The better method would be to take average of many adc reading, say 50 or 100 which are taken a time window of 500 milliseconds.
i am using atmega 16. if u please tell me how to take the average value?
the value should not fluctuate
there should be some other problem. pls check ur hardware connection. power supply connections
If you take continuous reading from any kind of sensors the adc value can change within a rage of 50 to 100 each time when you take a rading. To get the average value of say 100 readings took in a short interval of time, keep on adding every single value to a single variable each time when you take a rading and once 100 readings are finished, divide that variable with 100 and you have the average value.
thank you for your help