Good to hear it works !
It does only work when RST is connected to TX0.
That is Correct. RST on the mainboard is a different circuit that you should not use.
No need to do pinMode(). that is already handled by the BN00086 library.
One more question: what does it imply that TX1 and RX1 are now used for the IMU?
I assume that means I cannot add any other hardware that would rely on serial connection, right?
But I can add other Qwiic devices? (Thats what I will do next, display, vibration, audio, led..)
correct. You can add Qwiic / I2C devices.
2 Likes
For everyone else coming here, the solution thanks to @paulvha is:
- connect IMU INT to Micromod Mainboard RX1 (lower left next to Micromod slot)
- connect IMU RST to Micromod Mainboard TX1 (lower left next to Micromod slot)
- on Mainboard, bridge SEC and GND (the 2 pinout holes above RX1 and TX1). I did that with a simple Jumper and a 2-pin pin header)
- in sketch define section add:
#define BNO08X_INT RX1
#define BNO08X_RST TX1
- in sketch setup section use:
while (myIMU.begin(BNO08X_ADDR, Wire, BNO08X_INT, BNO08X_RST) == false)
Note that this only works with the single micromod board, the dual board does not have RX1 and TX1.
Without using INT/RST there will be wrong readings, identifyable by checking:
myIMU.getQuatRadianAccuracy();
which in that case is 0.
Do not use the RST pinout from the mainboard itself as mentioned by paulvha.
1 Like