Skip to content

[Feature] Build HAT IMU support #2479

@dlech

Description

@dlech

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededhub: buildhatIssues related to the Raspberry Pi Build HATsoftware: pybricks-micropythonIssues with Pybricks MicroPython firmware (or EV3 runtime)topic: imuIssues related to IMU/gyro/accelerometer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions