1-wire Bus Since Version 21.02.0 - OpenWrt Forum
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?
Pico November 12, 2022, 5:00pm 2had the same issue, no solution currently.
Package was removed due to faults and missing maintainer.
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…Pico 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:
Good news.Unfortunately, your browser is unsupported. Please switch to a supported browser to view rich content, log in and reply.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…
Từ khóa » W1-gpio Documentation
-
Kernel Driver W1-gpio
-
Pstolarz/w1-gpio-cl: Command Line Configured Kernel Mode ... - GitHub
-
W1-gpio.txt - Documentation - Elixir Bootlin
-
[PDF] Linux W1 Documentation
-
1-WIRE At Raspberry Pi GPIO Pinout
-
1-wire Master Drivers — The Linux Kernel Documentation
-
[38/54] Dt-bindings: W1: Convert 1-Wire GPIO Binding To A Schema
-
Raspberry Pi Tutorial Series: 1-Wire DS18B20 Sensor - Waveshare
-
[OpenWrt Wiki] 1-wire Bus
-
Communicating With One-Wire Devices
-
[v4,1/5] Dt-bindings: W1: Document Generic Onewire Bindings
-
[PATCH] W1: W1-gpio: Convert To Use GPIO Descriptors
-
How To Use The 1-WIRE Bus On Acqua SOM - Acme Systems