Dear Armbian Friends,
My temperature sensor is not detected by board.
Can somebody give me some advice what should I chceck / change / test now?
Cheers!
Lucas
I tried:
- another sample of DHT11
- changed cables to different ones
- changed
- both tested sensors were connected with 4.7k resistor between positive and data cable
- tried different system versions like bionic, stretch and now jessie
- tried to load modules via /etc/modules-load.d/modules.conf
g_serial
w1-sunxi
w1-gpio
w1-therm
- or with /boot/armbianEnv.txt (disabling loading with modules.conf)
wverbosity=1
logo=disabled
console=serial
disp_mode=1920x1080p60
overlay_prefix=sun8i-h3
overlays=usbhost2 usbhost3 w1-gpio
param_w1_pin=PA10
param_w1_pin_int_pullup=1
rootdev=UUID=9cecf84e-027e-40ad-b711-ae5d323d9043
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
- tried to change data pin from GPIO10 (number 26) to GPIO 15 MOSI (number 19)
Below some info about my system.
sysadm@orangepizero:~$ ls /sys/bus/w1/devices/
w1_bus_master1
sysadm@orangepizero:~$ cat /sys/devices/w1_bus_master1/w1_master_slave_count
0
sysadm@orangepizero:~$ dmesg | grep wire
[ 7.802453] Driver for 1-wire Dallas network protocol.
[ 7.807173] gpio-10 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file
sysadm@orangepizero:~$ sudo cat /sys/kernel/debug/gpio
[sudo] password for sysadm:
gpiochip0: GPIOs 0-223, parent: platform/1c20800.pinctrl, 1c20800.pinctrl:
gpio-10 ( |onewire@0 ) in lo
gpio-17 ( |orangepi:red:status ) out lo
gpio-20 ( |vcc-wifi ) out hi
gpio-166 ( |cd ) in lo
gpio-204 ( |usb0_id_det ) in hi IRQ
gpiochip1: GPIOs 352-383, parent: platform/1f02c00.pinctrl, 1f02c00.pinctrl:
gpio-358 ( |vdd-cpux ) out hi
gpio-359 ( |reset ) out hi
gpio-362 ( |orangepi:green:pwr ) out hi
sysadm@orangepizero:~$ uname -a
Linux orangepizero 4.19.17-sunxi #5.73 SMP Mon Jan 28 21:06:40 CET 2019 armv7l GNU/Linux
sysadm@orangepizero:~$ cat /etc/issue
Debian GNU/Linux 9