ME 405
IMU_Test.py File Reference

A test script for the Bosch BNO055 IMU @detials This script streams csv pitch and roll data from a BNO055 IMU using UART. More...

Namespaces

 IMU_Test
 

Variables

 IMU_Test.uart = pyb.UART(2)
 Creates UART object for sending serial data. More...
 
 IMU_Test.i2c = I2C(-1, scl=Pin('PB8'), sda=Pin('PB9'), freq=115200)
 Initializes the I2C bus. More...
 
 IMU_Test.start_time = utime.ticks_us()
 Start time of the data collection. More...
 
 IMU_Test.imu = BNO055(i2c)
 Initializes the bno055 driver using the I2C object. More...
 
 IMU_Test.curr_time = utime.ticks_us()
 
int IMU_Test.time = utime.ticks_diff(curr_time, start_time)/1e6
 
 IMU_Test.eulr = imu.euler()
 
 IMU_Test.omga = imu.gyro()
 

Detailed Description

A test script for the Bosch BNO055 IMU @detials This script streams csv pitch and roll data from a BNO055 IMU using UART.

It is designed to be read using Serial Oscilloscope.

Author
Enoch Nicholson
Date
March 09, 2021