View: 12958|Reply: 5

I2C in the Orange Pi One

[Copy link]

1

threads

2

posts

15

credits

Novice

Rank: 1

credits
15
Published in 2017-8-3 05:15:36 | Show all floors |Read mode
Hello,

I am running a program that uses the wiringPi library on the Orange Pi One when I came across this error:

Unable to select I2C device: Device or resource busy

The device in question is the PCF8591 A/D Converter. When I ran the same program on the Raspberry Pi 3, it works perfectly fine. I am trying to make the program compatible with the Orange Pi One.

Is there a way to enable I2C on the Orange Pi One? Or is the wiringPi library completely incompatible with the Orange Pi One?

Thanks in advance.

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2017-8-3 06:20:55 | Show all floors

1

threads

2

posts

15

credits

Novice

Rank: 1

credits
15
 Author| Published in 2017-8-3 07:18:55 | Show all floors
Could you please explain these outputs?

pi@orange:~# i2cdetect -y 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --                        

pi@orange:~# cat /proc/modules
mali_drm 2732 3 - Live 0x00000000
drm 178255 4 mali_drm, Live 0x00000000
mali 123208 0 - Live 0x00000000
ump 29379 3 mali, Live 0x00000000
bmp085 3487 0 - Live 0x00000000
pcf8591 3363 0 - Live 0x00000000
8189es 1076034 0 - Live 0x00000000

What does the line: pcf8591 3363 0 - Live 0x00000000 mean?
Published in 2025-12-1 17:48:29 | Show all floors
Spot on with this write-up, I actually think this website needs far more consideration.  in all probability be once more to read far more, thanks for that info.        BJ 27
Published in 4 daybefore | Show all floors
Be the precise blog if you have wants to learn about this topic. You comprehend considerably its nearly onerous to argue to you (not that I personally would needHaHa). You undoubtedly put a new spin for a topic thats been discussing for some time. Nice stuff, simply nice!        patrickstash
Published in yesterday 20:10 | Show all floors
My partner and i still can not quite assume that I could be one of those reading through the important recommendations found on this blog. My family and I are sincerely thankful for your generosity and for presenting me potential to pursue the chosen career path. Appreciate your sharing the important information I acquired from your web-site.        jerrys vc
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list