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.
from Dangerous Prototypes https://ift.tt/2xSykHM