I want to use an MPU-9250 gyroscope sensor which works with I2C on my Jetson Nano, but I am new to all this stuff around I2C, so I can’t really figure out what is going wrong.
When I run sudo i2cdetect -y -r 1
, it gives me an empty table with no data:
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 here is my exact setup:
- VCC of sensor connected to pin 17 (3.3V)
- GND of sensor connected to pin 25 (GND)
- SCL of sensor connected to pin 5 (SCL1)
- SDA of sensor connected to pin 3 (SDA1)
(This setup should be Bus 1, if I understood correctly. Tried the same on Bus 0, which means substituted pin 5 with 28 (SCL0) and pin 3 with 27 (SDA0) and didsudo i2cdetect -y -r 0
, but gave the same output as before.)
Can someone explain to me what I did wrong and how to set it up to get it working?
Thanks!