DS18B20 one wire

Posts: 5
Joined: Tue Dec 01, 2015 5:10 am

DS18B20 one wire

Wed Feb 14, 2018 7:56 am

Has anyone gotten one wire sensors like the DS18B20 temperature sensor working? I've installed the kmod-w1, kmod-w1-gpio-custom and kmod-w1-slave-therm packages. I'm running the 15.05 CC release. What pin should the sensor be connected to? I saw GPIO0 mentioned somewhere else on this forum, but I don't see anything in /sys/bus/w1/devices.

root@OpenWrt:~# lsmod | grep w1
w1_gpio 2112 0
w1_therm 2000 0
wire 14528 2 w1_therm

Any thoughts?

Posts: 591
Joined: Sun Oct 19, 2014 6:00 am

Re: DS18B20 one wire

Mon Feb 19, 2018 12:47 am

Set the pin's pinmux to GPIO first.then it should work

Return to VoCore & VoCore+dock

Who is online

Users browsing this forum: No registered users and 2 guests