GithubHelp home page GithubHelp logo

jetson_nano's People

Contributors

coder137 avatar

Watchers

 avatar  avatar

jetson_nano's Issues

Error in using i2c bus 1 for addressing LSM303 on Jetson

Hi,

I am using the Jetson NX for my project and wanted to use lsm 303 as i2c bus1. I had trouble connecting LSM 303 to this i2c bus 1 (which are SCLpin 28, SDA27). while jetson devices have 2 default i2c buses.The bus 8 (scl5, sda3) recognizes connection and reads the compass header as per expected. But bus 1 throws error as follows: ValueError: No I2C device at address: 0x1e

Following are some screenshots of the code I ran and the error I faced.
sc1
sc2
sc3
The compass address is detected on bus 1 as well as 8 when i2cdetect -r -y 1 is used. So to me, this does not look like a hardware problem with the pins.

I used the python file provided as an example code at the pip library for lsm303 to see the results but as my project has 2 devices dependent on i2c buses. I tried to switch i2c bus places within devices but both devices show Value error, so I am currently trying to bring into use bus1 for lsm303.

I am not sure if its possible, but can GPIO be used a unique i2c bus on jetson nx. Did you also face similar problems with i2c bus one and kindly provide suggestions as to what would be a way to make this work.

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.