support icon indicating copy to clipboard operation
support copied to clipboard

[Feature] Build HAT IMU support

Open dlech opened this issue 1 month ago • 0 comments

It appears that the Raspberry Pi Build HAT has an IMU (accelerometer and gyro) that is initialized but isn't otherwise used.

https://github.com/raspberrypi/buildhat/blob/19027849264d8839f7548713219a5982925dd885/firmware-pico/ports.c#L131-L135

If it is actually there on the board, we could use it in Pybricks. There is one caveat that it uses the same I2C bus as two of the four motor controllers. So reading data from the IMU will potentially add delay to updating motor outputs.

dlech avatar Dec 05 '25 02:12 dlech