Hardware Setup

This guide covers the physical connections and hardware requirements for the BNO08x sensor.

Pin Connections

1
2
3
4
5
6
7
8
MCU              BNO08x
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
3.3V      โ”€โ”€โ”€โ”€โ”€โ”€ VIN
GND       โ”€โ”€โ”€โ”€โ”€โ”€ GND
SCL       โ”€โ”€โ”€โ”€โ”€โ”€ SCL   (with 4.7 kฮฉ pull-up)
SDA       โ”€โ”€โ”€โ”€โ”€โ”€ SDA   (with 4.7 kฮฉ pull-up)
GPIO      โ”€โ”€โ”€โ”€โ”€โ”€ INT   (optional, active-low interrupt)
GPIO      โ”€โ”€โ”€โ”€โ”€โ”€ NRST  (optional, active-low reset)

Interface Selection: PS0=GND, PS1=GND selects IยฒC mode

IยฒC Address:

  • ADR/SA0 = GND โ†’ 0x4A
  • ADR/SA0 = VIN โ†’ 0x4B

SPI Interface

1
2
3
4
5
6
7
8
9
10
11
MCU              BNO08x
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
3.3V      โ”€โ”€โ”€โ”€โ”€โ”€ VIN
GND       โ”€โ”€โ”€โ”€โ”€โ”€ GND
SCK       โ”€โ”€โ”€โ”€โ”€โ”€ SCL
MOSI      โ”€โ”€โ”€โ”€โ”€โ”€ SDA
MISO      โ”€โ”€โ”€โ”€โ”€โ”€ MISO
CS        โ”€โ”€โ”€โ”€โ”€โ”€ CS
GPIO      โ”€โ”€โ”€โ”€โ”€โ”€ INT   (optional)
GPIO      โ”€โ”€โ”€โ”€โ”€โ”€ NRST  (optional)
GPIO      โ”€โ”€โ”€โ”€โ”€โ”€ WAKE  (optional, SPI mode only)

Interface Selection: PS0=VIN, PS1=VIN selects SPI mode

UART Interface (RVC Mode)

1
2
3
4
5
6
7
8
MCU              BNO08x
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
3.3V      โ”€โ”€โ”€โ”€โ”€โ”€ VIN
GND       โ”€โ”€โ”€โ”€โ”€โ”€ GND
TX        โ”€โ”€โ”€โ”€โ”€โ”€ SDA
RX        โ”€โ”€โ”€โ”€โ”€โ”€ SCL
GPIO      โ”€โ”€โ”€โ”€โ”€โ”€ INT   (optional)
GPIO      โ”€โ”€โ”€โ”€โ”€โ”€ NRST  (optional)

Interface Selection: PS0=GND, PS1=VIN selects UART mode

Baud Rate: 115200 bps (8N1)

Pin Descriptions

Pin Name Description Required
VIN Power 3.3V power supply Yes
GND Ground Ground reference Yes
SCL Clock IยฒC clock (SCL) or SPI clock (SCK) or UART TX Yes
SDA Data IยฒC data (SDA) or SPI data (SDA/MOSI) or UART RX Yes
INT Interrupt Active-low interrupt output No
NRST Reset Active-low reset input No
WAKE Wake SPI mode wake control (active low) No
PS0 Protocol Select Interface selection bit 0 Yes
PS1 Protocol Select Interface selection bit 1 Yes
ADR/SA0 Address IยฒC address selection No

Power Requirements

  • Supply Voltage: 3.3V (2.4V - 3.6V typical)
  • Current Consumption: ~20-30 mA (depends on enabled sensors)
  • Power Supply: Clean 3.3V supply with decoupling capacitors (100nF ceramic + 10ยตF tantalum recommended)

Interface Selection

The BNO08x supports multiple interfaces selected via PS0 and PS1 pins:

PS1 PS0 Interface
GND GND IยฒC
GND VIN UART
VIN GND UART (RVC mode)
VIN VIN SPI

Note: Interface selection is sampled at reset. Change pins before resetting the device.

Physical Layout Recommendations

  • Keep IยฒC/SPI traces short (< 10cm recommended)
  • Use ground plane for noise reduction
  • Place decoupling capacitors (100nF ceramic + 10ยตF tantalum) close to VIN pin
  • Route clock and data lines away from noise sources
  • Use appropriate pull-up resistors for IยฒC (4.7 kฮฉ typical)
  • Keep sensor away from strong magnetic fields

Example Wiring Diagram (IยฒC)

1
2
3
4
5
6
7
8
9
10
11
12
                    BNO08x
                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        3.3V โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค VIN     โ”‚
        GND  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค GND     โ”‚
        SCL  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค SCL     โ”‚โ”€โ”€โ”€[4.7kฮฉ]โ”€โ”€โ”€ 3.3V
        SDA  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค SDA     โ”‚โ”€โ”€โ”€[4.7kฮฉ]โ”€โ”€โ”€ 3.3V
        INT  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค INT     โ”‚
        NRST โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค NRST    โ”‚
        GND  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค PS0     โ”‚
        GND  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค PS1     โ”‚
        GND  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค ADR     โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Next Steps


Navigation โฌ…๏ธ Quick Start | Next: Platform Integration โžก๏ธ | Back to Index