We're no longer updating This wiki!!

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:c1_hardware_1w [2015/02/02 09:38]
mdrjr
en:c1_hardware_1w [2017/05/04 18:45]
odroid
Line 4: Line 4:
   * Will cover an example of a temperature sensor well known **DS1820** other 1 wire IC's are supported too.   * Will cover an example of a temperature sensor well known **DS1820** other 1 wire IC's are supported too.
  
 +<WRAP left round tip 70%>
 +You have to edit **/​etc/​modprobe.d/​blacklist-odroid.conf** file to enable the 1-wire driver because the driver exists in the blacklist by default.
 +</​WRAP>​
  
 +\\
 +\\
 +\\
 +\\
 +\\
 +\\
 Default GPIO for 1-Wire is **Pin #7 (GPIO83)** Default GPIO for 1-Wire is **Pin #7 (GPIO83)**
  
-  * Connection:  +  ​* **Connection: ​With External-Supply** 
-{{:en:untitled_sketch_bb.png?750|}}+{{:en:1-wire-external-power.png?750|}}
  
 Pin 1 (Left): Ground (-) Pin 1 (Left): Ground (-)
Line 16: Line 25:
 Pin 3 (Right): VCC (3.3V) Pin 3 (Right): VCC (3.3V)
  
-You also need to add a resistor from 4.7k to 10k between pin 2 and 3.+You also need to add a resistor from 4.7k to 10k between pin 2.
  
 +  * **Connection:​ Supplying the Parasite-Powered**
 +{{:​en:​1-wire-parasite-power.png?​750|}}
 +
 +Pin 1 (Left): Ground (-)
 +
 +Pin 2 (Middle): Pin #7 C1
 +
 +Pin 3 (Right): Ground (-)
 +
 +You also need to add a resistor from 4.7k to 10k between pin 2.
  
   * Load the required kernel modules: <​code>​modprobe w1-gpio && modprobe w1-therm</​code>​   * Load the required kernel modules: <​code>​modprobe w1-gpio && modprobe w1-therm</​code>​
en/c1_hardware_1w.txt · Last modified: 2017/05/04 18:48 by odroid
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0