using the DS18B20 temperature sensor
Brandon
Posts: 3
I bought some DS18B20's and I didn't get quite what I thought but I want to use them anyways if possible.· How can I use them with a bs2?· Is that not possible and I'm forced to spend more money on a bs2p?· All I need to know is how to get a temperature value back into a variable on my stamp.· Maybe I need to by another type of temperature sensor.· Any help will be muchly appreciated!!
Thanks
Thanks
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
If you have more than one device which accepts the same commands you must use their 64bit adresses. If there's only one, you can use theSkip-ROM command instead.(Faster and easier)
The exception is of course when you want all the devices to execute the same command.
(For example, you can send a Skip-ROM and the command for temperature measuring, to start them all, thenadress each one individually to read out the temperature)
I suggest surfing over to http://www.maxim-ic.com/appnotes10.cfm/ac_pk/1 and check out the appnotes.
Particularly:
App Note 192: Using the DS2480B Serial 1-Wire Line Driver
Book of iButton Standards
Overview of 1-Wire Technology and Its Use