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
docs:techref:hardware:port.gpio:1-wire [2022/02/19 11:10] elux011docs:techref:hardware:port.gpio:1-wire [2024/09/18 09:35] (current) – [1-wire Bus] elux011
Line 6: Line 6:
 This guide will only cover 1-Wire Bus Connections  (as of Sep 13, 2019) up to the stable release v19.07.8. For newer Kernels (since v21.02.0) the Package "kmod-w1-gpio-custom" is no longer available. This guide will only cover 1-Wire Bus Connections  (as of Sep 13, 2019) up to the stable release v19.07.8. For newer Kernels (since v21.02.0) the Package "kmod-w1-gpio-custom" is no longer available.
 Therefore the Installation is a bit more extensive.   Therefore the Installation is a bit more extensive.  
-The Device which got tested was a OrangePI PC+.+The Device which got tested was a **OrangePI PC+** (a different method is recommended for the Raspberry Pi!)
  
 ===== Installation up to v19.07.8===== ===== Installation up to v19.07.8=====
Line 106: Line 106:
 </code> </code>
 Notice:  Notice: 
-  -  phandle: you have to use a hex number following the highest number used in the file.+  -  phandle: you have to use a hex number following the highest number of phandle used in the file.
   -  gpios: the "0xa" ist the phandle of the used pinctrl, the "0x0" is the used Bank (0 = A...), the "0x3" is the hex number of the used Pin inside the bank, the "0x6" ist the Configuration of the Pin.   -  gpios: the "0xa" ist the phandle of the used pinctrl, the "0x0" is the used Bank (0 = A...), the "0x3" is the hex number of the used Pin inside the bank, the "0x6" ist the Configuration of the Pin.
  
Line 134: Line 134:
  
 It is also possible to operate the 1-Wire Bus with just the Gnd and Bus Lines, with the Sensors deriving power "parasitically" from the Bus Line. For further information, read the datasheet of the device. It is also possible to operate the 1-Wire Bus with just the Gnd and Bus Lines, with the Sensors deriving power "parasitically" from the Bus Line. For further information, read the datasheet of the device.
 +For longer cables, the use of an insulator such as ADUM1201 is recommended.
  
  
  • Last modified: 2022/02/19 11:10
  • by elux011