pavandrishti
Newbie level 1
- Joined
- Dec 18, 2013
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 9
I'm working on a atmega16l microcontroller. And my project is to display the humidity and temperature of in the room on an LCD screen.I'm taking adc input from humidity(0-5) volts DC and temperature sensor(0-0.5) volts DC.
And according to that I have to switch the room warmer and humidifier. But at present my controller is showing one problem that it is showing correct humidity all time, but approx about 1 time in six repetition the temperature adc input is flipped with the humidity adc input while humidity adc input remains the same.
For getting rid of this problem I have tried to change the port of both adc apart from each other but then also the problem remains the same.
Please tell me how to solve this problem.
And according to that I have to switch the room warmer and humidifier. But at present my controller is showing one problem that it is showing correct humidity all time, but approx about 1 time in six repetition the temperature adc input is flipped with the humidity adc input while humidity adc input remains the same.
For getting rid of this problem I have tried to change the port of both adc apart from each other but then also the problem remains the same.
Please tell me how to solve this problem.