User Tools

Site Tools


ds18b20_v5_0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
ds18b20_v5_0 [2015/01/27 18:57]
curlymo created
ds18b20_v5_0 [2015/02/06 19:01]
gustav... [Notes]
Line 42: Line 42:
  
 ==== Notes ==== ==== Notes ====
- 
 Before pilight can see the sensor, you have to run the following commands: Before pilight can see the sensor, you have to run the following commands:
 <​code>​ <​code>​
Line 54: Line 53:
 w1-therm w1-therm
 </​code>​ </​code>​
 +
 +If you have enabled "​Device tree support"​ (since kernel Raspbian with kernel 3.18 it's the default configuration),​ you have to add the following line to ''/​boot/​config.txt'':​
 +<​code>​
 +dtoverlay=w1-gpio-pullup,​gpiopin=4
 +</​code>​
 +This will load the module w1-gpio, so you only have to add ''​w1-therm''​ to your ''/​etc/​modules''​.
 +
  
 To find the correct sensor id, you have to run the following commands: To find the correct sensor id, you have to run the following commands:
ds18b20_v5_0.txt ยท Last modified: 2015/11/27 21:09 (external edit)