0

For a physical activity monitoring project, I am developing a prototype based on an Arduino Due and several IMUs (BNO055 from Bosch).

I have to collect the data from the sensors simultaneously (3 for the moment). I want to use a Serial connection (Since the Arduino Due has 4 hardware serial ports).

  • Here comes the first issue : I use the shuttleboard BNO0055, and because of my limited knowledge, I'm not sure I did the right wiring. As I understood in the datasheets, the PS0 pin must be connected to the GND and PS1 to the incoming voltage. The COM0 to the RX of the Arduino and COM1 to TX. I am confused by the documentation, I can't figure out which pin of the shuttleboard are the COM0 and COM1. (I can't post the pictures of my wiring since it's my first post here).

  • And now there is a second problem: If the wiring is good, how can I communicate with the sensor to get the Euler angles? The BNO055 sensor does the fusion data itself, and gives the quaternions or the Euler angle. Bosch provides a library. I have never used a library, and I don't know the syntax to ask the sensor to give the Euler angles. Can someone give me a code to do this? Or at least explanations on the syntax I should use?

  • PS0 pin must be connected to the GND and PS1 to the incoming voltage. The COM0 to the RX of the Arduino and COM1 to TX. according to figure 10 that would be correct. The library you linked to only works for I2C, so that won't work. Is there any reason to use UART over I2C? – Gerben Jul 28 '15 at 14:12
  • At the end of the project I should have 5 IMU connected. With the Arduino due I know I can have 4 IMUs, but I would miss one. For now I can use I2C, I tried, and It's the same problem, I don't know if my wiring is good, I tried several wiring and each time I used the I2C Scanner and it failed everytime – BunkSB Jul 29 '15 at 7:46
  • 1
    Update : The I2C Scanner found the device at address 0x29, only when I link I2C_MODE_ADR_SEL to the incoming voltage – BunkSB Jul 29 '15 at 7:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.