Thanks for reply !
Sorry, but my LCD is 2 x 16 ; at first line I display "In" and at second "Out" values of temperatures. Otherwise, nice code are You writing.
Thanks for reply !
Sorry, but my LCD is 2 x 16 ; at first line I display "In" and at second "Out" values of temperatures. Otherwise, nice code are You writing.
New problem :
-the thermometer PIC 12F675 + DS18B20 + Nokia LCD = 24.5 'C
-the thermometer LM 35DZ + Fluke 830DM = 24.5 'C
-the thermometer PIC 16F628A + DS18B20 = 25.5 ' C !!!!!!!!!!!
I try to write in PIC the same code of themperature conversion like Mr.Novakovic Ivica.
Check for similarity !!!! Why this diference ? I thing I go crazy, soon....
Hi,
DO NOT use that with DS 18B20 ....Code:count_remain, count_per_c
That's a first step.
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Anything code I write in thermo that I made, the temperatures are NOT similar with those measured with other devices (mentioned). I try to change the sensor (I use three !) but nothing change. I don't know what to believe : which of temperature is - more- accurate ?
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?
Bookmarks