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.

Does HAT for Raspberry work for OrangePi Pc Plus ?

Featured Replies

Dear All,

 

first of all,

 

i dont have any orange pi yet, want to have one, perhaps orange pi PC Plus. My main intention is to use as robotic experiment.

 

i have some questions:

- is orange pc plus GPIO compatible with raspberry one ?

- does shield / module for raspberry works in Orange Pi ?

- example : if i want to use "Pimoroni Explorer HAT Pro for Raspberry Pi", can it work in orange pi ?

 

sorry if these euqestion existed before and sorry if wrong forum.

 

thanks.

Hello,

 

I have an Orange Pi Pc Plus, and a PIVOyager, it seems I2C buses (0 and 1) are inversed between Raspberry and OrangePi.

 

(Nb: It was my first go use/compilation)

 

I have created a $HOME/go directory

then I have put the whole project inside a ~/go/src/github.com/omzlo/ structure

I have modified the file device.go https://github.com/omzlo/pivoyager/blob/2ffcdd2ec77871184f2d02f180bd47b720af077a/device/device.go#L169

to change

bus := i2c.OpenBus(1)

to :

bus := i2c.OpenBus(0)

then compile with:

/usr/lib/go-1.10/bin/go build cmd/pivoyager.go

 

and it works ! :-)

pivoyager.png.8063587fdcbad21a6a589df5645d26a7.png

 

Ps: compiled on Armbian

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.