Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c2_hardware_1w [2016/11/03 09:09] odroid [Change the Default GPIO pin for 1-Wire interface] |
en:c2_hardware_1w [2017/05/04 20:22] (current) odroid |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Dallas 1-Wire Support ===== | + | ====== Dallas 1-Wire Support ====== |
* Support for Dallas 1 Wire is included on Kernel 3.14.29-29 and upwards. Make sure you are updated. | * Support for Dallas 1 Wire is included on Kernel 3.14.29-29 and upwards. Make sure you are updated. | ||
* 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 check **/etc/modprobe.d/w1_gpio.conf** file to enable the 1-wire driver. | ||
+ | </WRAP> | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
Default GPIO for 1-Wire is **Pin #7 (GPIOX.BIT21)** | Default GPIO for 1-Wire is **Pin #7 (GPIOX.BIT21)** | ||
Line 59: | Line 68: | ||
Two sensors in parallel. | Two sensors in parallel. | ||
- | ===== Change the Default GPIO pin for 1-Wire interface ===== | + | ====== Change the Default GPIO pin for 1-Wire interface ====== |
Ex) Default GPIO pin change to GPIOX.BIT19 \\ | Ex) Default GPIO pin change to GPIOX.BIT19 \\ | ||
Please refer to below links for details related to gpio mapping in the device-tree.\\ | Please refer to below links for details related to gpio mapping in the device-tree.\\ |