Rock64 enable 1-wire to read DS18B20 or Dallas temperature sensor
#1
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
  Reply
#2
@Perry did you managed to get it working ?
  Reply
#3
(02-09-2021, 02:43 PM){-DesT-} Wrote: @Perry did you managed to get it working ?
Good morning. I did not get this working.

Thank you
Perry
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 bricked shawwwn 0 35 11-29-2021, 11:15 PM
Last Post: shawwwn
  Are you guys still using Ayufan's OMV on your Rock64? AkiraSensei 0 71 11-26-2021, 07:01 PM
Last Post: AkiraSensei
  Rock64 kernel panics clay 15 1,003 10-17-2021, 06:30 PM
Last Post: Rocklobster
  Pine Rock64 eMMC lifespan moonspell79 3 754 08-19-2021, 06:46 PM
Last Post: bcnaz
  Rock64 No Audio - Solved wbecks 12 18,732 08-13-2021, 01:23 PM
Last Post: blakeadam
  Trustzone support for Rock64 capablegh 1 549 07-17-2021, 10:15 AM
Last Post: capablegh
  Python GPIO Library for the Rock64 (R64.GPIO) Leapo 37 42,151 07-02-2021, 03:20 PM
Last Post: klausfelix
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? klausfelix 0 453 07-02-2021, 03:13 PM
Last Post: klausfelix
Information Serial Console for the Rock64 MarkHaysHarris777 33 36,730 06-24-2021, 12:24 PM
Last Post: mikeklien
  lost eletronic component rock64 marvin1986 1 773 06-01-2021, 06:27 PM
Last Post: 8bit

Forum Jump:


Users browsing this thread: 1 Guest(s)