- This topic has 1 reply, 2 voices, and was last updated 5 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › humidity
wat r the basic used ..of using microcontroller for sensing humidity?
can any simplified that following code or tel me wat these is all about…
Hi
This code is written in order to read a sensor value (must be a humidity sensor here) and display "Rel.Humidity" on a LCD.
In this code average of 11 consecutive sensor readings is made and then it is converted to relative humidity value by means of some sort of a formula. This all is happening inside display() function.
Since 8051's don't have inbuilt ADCs therefore an 8 bit ADC IC must be connected to it with PORT1.