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. ›BNO055 Absolute Orientation Sensor

Component guide · Intermediate · 4 min read

BNO055 Absolute Orientation Sensor

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 BNO055 isBNO055 pinoutWiring the BNO055Example codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Short answer

The BNO055 from Bosch is a 9-axis sensor with its own processor that does the sensor fusion for you. Instead of raw numbers you read heading, roll and pitch, or a quaternion, over I2C at address 0x28. It suits robots, pointing devices and balancing projects where you want stable angles without writing a filter.

Key specs at a glance

Sensors
Accelerometer, gyroscope and magnetometer with an on-chip fusion processor
Outputs
Euler angles, quaternion, linear acceleration, gravity vector, raw data
Fusion rate
100 Hz
Interface
I2C (0x28, or 0x29 with ADR high) or UART
Supply
Chip 2.4 to 3.6 V; most breakouts accept 3.3 to 5 V
Calibration
Status 0 to 3 for system, gyro, accelerometer and magnetometer

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1Adafruit BNO055 9-DOF Absolute Orientation IMU Fusion Breakout – STEMMA QT / Qwiic₹4,595
  • Option 2Bosch BNO055 9-Axis Absolute Orientation Sensor – I2C/UART Interface₹1,439
  • Option 3DFRobot Fermion BNO055 Intelligent 9-Axis Sensor Breakout – I2C IMU₹1,989
  • Option 4GY-BNO055 9DOF 9-Axis Sensor Module – I2C/Serial Interface₹1,709
01

What the BNO055 is

Most motion sensors give raw readings, and turning them into angles needs a fusion filter that is easy to get wrong. The BNO055 has a small ARM Cortex-M0 inside running Bosch's fusion software, so it reports absolute orientation directly.

It calibrates itself in the background while it moves and reports how well calibrated each sensor is. You can save the calibration offsets and load them at start-up, so it is ready without the calibration dance every time.

02

BNO055 pinout

The pins on the BNO055 and what each one does.

PinFunction
VINSupply, 3.3 to 5 V on breakouts with a regulator
3Vo3.3 V output from the breakout's regulator
GNDGround
SDA / SCLI2C data and clock (UART TX and RX in UART mode)
RSTReset, active low
INTInterrupt output
ADRAddress select: low 0x28, high 0x29
PS0 / PS1Protocol select; both low for I2C
PinFunction
VIN
Supply, 3.3 to 5 V on breakouts with a regulator
3Vo
3.3 V output from the breakout's regulator
GND
Ground
SDA / SCL
I2C data and clock (UART TX and RX in UART mode)
RST
Reset, active low
INT
Interrupt output
ADR
Address select: low 0x28, high 0x29
PS0 / PS1
Protocol select; both low for I2C
03

Wiring the BNO055

The BNO055 uses I2C clock stretching. Arduino AVR boards and the ESP32 handle it; the ESP8266 and the Raspberry Pi's hardware I2C can have trouble, so slow the bus down or use UART mode there.

BNO055 pinArduino UnoESP32
VIN5V3V3
GNDGNDGND
SDAA4GPIO 21
SCLA5GPIO 22
ADROpen or GND (0x28)Open or GND (0x28)
VIN
Arduino Uno:
5V
ESP32:
3V3
GND
Arduino Uno:
GND
ESP32:
GND
SDA
Arduino Uno:
A4
ESP32:
GPIO 21
SCL
Arduino Uno:
A5
ESP32:
GPIO 22
ADR
Arduino Uno:
Open or GND (0x28)
ESP32:
Open or GND (0x28)
04

Example code

Install Adafruit BNO055 and Adafruit Unified Sensor from the Library Manager. Calibration values climb to 3 as you move the sensor.

Read heading, roll and pitch (Arduino, Adafruit BNO055 library) · Arduino C++Verify & upload in Electrolark
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BNO055.h>

Adafruit_BNO055 bno = Adafruit_BNO055(55, 0x28);

void setup() {
  Serial.begin(115200);
  if (!bno.begin()) { Serial.println("No BNO055 found"); while (1); }
  bno.setExtCrystalUse(true);
}

void loop() {
  sensors_event_t e;
  bno.getEvent(&e);
  uint8_t sys, gyro, accel, mag;
  bno.getCalibration(&sys, &gyro, &accel, &mag);
  Serial.print("Heading "); Serial.print(e.orientation.x);
  Serial.print("  Roll ");  Serial.print(e.orientation.y);
  Serial.print("  Pitch "); Serial.print(e.orientation.z);
  Serial.print("  Cal S/G/A/M "); Serial.print(sys); Serial.print(gyro); Serial.print(accel); Serial.println(mag);
  delay(100);
}
05

Setup and tuning

Calibrate

leave it still for the gyro, tilt it to six different positions for the accelerometer and move it in a figure of eight for the magnetometer.

Save offsets

once all values read 3, read the offsets with getSensorOffsets() and store them in EEPROM; load them at start-up.

Mode

NDOF mode uses the compass for absolute heading; IMU mode ignores the compass and gives relative heading, useful near motors.

Mounting

keep it away from magnets and current-carrying wires.

06

What you need

Shop this list6 of 7 found in our store · ₹10,170

  • Adafruit BNO055 9-DOF orientation breakout: the sensor this guide coversAdafruit BNO055 9-DOF Absolute Orientation IMU Fusion Breakout – STEMMA QT / Qwiic₹4,595Closest match, check the specs
  • Bosch BNO055 9-Axis Absolute Orientation Sensor – I2C/UART Interface: another version this guide coversBosch BNO055 9-Axis Absolute Orientation Sensor – I2C/UART Interface₹1,439
  • DFRobot Fermion BNO055 Intelligent 9-Axis Sensor Breakout – I2C IMU: another version this guide coversDFRobot Fermion BNO055 Intelligent 9-Axis Sensor Breakout – I2C IMU₹1,989
  • GY-BNO055 9-axis module: a lower-cost board with the same chipGY-BNO055 9DOF 9-Axis Sensor Module – I2C/Serial Interface₹1,709Closest match, check the specs
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
  • Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
07

Alternatives and when to choose them

  • ✓BNO085: newer fusion firmware with more report types and better accuracy.
  • ✓MPU9250: raw 9-axis data, you write the fusion.
  • ✓MPU6050: 6-axis, no compass, for tilt and balance.
  • ✓Magnetometers and 9-axis IMUs: compass basics.
08

Try it: I2c pullup calculator

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

09

Common mistakes to avoid

  • !Trusting the heading before the magnetometer calibration reaches 3.
  • !Using it on an ESP8266 or Raspberry Pi I2C bus without fixing clock stretching.
  • !Mounting it next to a motor in NDOF mode, so the heading jumps.
  • !Forgetting to save calibration offsets, so it needs calibrating at every power-up.
10

Frequently asked questions

What does the BNO055 output?

Heading, roll and pitch in degrees, a quaternion, linear acceleration, the gravity vector and the raw sensor values.

What is its I2C address?

0x28 with ADR low (default on most boards) or 0x29 with ADR high.

Does it work with a Raspberry Pi?

Yes, but the Pi's I2C does not handle clock stretching well; use a slower bus or UART mode.

Why does the heading drift or jump?

The magnetometer is not calibrated or there is a magnetic disturbance nearby. Check the calibration status.

Can I use it at 5 V?

Breakouts with a regulator, such as the Adafruit and GY-BNO055 boards, accept 5 V. The chip itself is 3.3 V.

BNO055 or BNO085?

The BNO085 is newer and more accurate; the BNO055 has more tutorials and simpler code.

Parts for this guide

  • Adafruit BNO055 9-DOF Absolute Orientation IMU Fusion Breakout – STEMMA QT / Qwiic
    ₹4,595View
  • Bosch BNO055 9-Axis Absolute Orientation Sensor – I2C/UART Interface
    ₹1,439View
  • DFRobot Fermion BNO055 Intelligent 9-Axis Sensor Breakout – I2C IMU
    ₹1,989View
  • GY-BNO055 9DOF 9-Axis Sensor Module – I2C/Serial Interface
    ₹1,709View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
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 · SensorsComponent 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 · SensorsConcept 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 guideIntermediateInclinometers and Tilt Angle SensorsAn inclinometer reports tilt angle, usually from a MEMS accelerometer.3 min read · Sensors

Sources

  • BNO055 intelligent 9-axis absolute orientation sensor datasheet (Bosch Sensortec)
  • Adafruit BNO055 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 BNO055 isBNO055 pinoutWiring the BNO055Example 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)2 items · ₹4,799

Adafruit BNO055 9-DOF Absolute Orientation IMU Fusion Breakout – STEMMA QT / Qwiic · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

Cal S/G/A/M counts 0 to 3 each. Move the board in a figure 8 until it shows 3333.

Serial monitor115200 baud
Heading 90.00  Roll 0.00  Pitch 0.00  Cal S/G/A/M 0333

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