Jump to content

Question about GPIO usage and 1-wire


MaoDe

Recommended Posts

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

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines