Quote Originally Posted by nemesis View Post
syazila,
The code I have have is for a PIC12F683 (8-pin). It does some of what you are looking for. It would atleast get you on your way.

This is the remote monitor portion of the thermostat I have in my home. This code randomly sleeps (like me), wakes up, reads temp, transmits the temp and then does it all over again.

I am using the DS1820B Digital Temp Sensor, which I have found to be more accurate than the LM37. You also don't have to run the A/D code to figure out the temp.

Hope this helps.
tq for information