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 GPIO bread board

Featured Replies

I'm looking at GPIOs and I'm not sure - can I buy an "old" (26 pin) Raspberry Pi gpio adapter-breadboard-cable package (like this one) and use it on Orange Pi Zero GPIOs as on Raspberry Pi GPIOs?

why not? GPIO is GPIO. :P

 

the only thing is to find a GPIO library which fits best to your use-case. 

  • @Larry Bank provides a C Library with python and Java bindings (with a lot of examples, sysFS based).  https://github.com/bitbank2/ArmbianIO
  • I maintained a fork of pyA20 (Python based, pyGPIO /dev/mem based, needs root to execute programs) with multiple boards, but cause he's a way more active than me, I suggest to use his library as long as you don't need 'maximum speed' to toggle pins.
  • @sgjava provides bindings for a libgpiod based library (needs mainline kernel) with python and java bindings

And there are other libraries 'in the wild' which might or might not work for your board. 

Yes, the physical pins line up with the RPI original 26-pin GPIO. Remember that the connector is on the "other side" of the board with respect to the RPI way of doing it.

  • Author
13 hours ago, Larry Bank said:

Yes, the physical pins line up with the RPI original 26-pin GPIO. Remember that the connector is on the "other side" of the board with respect to the RPI way of doing it.

Yeah, I remember from somewhere that OPi has "compatible" GPIO with RPI, but rotated (180 degrees?).

 

(as an important side note - would be nice if pin description on the breadboard adapter fit actual pins - I can live without this or with a piece of paper, but it's usefull to have valid description for kids :) )

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.