11-09-2020, 07:38 PM
How is the 1-wire bus enabled on a Rock64 ver 2 with Armbian 20.08.17 Bionic? I have enabled the w1-gpio through armbian-config. The /sys/bus/w1/devices/ folder is empty after sudo modprobe w1-gpio and sudo modprobe w1-therm.
Below is what is in the armbianEnv.txt file in the /boot directory.
verbosity=1
bootlogo=false
overlay_prefix=rockchip
rootdev=UUID=cbeeff94-c38d-4a79-b10a-3854a2470be4
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
overlays=i2c7 spi-spidev w1-gpio
In the /boot/dtb/rockchip/overlay/ directory there is a file rockchip-w1-gpio.dtbo.
I have connected the VCC pin of the DS18B20 to 3v3 physical pin 1, ground of the DS18B20 to physical pin 9, data of the DS18B20 to physical 7.
The DS18B20 address and w1_bus_master1 do not appear in the /sys/bus/w1/devices/ folder.
What more is required to see the DS18B20 and take readings?
I have already connected an 18x2 LCD to i2c and am writing information to the LCD using python.
Thank you for the help.
Perry
Below is what is in the armbianEnv.txt file in the /boot directory.
verbosity=1
bootlogo=false
overlay_prefix=rockchip
rootdev=UUID=cbeeff94-c38d-4a79-b10a-3854a2470be4
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
overlays=i2c7 spi-spidev w1-gpio
In the /boot/dtb/rockchip/overlay/ directory there is a file rockchip-w1-gpio.dtbo.
I have connected the VCC pin of the DS18B20 to 3v3 physical pin 1, ground of the DS18B20 to physical pin 9, data of the DS18B20 to physical 7.
The DS18B20 address and w1_bus_master1 do not appear in the /sys/bus/w1/devices/ folder.
What more is required to see the DS18B20 and take readings?
I have already connected an 18x2 LCD to i2c and am writing information to the LCD using python.
Thank you for the help.
Perry