I have built temperature and Humidity indicator using PIC 16F877a (LM35 +SH20).
I Have following two problems.
1) If I program to read only Temperature or only Humidity it shows correct.
But when I select Temperature + Humidity - Both shows erratic reading ( RA1 and RA2).
Request to suggest solution.
2) When I am reading Temperature it hunts 27 - 27.5 - 29 - 27.5 etc - How to make it stable
I don't know what SH20 is. SHT20 is a digital sensor with I2C interface. In so far it's not clear how you connected the sensor. Please clarify, preferably show a schematic.