many improvements to the i2c and sensor data