Hi Ben
The MPU6886 is working nice with the adress 0(0x68)
But NOT with the adress 0(0x69) (and hardware change pin A0)
regards
Stefan
MPU-6886 adress (0x68) OK / (0x69) NOT OK
-
- Valued Contributor
- Posts: 765
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 172 times
-
- Valued Contributor
- Posts: 765
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 172 times
Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK
Hi Ben
So if I use only one IMU, that's ok
Adress 0(0x69) with A0 GND works
Adress1(0x69) with A0 3v3 works
unfortunately I need both IMU
There is already a problem with initialising
This program does not run, it hangs on the second test.
no matter if address 0 or 1 first
regards
Stefan
hang on second test:
So if I use only one IMU, that's ok
Adress 0(0x69) with A0 GND works
Adress1(0x69) with A0 3v3 works
unfortunately I need both IMU
There is already a problem with initialising
This program does not run, it hangs on the second test.
no matter if address 0 or 1 first
regards
Stefan
hang on second test:
-
- Valued Contributor
- Posts: 765
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 172 times
Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK
Hi Ben
I prepared 4 IMU
2pcs with adress 0x68
2pcs with adress 0x69
I tested individually on bus1 and all of these work well.
So I connected them all on bus1 and bus2 and this is not working
but if I connect one module to bus1 and the other to bus2, it works no matter which address I use.
Only one module works on one bus!
(of course I have always adjusted the addresses and pins)
My hardware has 2 groove connector, but soon I have to connect it to a smaller hardware with only one i2c bus free
regards
Stefan
I prepared 4 IMU
2pcs with adress 0x68
2pcs with adress 0x69
I tested individually on bus1 and all of these work well.
So I connected them all on bus1 and bus2 and this is not working
but if I connect one module to bus1 and the other to bus2, it works no matter which address I use.
Only one module works on one bus!
(of course I have always adjusted the addresses and pins)
My hardware has 2 groove connector, but soon I have to connect it to a smaller hardware with only one i2c bus free
regards
Stefan
-
- Matrix Staff
- Posts: 1760
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 447 times
- Been thanked: 607 times
Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK
Hi Stefan,
Is it an ESP you're using? I think I might need to make a similar mod like I did to the ESP32 SPI CAL.
Is it an ESP you're using? I think I might need to make a similar mod like I did to the ESP32 SPI CAL.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 765
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 172 times
Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK
Hi Ben
Yes it's an ESP32 now and later.
regards
Stefan
Yes it's an ESP32 now and later.
regards
Stefan
-
- Matrix Staff
- Posts: 1760
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 447 times
- Been thanked: 607 times
Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK
OK thanks, I'll look into doing the mod for you this afternoon.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1760
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 447 times
- Been thanked: 607 times
Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK
Hello,
Right I've pushed a change and checked it compiles ok. Hopefully this should now allow multiple components to share the same ESP32 I2C hardware channel.
Let me know how you get on.
Right I've pushed a change and checked it compiles ok. Hopefully this should now allow multiple components to share the same ESP32 I2C hardware channel.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 765
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 172 times
Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK
Hi Ben
I tested two modul on the same bus and now it's working perfect!
thank's alot
regards
Stefan
I tested two modul on the same bus and now it's working perfect!
thank's alot
regards
Stefan