1-wire Bus Since Version 21.02.0 - OpenWrt Forum

1-wire bus since version 21.02.0 Talk about Documentation November 9, 2021, 12:34pm 1

hello, I am using raspberry pi 4 b with openwrt + trying to connect several 1-wire sensors. according to this tutorial https://openwrt.org/docs/techref/hardware/port.gpio/1-wire to use a 1-wire bus u should install the w1-gpio-custom package. This package was available in 19.07.8 release but since version 21.02.0 it is missing. So, how to use 1-wire now? Has anyone tried to use 1-wire with version bigger or equal to 21.02.0?

November 12, 2022, 5:00pm 2

had the same issue, no solution currently.

Package was removed due to faults and missing maintainer.

22.03, Raspberry 4B, reading DS18B20 temp sensors Installing and Using OpenWrt
Update: I did not succeed with a solution, but after some more research, I think I have now at least a better understanding of the problem context: The raspberry GPIO (and likely also the GPIO pins of other boards) offers different external IO protocols: SPi i2c 1wire The temp sensor DS18B20 I am talking about needs the 1wire protocol, which seems not supported/maintained any more in OpenWRT, the OpenWRT wiki lists SPI and i2c only: https://openwrt.org/toh/raspberry_pi_foundation/raspberry_p…
July 9, 2023, 4:56pm 3

I now had success reading 1-wire temp sensors on a Raspberry Pi Zero on 22.03.5

Here are my notes:

22.03, Raspberry 4B, reading DS18B20 temp sensors Installing and Using OpenWrt
Good news. slight_smile This weekend I had unexpectedly many lucky punches: I did not achieve anything helpful in real life, but I tried again with 1-wire and found, how to successfully access 1-wire temp sensor values via OpenWRT 22.03.5 on a Raspberry Zero! (I guess the same steps should also work identical for OpenWRT 23.05) In other words: I found by coincidence that 1wire and Raspberry GPI thermal sensors now work in OpenWrt (not sure if it was ever broken and fixed or just confusing do…
Unfortunately, your browser is unsupported. Please switch to a supported browser to view rich content, log in and reply.

Từ khóa » W1-gpio Documentation