Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino Mega 2560 and Adafruit BNO085 IMU Sensor Integration

Image of Arduino Mega 2560 and Adafruit BNO085 IMU Sensor Integration

Circuit Documentation

Summary of the Circuit

This circuit integrates an Adafruit BNO085 9-DOF Orientation IMU Fusion sensor with an Arduino Mega 2560 microcontroller. The purpose of the circuit is to allow the Arduino Mega 2560 to communicate with the BNO085 sensor, which provides orientation data. The sensor is connected to the microcontroller via I2C communication protocol, utilizing the SCL and SDA lines for clock and data transfer, respectively. The sensor is powered by the 3.3V output from the Arduino, and both devices share a common ground.

Component List

Adafruit BNO085 9-DOF Orientation IMU Fusion

  • Description: A high-precision 9-DOF sensor with sensor fusion algorithms that provide orientation data.
  • Pins: VCC, 3.3V, GND, SCL/SCK/RX, SDA/MISO/TX, INT, BOOT, PS0, PS1, RST, MOSI, CS

Arduino Mega 2560

  • Description: A microcontroller board based on the ATmega2560, with a large number of IO pins, suitable for complex projects.
  • Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D0-D53, AREF, SDA, SCL

Wiring Details

Adafruit BNO085 9-DOF Orientation IMU Fusion

  • 3.3V connected to Arduino Mega 2560 3V3
  • GND connected to Arduino Mega 2560 GND
  • SCL/SCK/RX connected to Arduino Mega 2560 D21/SCL
  • SDA/MISO/TX connected to Arduino Mega 2560 D20/SDA

Arduino Mega 2560

  • 3V3 connected to Adafruit BNO085 9-DOF Orientation IMU Fusion 3.3V
  • GND connected to Adafruit BNO085 9-DOF Orientation IMU Fusion GND
  • D21/SCL connected to Adafruit BNO085 9-DOF Orientation IMU Fusion SCL/SCK/RX
  • D20/SDA connected to Adafruit BNO085 9-DOF Orientation IMU Fusion SDA/MISO/TX

Documented Code

Arduino Mega 2560 Code: sketch.ino

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Additional Files

  • documentation.txt: This file is empty and does not contain any code or comments.

(Note: The code provided for the Arduino Mega 2560 is a template with empty setup and loop functions. To interact with the BNO085 sensor, code for initializing the I2C communication and reading data from the sensor should be added.)