Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange Pi Zero LTS - can't get w1-slave running

Featured Replies

I'm running the newest Arbian Buster Kernel (Linux version 5.8.14-sunxi) on a Orange Pi Zero LTS.

I can't get a DS18B20 running over days of experimeting. I read a lot in this forum, followed the suggestions of martinayotte and others, no success.

The frustration/desperation begins to rise.

 

Extract from boot screen:

------------------------------------------------------------------------------

Found mainline kernel configuration
32515 bytes read in 12 ms (2.6 MiB/s)
374 bytes read in 17 ms (21.5 KiB/s)
Applying kernel provided DT overlay sun8i-h3-i2c0.dtbo
778 bytes read in 18 ms (42 KiB/s)
Applying kernel provided DT overlay sun8i-h3-pps-gpio.dtbo
777 bytes read in 18 ms (42 KiB/s)
Applying kernel provided DT overlay sun8i-h3-w1-gpio.dtbo
4185 bytes read in 17 ms (240.2 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 45000000
tmp_bank=A
tmp_pin=10

------------------------------------------------------------------------------

 

w1_bus_master1 is listed in /sys/bus/w1/devices. But not any slave.

 

/etc/modules-load.d/modules.conf  only contains:

g_serial

 

/boot/armbianEnv.txt contains:

verbosity=1
bootlogo=false
console=serial
disp_mode=1920x1080p60
overlay_prefix=sun8i-h3
overlays=i2c0 pps-gpio w1-gpio
param_w1_pin=PA10
param_w1_pin_int_pullup=1
rootdev=UUID=e891ced7-28ea-408c-bbe6-d0074b514c7b
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 

CPU min frequency is set to 648000 Hz

 

I tried differen GPIOs, different sensors, both w/ and w/o pullup. No success.

Currently connected to:

VCC 3.3V     -   Pin 17

GND           -    Pin 25

1Wire         -    Pin 26 (PA10)

 

If any other information is of importance, please let me know.

Any suggestions to get it running would be highly appreciated.

 

 

Solved by DTS

  • Author

The headline might be a bit misleading. I want to use the OPi Zero as master. But the system does not show any slave inside /sys/bus/w1/devices. Not at different pins, not with different sensors. I connected the sensors on a ESP8266, no problem.

On 10/18/2020 at 5:29 AM, DTS said:

followed the suggestions of martinayotte

In my case, I don't have any issue with a DS18B20 plugged on one of my OPiZero, except maybe that I'm using an external pullup ...

 

root@orangepizero:~# cat /sys/bus/w1/devices/28-000003ebdd28/w1_slave 
b9 01 4b 46 7f ff 07 10 d1 : crc=d1 YES
b9 01 4b 46 7f ff 07 10 d1 t=27562

 

  • Author
  • Solution

Problem is solved. Is was an soldering issue at the 26 pin header.

However, thans for your answers.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.