View: 10520|Reply: 2

raspberry pi gpio pins versus gpio pins on the orange pi?

[Copy link]

1

threads

1

posts

11

credits

Novice

Rank: 1

credits
11
Published in 2016-5-28 07:11:36 | Show all floors |Read mode
Hey, just thinking of jumping ship to the Orange Pi. And my main concern is that one of my main projects (which I would like to transfer over to the orange pi) uses a lot of external devices. I use a prototyping HAT (this one) and would like to know if it is as easy as just putting it on the pins of the Orange Pi. I also use the raspberry pi camera which i had connected to the CSI port of the raspberry pi. I would like to know if there would be any trouble with connecting the Raspberry Pi camera to the Orange Pi.

Basically I want to know if it's just a matter of swapping everything over from the Raspberry Pi to the Orange Pi (including the SD card) and it will all work. Would be awesome if this was the case.

Thanks

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2016-5-28 08:33:51 | Show all floors
Edited by nopnop2002 at 2016-5-28 08:56

A library and Tool using BCM2835 library don't work.
For example webiopi.

gpio export command don't work.
So waitForInterrupt/wiringPiISR function don't work.

The following command which works in RPI doesn't work.
  1. $ gpio exports
  2. $ gpio export 8 out
  3. $ gpio exports
  4. GPIO Pins exported:
  5.    8: out  0  none

  6. $ gpio export 8 in
  7. $ gpio exports
  8. GPIO Pins exported:
  9.    8: in   0  none

  10. $ gpio edge 8 rising
  11. $ gpio exports
  12. GPIO Pins exported:
  13.    8: in   0  rising

  14. $ gpio unexport 8
Copy code

Hardware PWM don't work using pwmWrite function and gpio pwm command.

And probably there are many devices which don't work.




1

threads

4

posts

15

credits

Novice

Rank: 1

credits
15
Published in 2021-10-29 23:34:38 | Show all floors
Привет
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list