I would like to know if anyone here knows how to take care of the ADC sampling noise in the circuit ? Its like a line of code only but i cannot figure it out. anyone ?
i need the basic of computing the average code first before i do any advance coding. But thanks ! =) i have noted down your help . Will look into it if the teacher really wants it .
The teacher really wants it, and you really have to learn how to perform three ADC conversions and sum the values before dividing by three and present the result.
Beware that teachers can read forums, too!
Several students have been rumbled trying to get their homework done for them on forums...
eg, www.8052.com/.../60122
its alrights . i am just trying to get the code for the noise . not the WHOLE code ..
So you already got the code for reading out _one_ value from the ADC from somewhere else. And now you need the averaging code?
Anyone who can write the code to setup the ADC and get values from it can trivially easy compute the average.