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.

`Physical pin of 1w-gpio, w1-therm

Featured Replies

Hi forum members,
I enabled the 1w protocol via armbian.config and found, that the default GPIO pin assignment is set to 110 (what is PD14)

root@bananapim2zero:/sys/bus/w1/devices# cat  /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-223, parent: platform/1c20800.pinctrl, 1c20800.pinctrl:
 gpio-110 (                    |onewire@0           ) out lo

- - -

dmesg | grep -E 'w1|wire' | grep -E 'Driver|gpio-'
[    5.659452] Driver for 1-wire Dallas network protocol.
[    6.408704] gpio-110 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file

 

Please can someone tell me what phyical pin is this gpio-110 on my BPI m2 zero ?

I reconfigured my board via /boot/ambianEnv.txt to use the PA6 pin what is the physical pin 7.

Everything worked fine and I can read out the temperature from the onewire sensor DS18S connected on the physical pin 7.

 

I'm ask for help on this topic because I want to use the PD14 GPIO pin since I can configure the internal pullup resistor instead using an external pullup resistor,
 

 

Thanks in advance
wollik
 

  • wollik changed the title to `Physical pin of 1w-gpio, w1-therm
  • Author

Hi forum admins,
it seems that I used the wrong section, please can you move this to the P2P section of this forum?

 

Regards

wollik

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.