Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›BNO085 IMU Module

Component guide · Advanced · 3 min read

BNO085 IMU Module

Pinout, Wiring and Code

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the BNO085 isBNO085 pinoutWiring the BNO085Example codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Short answer

The BNO085 is a 9-axis motion sensor with built-in fusion firmware (SH-2) that outputs rotation vectors (quaternions), step counts, tap and activity reports. Connect it over I2C (address 0x4A), SPI or UART and ask for the reports you need. It is a strong choice for robots, head tracking and wearables that need accurate, drift-free orientation.

Key specs at a glance

Sensors
Accelerometer, gyroscope, magnetometer with an ARM Cortex-M0 running SH-2 fusion firmware
Reports
Rotation vector, game rotation vector, geomagnetic rotation, linear acceleration, gravity, step counter, tap, stability
Interfaces
I2C (0x4A, or 0x4B), SPI, UART and UART-RVC
Supply
2.4 to 3.6 V; check whether your module has a regulator
Report rate
Up to about 400 Hz for rotation vectors
01

What the BNO085 is

The BNO085 uses the same Bosch sensor die family as the BNO055 but runs fusion firmware from CEVA (Hillcrest Labs). You enable only the reports you want and the chip sends them at the rate you ask for.

The game rotation vector uses only accelerometer and gyro, so it is smooth and unaffected by magnets but its heading is relative. The rotation vector adds the magnetometer for an absolute heading. UART-RVC mode streams heading, pitch and roll as simple serial packets without any library, handy for robot vacuums and simple controllers.

02

BNO085 pinout

The pins on the BNO085 and what each one does.

PinFunction
VIN / VCCSupply (3.3 V; 5 V only if the module has a regulator)
GNDGround
SDA / SCLI2C data and clock
INTInterrupt: goes low when a report is ready
RSTReset, active low
PS0 / PS1Interface select: both low for I2C
DI / SDA, SCL / SCK, SDOSPI pins when SPI mode is selected
CSSPI chip select
PinFunction
VIN / VCC
Supply (3.3 V; 5 V only if the module has a regulator)
GND
Ground
SDA / SCL
I2C data and clock
INT
Interrupt: goes low when a report is ready
RST
Reset, active low
PS0 / PS1
Interface select: both low for I2C
DI / SDA, SCL / SCK, SDO
SPI pins when SPI mode is selected
CS
SPI chip select
03

Wiring the BNO085

The BNO085 is a 3.3 V part. With an Uno, use a module with a regulator and level shifting, or put a level shifter on SDA and SCL. An ESP32 or a 3.3 V Arduino connects directly.

BNO085 pinArduino UnoESP32
VIN3.3V (or 5V with regulator)3V3
GNDGNDGND
SDAA4 (via level shifter if no regulator)GPIO 21
SCLA5GPIO 22
INTD2 (optional)GPIO 4 (optional)
RSTD5 (optional)GPIO 5 (optional)
VIN
Arduino Uno:
3.3V (or 5V with regulator)
ESP32:
3V3
GND
Arduino Uno:
GND
ESP32:
GND
SDA
Arduino Uno:
A4 (via level shifter if no regulator)
ESP32:
GPIO 21
SCL
Arduino Uno:
A5
ESP32:
GPIO 22
INT
Arduino Uno:
D2 (optional)
ESP32:
GPIO 4 (optional)
RST
Arduino Uno:
D5 (optional)
ESP32:
GPIO 5 (optional)
04

Example code

The four numbers are a quaternion (real, i, j, k). Convert to yaw, pitch and roll with the standard quaternion-to-Euler formulas if you need angles.

Read the game rotation vector (Adafruit BNO08x library) · Arduino C++Verify & upload in Electrolark
#include <Adafruit_BNO08x.h>

Adafruit_BNO08x bno08x(-1);     // no reset pin
sh2_SensorValue_t v;

void setup() {
  Serial.begin(115200);
  if (!bno08x.begin_I2C()) { Serial.println("No BNO08x found"); while (1); }
  bno08x.enableReport(SH2_GAME_ROTATION_VECTOR, 10000);   // every 10 ms
}

void loop() {
  if (bno08x.wasReset()) bno08x.enableReport(SH2_GAME_ROTATION_VECTOR, 10000);
  if (!bno08x.getSensorEvent(&v)) return;
  if (v.sensorId == SH2_GAME_ROTATION_VECTOR) {
    Serial.print(v.un.gameRotationVector.real); Serial.print(" ");
    Serial.print(v.un.gameRotationVector.i);    Serial.print(" ");
    Serial.print(v.un.gameRotationVector.j);    Serial.print(" ");
    Serial.println(v.un.gameRotationVector.k);
  }
}
05

Setup and tuning

Re-enable after reset

the chip resets itself if it detects a fault; check wasReset() and enable your reports again.

I2C speed

use 400 kHz and keep wires short; the BNO085 sends large packets.

Calibration

dynamic calibration runs automatically; save it with the calibration command when it is good.

No compass needed

use the game rotation vector near motors and magnets.

06

What you need

Shop this list4 of 5 found in our store · ₹526

  • BNO085 IMU sensor module: the sensor this guide coversFind this part
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
  • 4-channel logic level converter (BSS138): to connect 5 V and 3.3 V signals safely4-Channel Logic Level Converter (BSS138)₹20
  • Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
  • Solderless breadboard: to build without solderingSolderless Breadboard₹68
07

Alternatives and when to choose them

  • ✓BNO055: simpler library and output in degrees, slightly less accurate.
  • ✓ICM-20948: raw 9-axis data with an on-chip DMP.
  • ✓MPU6050: low-cost 6-axis for tilt and balancing.
08

Try it: I2c pullup calculator

Change the values and the diagram and results update as you type.

09

Common mistakes to avoid

  • !Powering a bare 3.3 V module from 5 V or driving it with 5 V logic.
  • !Not re-enabling reports after the sensor resets, so data stops.
  • !Using the rotation vector next to motors instead of the game rotation vector.
  • !Long, slow I2C wires that corrupt the large SH-2 packets.
10

Frequently asked questions

What is the BNO085's I2C address?

0x4A by default, 0x4B with the address pin pulled high.

Does it work with Arduino Uno?

Yes with level shifting, but its memory is tight; an ESP32 or a 32-bit Arduino is easier.

What is UART-RVC mode?

A mode where the chip streams heading, pitch, roll and acceleration over serial at 100 Hz without any configuration.

BNO085 or BNO080?

They are compatible; the BNO085 is the current version of the same design.

Why do I get quaternions, not angles?

Quaternions avoid gimbal lock. Convert them to Euler angles in code when you need degrees.

Parts for this guide

  • BNO085 IMU Sensor Module – I2C/SPI/UART Interface
    ₹2,209View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • 4-Channel Logic Level Converter (BSS138)
    ₹20View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
  • Solderless Breadboard
    ₹68View
Shop Accelerometers, Gyroscopes & IMUs

Calculators

I2c pullup calculator

Terms in this guide

I2CInter-Integrated Circuit: a two-wire bus (SDA and SCL) that connects many devices by address.

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Intermediate · 3 hoursBike trip computer with GNSS speed and a crash alertView project
Browse all 1 project

Keep learning

Component guideIntermediateMagnetometers and 9-Axis IMUsA 9-axis IMU adds a magnetometer to a gyroscope and accelerometer so it can give a stable heading as well as roll and pitch.3 min read · SensorsHow-toIntermediate3.3 V vs 5 V LogicYou need level shifting when a 5 V device sends signals to a 3.3 V board such as an ESP32 or Raspberry Pi Pico, because 5 V on their pins can damage them.4 min read · Prototyping & WiringConcept explainerIntermediateI2C ExplainedI2C is a two-wire bus that lets one microcontroller talk to many sensors and displays using a data line (SDA) and a clock line (SCL).4 min read · Electronics FundamentalsComponent guideIntermediateMPU6050 Accelerometer and GyroscopeThe MPU6050 is a 6-axis motion sensor that combines a 3-axis accelerometer and a 3-axis gyroscope on one chip and talks over I2C at address 0x68.3 min read · Sensors

Sources

  • BNO080/BNO085 datasheet and SH-2 reference manual (CEVA)
  • Adafruit BNO08x library

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the BNO085 isBNO085 pinoutWiring the BNO085Example codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide (Arduino Uno)4 items · ₹2,501

BNO085 IMU Sensor Module – I2C/SPI/UART Interface · 4-Channel Logic Level Converter (BSS138) · Solderless Breadboard · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

Game rotation vector as a quaternion: real, i, j, k. Flat and still gives 1 0 0 0.

Serial monitor115200 baud
1.00 0.00 0.00 0.00

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question