Lucas Murray ME 305 Portfolio
Classes | Variables
I2C.py File Reference

A driver that runs and controls a BNO055 IMU. More...

Classes

class  I2C.BNO055
 A BNO055 IMU object that communicates with a microcontroller through an I2C. More...
 

Variables

 I2C.driver = BNO055()
 

Detailed Description

A driver that runs and controls a BNO055 IMU.

The driver class instantiates a driver that can instantiate and control an BNO055 Inertial Measurement Unit (IMU) and calibrate it. The driver uses the pyb library functionality for I2C serial communication ports to read the calibration status and either set the coefficients from an already written file or write a new calibration file. The I2C class will update the euler angles and angular velocity read and converted from the relevant IMU registers.


Source Code: https://bitbucket.org/lmurray03/me305_lucas_murray/src/master/Lab%200x05/I2C.py

Author
Lucas Murray
Max Cassady
Date
March 3, 2022