How to connect GPS and and accelerometer and the same time?Home › Forums › Forums › Technical Support for BerryGPS and BerryGPS-IMU › How to connect GPS and and accelerometer and the same time?This topic has 3 replies, 2 voices, and was last updated 1 year, 7 months ago by Renaldonson.Viewing 4 posts - 1 through 4 (of 4 total)AuthorPosts February 9, 2022 at 6:59 am #17145 RenaldonsonParticipantI´m trying to connect the GPS and the accelerometer at the same time how can i do this? Or if its a guide to do it where can i find it? Thanks. February 9, 2022 at 12:51 pm #17168 Mark WilliamsKeymasterthis is possible. You would use GPSMON to read the GPS data; https://ozzmaker.com/berrygps-setup-guide-raspberry-pi/ And then you would use Python to read the accelerometer using the I2C interface; https://ozzmaker.com/berryimu/Mark --OzzMaker.com -- February 12, 2022 at 8:41 am #17174 RenaldonsonParticipantThanks a lot for the response.Another question, is there a post where can I see how to get the YAW measure or how to calculated. February 12, 2022 at 10:04 am #17175 RenaldonsonParticipantI’m calculating the YAW with this equation:yaw = 180 * math.atan2(-MAGy,MAGx)/M_PIWhere MAGy and MAGx is the magnetometer value.I don´t know if this is the correct way.AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)You must be logged in to reply to this topic.Log In Username: Password: Keep me signed in Log In