I was testing some stuff out on a 08M I had and everything worked great. It was reading temps as it should.
I just got an 18M2 this past week and tried to use the readtemp command along with the ds18b20 temp sensor. All I get is 85*C out of it all the time.
I took out the 18m2 from my breadboard, plug in the old 08m I had, changed a few values around in the code and everything works as it should.
So identical circuit, 08m works, 18m2 does not. I'm not sure where to go from here. Any suggestions?
code I used for the 08m was:
readtemp 4,w0
debug
code i used for the 18m2 was:
readtemp c.6,w0
debug
I used a simple pushbutton to call up the code above so that it wasn't running continuous.
The only thing I noticed was that it seemed to display the values in the debug screen much faster for the 18m2 than for the 08m. I thought that the readtemp command had an internal pause to compensate for the 750ms conversion time? Could this be the issue?
Could this be a bug with the 18m2?
I just got an 18M2 this past week and tried to use the readtemp command along with the ds18b20 temp sensor. All I get is 85*C out of it all the time.
I took out the 18m2 from my breadboard, plug in the old 08m I had, changed a few values around in the code and everything works as it should.
So identical circuit, 08m works, 18m2 does not. I'm not sure where to go from here. Any suggestions?
code I used for the 08m was:
readtemp 4,w0
debug
code i used for the 18m2 was:
readtemp c.6,w0
debug
I used a simple pushbutton to call up the code above so that it wasn't running continuous.
The only thing I noticed was that it seemed to display the values in the debug screen much faster for the 18m2 than for the 08m. I thought that the readtemp command had an internal pause to compensate for the 750ms conversion time? Could this be the issue?
Could this be a bug with the 18m2?