The code is ok ! Check the DS18B20 serials numbers ! I don't know if the thermostat work with just one sensor ! Good luck !
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
In my test I measure :
- MINUS 15.20 ' C in the refrigerator
- PLUS 24.15 ' C in the room.
With one sensor and with two sensor too.
Some ( wrong ! ) values have a typical meaning :When I tried for that and with one sensor, it shows -0.06 Celsius. and the sensor would not respond for variation
0.06 as a "measure " shows a connecting ( or sensor ) problem ... Check your DQ line ...
85 shows conversion not completed ...
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 " !!!
*****************************************
Fratello's code has definite mistakes, and need attention. With the mistakes How it was working for him is a wonder.The suspected line numbers, i shall be indicating for consideration / possible correction.
I suspect that the code posted by him at #35 is not what he might be using.
Regards,
Sarma
Hi, Sarma
What are you talking about ???
Fratello's code can of course bear some little improvements but WORKS FINE !!!
( I just translated it to a 16F877A aboard an Easy Pic 5 ... and it's nice.)
Alain
PS: do not tell me you are waiting for custom code or you do not have something personnal working since the 8th of April ... please ...
************************************************** ***********************
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 " !!!
*****************************************
Bookmarks