I found this on forum :
"OSCCON = %01100000 'Internal clock set to 4-MHz (MUST DO THIS!!!)"
I added in my code, but PBP say "Error : Undefined Symbol 'OSCCON'.
Maybe this is the error that shows different temperatures ?
I found this on forum :
"OSCCON = %01100000 'Internal clock set to 4-MHz (MUST DO THIS!!!)"
I added in my code, but PBP say "Error : Undefined Symbol 'OSCCON'.
Maybe this is the error that shows different temperatures ?
Have you checked your PICs DATASHEET to see if it has an OSCCON register?
Based on the book mentioned at post #21, I re-write the code for this project. I implement a new procedure for initializing the sensors. The results are verry good. Want somebody to improve this ? I wish You all the best !
Thanks again for Your support !
@Fratello,
is your latest software working in the range 0 to 100 deg Celsius at least?
When I tried for that and with one sensor, it shows -0.06 Celsius. and the sensor would not respond for variation
We have presently temperatures around 33.5 Celsius, as we entered summer season in India.
Last edited by mvs_sarma; - 3rd April 2009 at 17:17.
Regards,
Sarma
The code is ok ! Check the DS18B20 serials numbers ! I don't know if the thermostat work with just one sensor ! Good luck !
as long as a working project of elektor is modded by adding another sensor, it should work for a single sensor also. I have just disabled all lines pertaining to sensor2.
I am asking for practical test result, not the program being OK as per our assumption, please. whether you are able to read temperature like normal room and and a piece of ice ? with one of the sensors, with other sensor reading just room temp?
Regards,
Sarma
Bookmarks