Tessie Swift Posted August 4, 2021 Share Posted August 4, 2021 I am not clear the specific difference between these two chips. I have seen the 12-bit conversion method and the 9-bit conversion method in the data, assuming this is the internal selection method of the B20 (if it is, then what is the conversion between the two methods). 18B20 is 12-bit, 1820 is 9-bit, please give some advice who have used this chip, thank you! Link to comment Share on other sites More sharing options...
JColvin Posted August 4, 2021 Share Posted August 4, 2021 Hello, I haven't used either of these chips, though I would probably recommend looking at their respective datasheets (link1, link2) from Maxim Integrated as that will be the best source of accurate information regarding the chips. Thanks, JColvin Link to comment Share on other sites More sharing options...
Tessie Swift Posted August 5, 2021 Author Share Posted August 5, 2021 Thank you JColvin! It works. Link to comment Share on other sites More sharing options...
Ardelle Froeliger Posted October 13, 2021 Share Posted October 13, 2021 I think the default data precision is different between the above two. 18B20 should be 12 bits and 18S20 may be 9 bits by default. You shift the data obtained by s20 by 3 bits left and see if the result is closer to b20. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now