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.

Question about GPIO usage and 1-wire

Featured Replies

Hello.

 

I reactivated my old BananaPi M1 to measure some Temperatures by Dalla1820-Sensors.
This is working like a charm and I could resolve all the Problems I had.

But now I want to use also one GPIO-Pin as an digital Input (via bash)
But all manuals I found in the Internet didn't work.
Every Time i try to setup a Pin by     

sudo echo (Pin-number) > /sys/class/gpio/export

  I get the message, that I don't have the rights to do this.

Could it be, that the GPIO are not usable, when I activated 1wire  ?  (of course I used a different Pin as I use for 1wire)

 

Or must I activate some more options as only "w1-gpio" in the armbian-config-Tool.

I have experience with Linux, but not with the GPIO's it self.

 

So maybe someone would be so kind and could explain it to me.

 

Thanks a lot in advance

 

Robert aka MaoDe

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.