Skip to content
This repository was archived by the owner on May 13, 2019. It is now read-only.
This repository was archived by the owner on May 13, 2019. It is now read-only.

Samples with python and ubuntu #64

@ihabZhaika

Description

@ihabZhaika

hi,
i have installed ubuntu on the joule , and i tried to connect i2c devices ,but it unable to detect any thing
More details :
i am running on ubuntu 16.04 , i installed the I2C libs with the following lines
sudo apt-get install python-smbus
sudo apt-get install i2c-tools

then i used the following line to check I2C0 [pin 11 , pin 13] devices ,but i was not able to find the device [ PCA9685 16 Channel adafruit servo controller] [ i tired it with up-board ] and it detected
sudo i2cdetect -y 0
i got , which not the device address

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

i tired to connect it to buses 1,2,3 and no addresses at all
sudo i2cdetect -y 1 sudo i2cdetect -y 2 sudo i2cdetect -y 3
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

So is there any kernel patch needed and what to do for getting them working ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions