Re: air content analyzer
Hello!
Could you explain what you mean by the word "EXACT". Why do you put it between quotes?
Is it exact or is it not?
There is no such thing as exact value in physics. You can measure a value with a certain accuracy.
So could you describe more accurately what you want to know?
You have an analog sensor, a micro controller, an LCD. How many bits does your ADC feature? 10? 12?
In this case, the accuracy depends on bit accuracy, noise and linearity of the sensor.
Now what's your question? Your first question was "how should I do". But that's quite wide.
Nobody is going to build it for you, so you should tell us what you have already done, what problem
you faced, etc... Describe accurately and you will get accurate replies.
Dora.
hey;
For my academic project,I am trying to build an 'air content analyzer' in which I want to display the contents of gases(co2,co,lpg) in percentage on lcd
I am using ATMEGA16,and analog sensors,
adc output is stored in adch,adcl registers,which is 8 bit binary,but in formula we substitute corresponding decimal value isnt it??
so,is there any function which we can use within the program to convert ADCH content into decimal.
---------- Post added at 16:08 ---------- Previous post was at 15:53 ----------
hey;
For my academic project,I am trying to build an 'air content analyzer' in which I want to display the contents of gases(co2,co,lpg) in percentage on lcd
I am using ATMEGA16,and analog sensors,
adc output is stored in adch,adcl registers,which is 8 bit binary,but in formula we substitute corresponding decimal value isnt it??
so,is there any function which we can use within the program to convert ADCH content into decimal.