Hi everyone...
I'm struggling to get a section of code up and running and was therefore wondering if anyone else has anyone on here has any experiance using the DS18B20...
Only I'm trying to communicate with it using a 16F684 but at the moment I feel the Maxim Example Code that I have used from Application Note 162 to be slightly incorrect...
I've attached the code I have so far and the Maxim Application Note 162 that I am referring to along with the DS18B20 Data Sheet...
At the moment I am seeing the output signals on the Scope and the timmings at the moment appear to be correct, but i'm unsure about the read_temperature function that I have... as I do not appear to be sending out a 0x44 to start the temperature conversion... but the datasheet does not seem to mention it in the example code...
I have also attached the schematic circuit that I am currently using...
Only the time scale that I have to complete this side of things is rapidly coming to an end... I only have 28 days left to get it receiving the correct temperature...
I'm struggling to get a section of code up and running and was therefore wondering if anyone else has anyone on here has any experiance using the DS18B20...
Only I'm trying to communicate with it using a 16F684 but at the moment I feel the Maxim Example Code that I have used from Application Note 162 to be slightly incorrect...
I've attached the code I have so far and the Maxim Application Note 162 that I am referring to along with the DS18B20 Data Sheet...
At the moment I am seeing the output signals on the Scope and the timmings at the moment appear to be correct, but i'm unsure about the read_temperature function that I have... as I do not appear to be sending out a 0x44 to start the temperature conversion... but the datasheet does not seem to mention it in the example code...
I have also attached the schematic circuit that I am currently using...
Only the time scale that I have to complete this side of things is rapidly coming to an end... I only have 28 days left to get it receiving the correct temperature...