Extension board · Sensors and inputs
An orientation sensor board: accelerometer, gyroscope and magnetometer in one chip that can compute heading and tilt itself. It connects to an I2C socket or a Qwiic cable. Reading it needs your own driver.
| Purpose | Reading orientation, heading and rotation rate in experiments with moving parts or robots. Not a safety sensor |
| Sensor | Bosch BNO055: acceleration, rotation rate and magnetic field, internal oscillator |
| Interface | I2C standard and fast mode, address 0x28, or 0x29 with JP4 closed; interrupt output and reset input |
| Supply | 3.3 V only; allow 25 mA |
| Pull-ups | 3.3 kΩ on SDA and SCL, removable |
| Connectors | Two Gadgeteer type I sockets (Samtec SHF-105, 1.27 mm) and one Qwiic |
| Size | 40 × 40 mm, four M3 holes on a 30 mm square |
| Works with | Smoothieboard V2 Prime header GG electrically; no firmware driver |
| Licence | Open hardware, CERN-OHL-S-2.0 |
Every figure with its basis is in the electrical specifications appendix; hole positions are in the mounting dimensions appendix.
The numbers on the drawing match the list below it. The board is shown from the component side.
1Input socket I IN (J1) — SDA on contact 8, SCL on 9, interrupt on 3, reset on 6.
2Chain socket CHAIN (J2) — Continues the bus.
3Qwiic connector (J3) — The same bus on a four-way cable.
4Orientation sensor (U1) — Keep magnets, steel and motor wires away from it.
5Bus pull-ups (R1, R2) — 3.3 kΩ resistors.
6Pull-up links (JP1, JP2) — Closed as delivered.
7Address link (JP4) — Close it for address 0x29.
8Chain links (JP3, JP6) — Interrupt and reset; open as delivered.
9Bus chain links (JP8, JP9) — Closed as delivered.
10Capacitors (C1 to C4) — Values follow the Bosch application circuit.
11Mounting hole — One of four M3 holes. Use non-magnetic screws.
Everything on this board is 3.3 V. Check contact numbering with the power removed.
| Contact | Signal | Use | Prime header GG |
|---|---|---|---|
| 1 | 3.3 V | Board supply | 3.3 V |
| 2 | 5 V | Passed to the chain only | 5 V |
| 3 | INT | Interrupt | PH2 |
| 4, 5, 7 | Passed through | Not used | PH4, PC0, PH3 |
| 6 | RESET | Pull low to reset | PF15 |
| 8 | SDA | I2C data | PF0 (I2C2_SDA) |
| 9 | SCL | I2C clock | PF1 (I2C2_SCL) |
| 10 | GND | Ground | GND |
| Pin | Signal |
|---|---|
| 1 | GND |
| 2 | 3.3 V |
| 3 | SDA |
| 4 | SCL |
Away from motors, magnets and steel, with the orientation you need.
Use J1 or Qwiic.
Wait for start-up, then read the chip identity register (0x00).
By the data sheet the device answers at 0x28 and the register reads 0xA0.
Follow the Bosch calibration movements in your driver before relying on heading.
| You want | Module | Example |
|---|---|---|
| Read orientation | None | No SmoothieV2 driver for this sensor |
There is nothing to add to config.ini.
The chip contains the three sensors and a small processor that combines them into orientation. Two grounded protocol pins select I2C. The chip stretches the I2C clock, which the host must support. The reset line is held high on the board and can be pulled low by the controller.
Open JP1 and JP2 when another board on the bus already has pull-ups.
| Link | What it does | As delivered |
|---|---|---|
| JP1 | Connects the SDA pull-up | Closed |
| JP2 | Connects the SCL pull-up | Closed |
| JP3 | Joins the interrupt to the chain | Open |
| JP4 | Selects address 0x29 | Open |
| JP6 | Joins reset to the chain | Open |
| JP8 | Continues SDA to the chain | Closed |
| JP9 | Continues SCL to the chain | Closed |
Further I2C devices can follow, each with its own address.
| Contact | Signal | On CHAIN |
|---|---|---|
| 1, 2, 10 | Power and ground | Passed on |
| 3, 6 | Interrupt, reset | Stopped by open links |
| 4, 5, 7 | Free | Passed on |
| 8, 9 | I2C | Passed on through closed links |
| Symptom | Likely cause | What to check |
|---|---|---|
| No answer on the bus | Wiring, pull-ups, or start-up not finished | Test points; wait after power up |
| Occasional bus errors | Host does not handle clock stretching | Lower the clock or use a host that does |
| Heading wrong or drifting | Magnetic disturbance or no calibration | Move away from steel and motors; calibrate |
| Answers at 0x29 | JP4 closed | Open it for 0x28 |
The board has no indicator lights; use the test points.
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | What it is |
|---|---|
| Schematic (PDF) | The circuit diagram |
| Parts list (CSV) | Every component with its value, footprint and part number where one is chosen |
| Board drawing (PNG) | The top view used on this page |
| 3D view, top (PNG) | Rendered from the design files |
| 3D view, angled (PNG) | Rendered from the design files |
For drilling a mounting plate or designing an enclosure. Positions are hole centres, in millimetres, measured from the top-left corner with the board seen from the component side. Use non-magnetic hardware.
| Hole | X (mm) | Y (mm) | Diameter | Use |
|---|---|---|---|---|
| 1 | 5.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 2 | 35.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 3 | 5.00 | 35.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 4 | 35.00 | 35.00 | 3.2 mm, not plated | Mounting, M3 screw |
Every figure is a design value, a calculated or simulated value, or a manufacturer’s data sheet value, as the last column says. A dash means no figure is given.
| Parameter | Applies to | Lower | Nominal | Upper | Basis |
|---|---|---|---|---|---|
| Supply | J1 contact 1 | 2.4 V | 3.3 V | 3.6 V | Bosch data sheet |
| Supply current allowance | 3.3 V | — | — | 25 mA | Design allowance |
| Pull-up current, both lines low | 3.3 V | — | 2.0 mA | — | Calculated |
| Rise time, one pull-up set, 100 pF | SDA, SCL | — | 280 ns | 300 ns | Simulated; limit for 400 kHz |
| Low level, two pull-up sets | SDA, SCL | — | 0.12 V | 0.4 V | Simulated |
| Part | Limit | Use on this board |
|---|---|---|
| Any signal | 3.6 V maximum | Do not connect 5 V logic |
| Capacitors | 10 V and 16 V | 3.3 V |
The I2C bus loading was simulated with ngspice with 100 pF of bus capacitance.
| Result | Simulated value | Limit | Outcome |
|---|---|---|---|
| Rise time 30 to 70 %, one pull-up set, 100 pF (400 kHz limit 300 ns) | 280 ns | at most 300 ns | Within |
| Rise time with two pull-up sets | 140 ns | at most 300 ns | Within |
| Low level with two pull-up sets | 116 mV | at most 400 mV | Within |
Not simulated: the sensor, its fusion and magnetic disturbance.
The first page of the sensor data sheet. Click the page to open the PDF.
See all boards on the extension boards page.