temperature sensor
I'd like to build a device that measures and records temperatures in a number of places in a heat pump system. I have a number of DS18S20 sensors, and wonder if there is a sample schematic that I could use to begin building the electronics. If there is a better sensor, I don't need to use the DS18S20s; it's just that I already have a bunch of them, but I'm open to suggestions. I have a couple BS2s, but I'm not sure they will work with those sensors. Ultimately the controller will measure and compare temperatures and turn on and off circulators, but I'm just beginning the project.
Comments
'
Take a look at the BS2pxx for the one wire commands
'
here's the data sheet
'
http://datasheets.maxim-ic.com/en/ds/DS18S20.pdf
http://forums.parallax.com/showthread.php?136782-There-is-something-wrong-with-Micah-Dowty-s-1-Wire-object-in-the-Obex.&p=1060896&viewfull=1#post1060896
I have some other code posted on that same thread, but it's all built upon JonnyMac's better work. I know that JonnyMac's code works with both DS1822 and DS18B20. I'm guessing it also works with the DS18S20, but perhaps some slight modification might be necessary.
The Stamp manual has descriptions of the commands and a summary of the OW protocol, which waxes rather technical. However, there is demo code there specifically for reading temperatures from the DS1820. Hmmm. The text says DS1820, but it looks like the demo code is actually for the DS1822. The difference is 8 bit (DS1820 and DS18S20) vs 12 bit (DS18B20 and DS1822) resolution. No matter. If you want to pursue it, there is code available you can use. The DS18S20 is the higher accuracy version of the 8-bit+sign DS1820. The nomenclature can be confusing!