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
Shocked Rock64 - Reboots after few minutes addezai 0 11 3 hours ago
Last Post: addezai
  Python GPIO Library for the Rock64 (R64.GPIO) Leapo 36 33,690 04-17-2021, 08:59 AM
Last Post: theophile
Question Hardware issues with Rock64 grobbs 10 634 04-08-2021, 05:24 AM
Last Post: t4_4t
  Rock64 Long Term stability ramprasad 4 1,261 03-16-2021, 07:23 PM
Last Post: Rocklobster
  Rock64 No Audio - Solved wbecks 11 14,026 03-15-2021, 03:15 PM
Last Post: lowry
  Safest way to send shutdown signal to headless Rock64 SMB server? bmurphr1 3 736 03-14-2021, 06:01 PM
Last Post: clach04
  Rock64 as a router (OpenWRT,etc) bob-anon 2 1,163 03-12-2021, 01:16 AM
Last Post: arkadione
  Will Mobian Run On Rock64? Porcupine 1 420 01-13-2021, 12:39 PM
Last Post: tophneal
  Rock64 v2 as Openmediavault server - buffers / shutdown problems helpmerock 2 760 12-29-2020, 09:46 AM
Last Post: helpmerock
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? hunderteins 10 4,645 11-17-2020, 08:00 AM
Last Post: Johannes

Forum Jump:


Users browsing this thread: 1 Guest(s)