This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:applications:gpio:1wire [2023/11/07 04:39] nick [Table] |
products:sbc:common:applications:gpio:1wire [2026/09/15 03:24] (current) nick [Enable 1-Wire Bus] |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ^ VIM3/ | ^ VIM3/ | ||
| ^ VIM4 | ^ VIM4 | ||
| + | ^ VIM-5 | 37 | ||
| ^ VIM1S | 36 | ^ VIM1S | 36 | ||
| ^ Edge1 | 30 | ^ Edge1 | 30 | ||
| Line 29: | Line 30: | ||
| ```shell | ```shell | ||
| overlays=onewire | overlays=onewire | ||
| + | ``` | ||
| + | <tabbox VIM3 with 5.15 kernel> | ||
| + | |||
| + | Edit ''/ | ||
| + | |||
| + | |||
| + | e.g. To enable onewire, you need to add '' | ||
| + | |||
| + | ```shell | ||
| + | fdt_overlays=onewire | ||
| + | |||
| + | ``` | ||
| + | |||
| + | <tabbox VIM3L with 5.15 kernel> | ||
| + | |||
| + | Edit ''/ | ||
| + | |||
| + | |||
| + | e.g. To enable onewire, you need to add '' | ||
| + | |||
| + | ```shell | ||
| + | fdt_overlays=onewire | ||
| + | |||
| ``` | ``` | ||
| Line 35: | Line 59: | ||
| Edit ''/ | Edit ''/ | ||
| + | |||
| + | e.g. To enable onewire, you need to add '' | ||
| + | |||
| + | ```shell | ||
| + | fdt_overlays=onewire | ||
| + | |||
| + | ``` | ||
| + | <tabbox VIM-5> | ||
| + | |||
| + | Edit ''/ | ||
| e.g. To enable onewire, you need to add '' | e.g. To enable onewire, you need to add '' | ||
| Line 59: | Line 93: | ||
| </ | </ | ||
| - | ===== Disable 1-Wire to Use GPIO ===== | ||
| - | |||
| - | If you want to use normal GPIO instead of 1-Wire, you can remove the 1-Wire node in [[products: | ||
| ===== Get Sensor Data ===== | ===== Get Sensor Data ===== | ||
| Line 87: | Line 118: | ||
| b1 01 4b 46 7f ff 0c 10 d8 t=27062 | b1 01 4b 46 7f ff 0c 10 d8 t=27062 | ||
| ``` | ``` | ||
| + | |||
| + | |||
| + | ===== Disable 1-Wire to Use GPIO ===== | ||
| + | |||
| + | If you want to use normal GPIO instead of 1-Wire, you can remove the 1-Wire node in [[products: | ||