Using MiniIMU-9 v5 for heading reference

You might try the RTIMULib AHRS. It works very well and I think it will work for that sensor – my experience with it is documented in this post: State of the art AHRS for $25