I'm doing a wearable project and, one of the first things, is to connect 2 IMU's BNO055 to one arduino UNO. I know I have to implement I2C protocol to this, however I don't know how the code is gonna be since we have two IMU. I have already connected ADR of one o the IMU do 3.3V pin of the arduino board in order to change the address to 0x29. However I don't know how to do the code to differenciate this two IMU. Firstly I want to calibrate them and after I want arduino receive the coordinates that it will be send to MATLAB. Anyone can help me about the code?
I have already done that, however, my problem is in one part of the code. This was done for just one BNO055, however how can I change it in order to be able to work with both sensors? Anyone can help?
Yes, that code is written for one sensor and I gave you the necessary information to have two objects for the two sensors. It's your job to actually adapt the code, we don't do the coding for you. You have to adapt the PC side (MATLAB) anyway and the code changes have to reflect the changes in the MATLAB code (or vice-versa).
I have never wanted that. I'm sorry if you have understood that way. I was looking for any mistake that would have escaped from me. Thank you anyway for your help, the code is now working after some changes and additions.