This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IMU on i2c bus 4
#1
I have a hifiberry amp+ used to listen to audio through a Pi3 running openplotter. This means the i2c bus 1 on pins 3 & 5 are unavailable for any other i2c devices.
Code:
pi@openplotter:~ $ i2cdetect -y 1
     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: -- -- -- -- -- -- -- --
I`ve set up another bus, 4, and wired an imu 20948 to separate pins which seems to be working
Code:
pi@openplotter:~ $ i2cdetect -y 4
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Is it possible to get pypilot to use i2c bus 4 instead of bus 1? Had a very brief look at the code but nothing leapt out.

Thnx!
Reply


Messages In This Thread
IMU on i2c bus 4 - by PaddyB - 2023-07-26, 10:34 AM
RE: IMU on i2c bus 4 - by stelian - 2023-07-26, 07:08 PM
RE: IMU on i2c bus 4 - by PaddyB - 2023-07-27, 10:11 AM
RE: IMU on i2c bus 4 - by stelian - 2023-07-27, 10:17 AM
RE: IMU on i2c bus 4 - by PaddyB - 2023-07-27, 01:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)