An easy way to mount DS18B20 temperature sensors


Matt wrote an article describing a technique he used to mount DS18B20 temperature sensors:

One of the biggest advantage of these sensors over I2C sensors, is that you can mount them almost anywhere. That having been said, I’ve never quite managed to come up with an elegant solution, particularly when attaching to a heatsink (for cooling applications)

More details at Matt’s Tech Pages.



Join the Conversation


  1. I’ve wanted to setup a 1-wire network in my home for a while now. My plan is to run the perimeter of the house in the attic and use DS-2408 or DS-2413 units to monitor alarm contacts for the windows and doors. I also want to monitor attic and room temperatures, but I haven’t figured out a good place to hide the DS1820 units where the won’t look terrible and won’t be hiding in a light fixture which would wildly affect the reading.

    Any ideas?

    1. We just used to use those tiny (about 1″x2″) telephone line junction boxes – some of them really looked like “this is a junction box” but some were just non-descript small white rectangular boxes (DIY milling/drilling holes or slots in the cover left as an optional exercise to the reader – there is already going to be at least two holes on the cover…). Nobody gives them a second glance. How exactly the sensor is affixed to anything inside the box (if at all) is pretty inconsequential.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.