A test project to illustrate how to use the BNO055 sensor with the FRC control system.
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/org/team2168
.classpath Initial port of Adafruit BNO055 arduino library to Java. Oct 6, 2015
.gitignore
.project
Adafruit_Board.jpg
BNO055_Xplained_Pro.jpg
BST_BNO055_DS000_12.pdf Archive coopy of documentation Jan 3, 2016
LICENSE Initial commit Oct 6, 2015
README.md Update README.md Jan 10, 2016
build.properties
build.xml Initial port of Adafruit BNO055 arduino library to Java. Oct 6, 2015

README.md

BNO055_FRC

A test project to illustrate how to use the BNO055 sensor (datasheet pdf) with the FRC control system.

This code is a port of the Adafruit BNO055 arduino library. At the time of writing, this sensor was available from:

  • $35 + S/H: Adafruit
  • $35 + S/H: digikey
  • $40 + $3 S/H (prime eligible): Amazon
  • $21 + S/H: The Atmel breakout board at digikey will also work. - Sparse documentation (pdf)

Wiring

The demo code assumes you've wired the sensor to the I2C port on the roboRio, just below the CAN connector. And that the sensor is at I2C address 0x28 (This is the default for the Adafruit board. Pin 5 needs to be wired as noted below for the Atmel board).

roboRio Pin (I2C header) Adafruit Breakout Board Pin Atmel Breakout Board Pin
3.3V Vin 20
GND GND 19
SDA SDA 11
SCL SCL 12
Also connect pin 5 to GND (to set I2C address to 0x28).

More information on the pinouts for the BNO055 breakout boards can be found here:

Video Demos

Coming soon.