{"id":18058,"date":"2020-12-08T07:49:18","date_gmt":"2020-12-08T07:49:18","guid":{"rendered":"https:\/\/electropeak.com\/learn\/?p=18058"},"modified":"2024-03-28T06:01:11","modified_gmt":"2024-03-28T06:01:11","slug":"interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino","status":"publish","type":"post","link":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/","title":{"rendered":"Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"18058\" class=\"elementor elementor-18058\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-03ec7bc elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"03ec7bc\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9c6f06e\" data-id=\"9c6f06e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3d6ac690 elementor-widget elementor-widget-heading\" data-id=\"3d6ac690\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">MPU9250 + BMP280 Module Features<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-19c482f5 elementor-widget elementor-widget-text-editor\" data-id=\"19c482f5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This IMU module is a small board which all the sensors required for 10 degrees of freedom are placed in. This module communicates with the Arduino or microcontrollers via the <b>I2C interface.<\/b>\u00a0Using the existing FreeIMU functions and source code, you can easily use this IMU as an AHRS system in flight controls. You can use this module in VTOLs, model airplanes, UAVS, and also industrial and medical devices.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-30de2575 elementor-widget elementor-widget-image\" data-id=\"30de2575\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"GY91-IMU-1\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgwNjcsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIwXC8xMVwvR1k5MS1JTVUtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-1.jpg\" class=\"attachment-large size-large wp-image-18067\" alt=\"MPU9250 + BMP280 Module\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-1.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-1-400x400.jpg 400w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-72adb5c8 elementor-widget elementor-widget-heading\" data-id=\"72adb5c8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">GY-91 Module Pinout<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7154f478 elementor-widget elementor-widget-text-editor\" data-id=\"7154f478\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This sensor has 8 pins:<\/p><ul><li><strong>VIN: <\/strong>Module power supply \u2013 5 V<\/li><li><strong>GND:<\/strong> Ground<\/li><li><strong>3V3:<\/strong> Module power supply \u2013 3.3 V<\/li><li><strong>SLC:<\/strong> I2C Clock \/ SPI Clock<\/li><li><strong>SDA<\/strong>: I2C data \/ MOSI pin for SPI<\/li><li><strong>SAO\/SDO: <\/strong>Address adjust pin for I2C \/ MISO pin for SPI<\/li><li><strong>NCS: <\/strong>Chip Select pin only for MPU-9250 sensor<\/li><li><strong>CSB<\/strong>: Chip Select pin only for BMP280 sensor<\/li><\/ul><p>You can see pinout of this module in the image below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6ce3095d elementor-widget elementor-widget-image\" data-id=\"6ce3095d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-Pin.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"GY91-IMU-Pin\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgwNjgsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIwXC8xMVwvR1k5MS1JTVUtUGluLmpwZyJ9\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-Pin.jpg\" class=\"attachment-large size-large wp-image-18068\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-Pin.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-Pin-533x400.jpg 533w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1e5c6af elementor-widget elementor-widget-text-editor\" data-id=\"1e5c6af\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>You can download the datasheet of this module here.<\/p><p><div class='w3eden wpdm_package_shortcode'><!-- WPDM Link Template: Call to Action 3 -->\n\n<div class=\"well c2a3\">\n    <div class=\"media\">\n        <div class=\"mr-3\" align=\"left\">\n            <img decoding=\"async\" class=\"wpdm_icon\" alt=\"Icon\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/plugins\/download-manager\/assets\/file-type-icons\/pdf.svg\" \/>\n        <\/div>\n        <div class=\"media-body\">\n            <h3 class=\"media-heading\" style=\"padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;\">\n                <a style=\"font-weight: 700\" href=\"https:\/\/electropeak.com\/learn\/download\/mpu-datasheet\/\">MPU Datasheet<\/a>\n                <span style=\"font-size:8pt;font-weight:300\" class=\"text-muted ml-4\">\n                    <i class=\"fas fa-hdd mr-1\"><\/i> 939.94 KB\n                    <i class=\"ml-3 far fa-arrow-alt-circle-down mr-1\"><\/i> 3092 downloads\n                <\/span>\n            <\/h3>\n            &#8230;\n        <\/div>\n        <div class=\"ml-3\" align=\"right\">\n            <a class='wpdm-download-link download-on-click btn btn-primary '  rel='nofollow' href='#' data-downloadurl=\"https:\/\/electropeak.com\/learn\/download\/mpu-datasheet\/?wpdmdl=18072&#038;refresh=6aaa88e1bb46a1789561057\">Download<\/a>\n        <\/div>\n    <\/div>\n\n<\/div>\n<style>\n    .well.c2a3 .btn {\n        padding: 11px 30px;\n        font-size: 11pt;\n    }\n\n    .well.c2a3 .media-body {\n        font-size: 11pt;\n    }\n\n    .well.c2a3 .wpdm_icon {\n        height: 42px;\n        width: auto;\n    }<\/style>\n<\/div><\/p><p><div class='w3eden wpdm_package_shortcode'><!-- WPDM Link Template: Call to Action 3 -->\n\n<div class=\"well c2a3\">\n    <div class=\"media\">\n        <div class=\"mr-3\" align=\"left\">\n            <img decoding=\"async\" class=\"wpdm_icon\" alt=\"Icon\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/plugins\/download-manager\/assets\/file-type-icons\/pdf.svg\" \/>\n        <\/div>\n        <div class=\"media-body\">\n            <h3 class=\"media-heading\" style=\"padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;\">\n                <a style=\"font-weight: 700\" href=\"https:\/\/electropeak.com\/learn\/download\/bmp280-datasheet\/\">BMP280 Datasheet<\/a>\n                <span style=\"font-size:8pt;font-weight:300\" class=\"text-muted ml-4\">\n                    <i class=\"fas fa-hdd mr-1\"><\/i> 1.42 MB\n                    <i class=\"ml-3 far fa-arrow-alt-circle-down mr-1\"><\/i> 1755 downloads\n                <\/span>\n            <\/h3>\n            &#8230;\n        <\/div>\n        <div class=\"ml-3\" align=\"right\">\n            <a class='wpdm-download-link download-on-click btn btn-primary '  rel='nofollow' href='#' data-downloadurl=\"https:\/\/electropeak.com\/learn\/download\/bmp280-datasheet\/?wpdmdl=18073&#038;refresh=6aaa88e1c4ef81789561057\">Download<\/a>\n        <\/div>\n    <\/div>\n\n<\/div>\n<style>\n    .well.c2a3 .btn {\n        padding: 11px 30px;\n        font-size: 11pt;\n    }\n\n    .well.c2a3 .media-body {\n        font-size: 11pt;\n    }\n\n    .well.c2a3 .wpdm_icon {\n        height: 42px;\n        width: auto;\n    }<\/style>\n<\/div><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6292b100 elementor-widget elementor-widget-heading\" data-id=\"6292b100\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Required Materials<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6503e8e6 elementor-widget elementor-widget-image\" data-id=\"6503e8e6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-Required-Materials.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"GY91-IMU-Required-Materials\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgwNjksInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIwXC8xMVwvR1k5MS1JTVUtUmVxdWlyZWQtTWF0ZXJpYWxzLmpwZyJ9\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"600\" height=\"500\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-Required-Materials.jpg\" class=\"attachment-large size-large wp-image-18069\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-Required-Materials.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-Required-Materials-480x400.jpg 480w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7b4403d6 elementor-widget elementor-widget-heading\" data-id=\"7b4403d6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Hardware Components<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-68727b13 elementor-widget elementor-widget-html\" data-id=\"68727b13\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\">\r\n<tbody>\r\n\r\n<tr>\r\n\t<td width=\"70%\">Arduino UNO R3 \r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/electropeak.com\/arduino-uno-r3-original\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">MPU9250 + BMP280  Module\r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/electropeak.com\/gy-91-mpu9250-bmp280-10dof-gyro-compass-9-axis-sensor-module\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">Male to Female jumper wire \r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/electropeak.com\/21cm-40p-male-to-female-jumper-wire\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7b6dffb2 elementor-widget elementor-widget-heading\" data-id=\"7b6dffb2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Software Apps<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4abea438 elementor-widget elementor-widget-html\" data-id=\"4abea438\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\">\r\n<tbody>\r\n\r\n<tr>\r\n\t<td width=\"90%\">Arduino IDE<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" target=\"_blank\"><i class=\"fa fa-info\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n\r\n\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1e4b666f elementor-widget elementor-widget-heading\" data-id=\"1e4b666f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Interfacing GY-91 Module with Arduino<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dd44bee elementor-widget elementor-widget-heading\" data-id=\"dd44bee\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Step 1: Circuit<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-19883e36 elementor-widget elementor-widget-text-editor\" data-id=\"19883e36\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The following circuit shows how you should connect Arduino to this module. Connect wires accordingly.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3d7f2f2b elementor-widget elementor-widget-image\" data-id=\"3d7f2f2b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-wire.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"GY91-IMU-wire\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgwNzAsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIwXC8xMVwvR1k5MS1JTVUtd2lyZS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-wire.jpg\" class=\"attachment-large size-large wp-image-18070\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-wire.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-wire-533x400.jpg 533w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-wire-768x576.jpg 768w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-wire-400x300.jpg 400w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-523427bd elementor-widget elementor-widget-heading\" data-id=\"523427bd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Step 2: Code<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-255e6dfa elementor-widget elementor-widget-text-editor\" data-id=\"255e6dfa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Install the following library on your Arduino.<\/p><p><a href=\"https:\/\/github.com\/adafruit\/Adafruit_BMP280_Library\">https:\/\/github.com\/adafruit\/Adafruit_BMP280_Library<\/a><\/p><p><a href=\"https:\/\/github.com\/asukiaaa\/MPU9250_asukiaaa\">https:\/\/github.com\/asukiaaa\/MPU9250_asukiaaa<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-1652d554 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1652d554\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-2518be46\" data-id=\"2518be46\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-43b9e929 elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"43b9e929\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"far fa-lightbulb\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-389655e4 elementor-widget elementor-widget-heading\" data-id=\"389655e4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Tip<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-26b2fd7a elementor-widget elementor-widget-text-editor\" data-id=\"26b2fd7a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>If you need more help with installing a library on Arduino, read this tutorial:\u00a0<a href=\"https:\/\/electropeak.com\/learn\/how-to-install-an-arduino-library\/\"><em>How to Install an Arduino Library<\/em><\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-4e4d7e92 elementor-widget elementor-widget-text-editor\" data-id=\"4e4d7e92\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Upload the following code to your Arduino.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-78456344 elementor-widget elementor-widget-text-editor\" data-id=\"78456344\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>After uploading the code, by moving the module, you can see the output in the serial monitor.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1c2b7034 elementor-widget elementor-widget-html\" data-id=\"1c2b7034\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre class=\"line-numbers lang-arduino\"><code>    \/*\r\n  by MohammedDamirchi\r\n  https:\/\/electropeak.com\/learn\/\r\n*\/\r\n#include &lt;MPU9250_asukiaaa.h&gt;\r\n#include &lt;Adafruit_BMP280.h&gt;\r\n\r\n#ifdef _ESP32_HAL_I2C_H_\r\n#define SDA_PIN 21\r\n#define SCL_PIN 22\r\n#endif\r\n\r\nAdafruit_BMP280 bme; \/\/ I2C\r\nMPU9250_asukiaaa mySensor;\r\nfloat aX, aY, aZ, aSqrt, gX, gY, gZ, mDirection, mX, mY, mZ;\r\n\r\nvoid setup() {\r\n  Serial.begin(115200);\r\n  while (!Serial);\r\n\r\n#ifdef _ESP32_HAL_I2C_H_ \/\/ For ESP32\r\n  Wire.begin(SDA_PIN, SCL_PIN);\r\n  mySensor.setWire(&Wire);\r\n#else\r\n  Wire.begin();\r\n  mySensor.setWire(&Wire);\r\n#endif\r\n\r\n  bme.begin();\r\n  mySensor.beginAccel();\r\n  mySensor.beginGyro();\r\n  mySensor.beginMag();\r\n\r\n  \/\/ You can set your own offset for mag values\r\n  \/\/ mySensor.magXOffset = -50;\r\n  \/\/ mySensor.magYOffset = -55;\r\n  \/\/ mySensor.magZOffset = -10;\r\n}\r\n\r\nvoid loop() {\r\n\r\n  if (mySensor.accelUpdate() == 0) {\r\n    aX = mySensor.accelX();\r\n    aY = mySensor.accelY();\r\n    aZ = mySensor.accelZ();\r\n    aSqrt = mySensor.accelSqrt();\r\n    Serial.print(&quot;accelX: &quot; + String(aX));\r\n    Serial.print(&quot;\\taccelY: &quot; + String(aY));\r\n    Serial.print(&quot;\\taccelZ: &quot; + String(aZ));\r\n    Serial.print(&quot;\\taccelSqrt: &quot; + String(aSqrt));\r\n  }\r\n\r\n  if (mySensor.gyroUpdate() == 0) {\r\n    gX = mySensor.gyroX();\r\n    gY = mySensor.gyroY();\r\n    gZ = mySensor.gyroZ();\r\n    Serial.print(&quot;\\tgyroX: &quot; + String(gX));\r\n    Serial.print(&quot;\\tgyroY: &quot; + String(gY));\r\n    Serial.print(&quot;\\tgyroZ: &quot; + String(gZ));\r\n  }\r\n\r\n  if (mySensor.magUpdate() == 0) {\r\n    mX = mySensor.magX();\r\n    mY = mySensor.magY();\r\n    mZ = mySensor.magZ();\r\n    mDirection = mySensor.magHorizDirection();\r\n    Serial.print(&quot;\\tmagX: &quot; + String(mX));\r\n    Serial.print(&quot;\\tmaxY: &quot; + String(mY));\r\n    Serial.print(&quot;\\tmagZ: &quot; + String(mZ));\r\n    Serial.print(&quot;\\thorizontalDirection: &quot; + String(mDirection));\r\n  }\r\n\r\n  Serial.print(&quot;\\tTemperature(*C): &quot;);\r\n  Serial.print(bme.readTemperature());\r\n\r\n  Serial.print(&quot;\\tPressure(Inches(Hg)): &quot;);\r\n  Serial.print(bme.readPressure()\/3377);\r\n\r\n\r\n  Serial.print(&quot;\\tApproxAltitude(m): &quot;);\r\n  Serial.print(bme.readAltitude(1013.25)); \/\/ this should be adjusted to your local forcase\r\n\r\n  Serial.println(&quot;&quot;); \/\/ Add an empty line\r\n  }\r\n<\/code><\/pre>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-419828aa elementor-widget elementor-widget-image\" data-id=\"419828aa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-CJMCU-9-AXIS-IMU-serial.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"GY91-IMU-CJMCU 9-AXIS IMU-serial\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgwNzEsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIwXC8xMVwvR1k5MS1JTVUtQ0pNQ1UtOS1BWElTLUlNVS1zZXJpYWwuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"435\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-CJMCU-9-AXIS-IMU-serial.jpg\" class=\"attachment-large size-large wp-image-18071\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-CJMCU-9-AXIS-IMU-serial.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-CJMCU-9-AXIS-IMU-serial-600x326.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/GY91-IMU-CJMCU-9-AXIS-IMU-serial-768x418.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>MPU9250 + BMP280 Module Features This IMU module is a small board which all the sensors required for 10 degrees of freedom are placed in. This module communicates with the Arduino or microcontrollers via the I2C interface.\u00a0Using the existing FreeIMU functions and source code, you can easily use this IMU as an AHRS system in [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":19020,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[932],"tags":[4463,4445,4460,4446,4462],"platform":[1071],"bytype":[1075],"difficulty":[1077],"related_products":[3820],"class_list":["post-18058","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sensors","tag-accelerometer","tag-angle","tag-atmospheric-pressure-altitude","tag-magnetic-compass","tag-temperature","platform-arduino","bytype-hookup-guides","difficulty-beginner","related_products-sen-02-004"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino -<\/title>\n<meta name=\"description\" content=\"Learn How to interface GY-91 MPU9250 + BMP280 Module with Arduino. using GY-91 Module example code, circuit, pinout library Tuttorial\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino -\" \/>\n<meta property=\"og:description\" content=\"Learn How to interface GY-91 MPU9250 + BMP280 Module with Arduino. using GY-91 Module example code, circuit, pinout library Tuttorial\" \/>\n<meta property=\"og:url\" content=\"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/\" \/>\n<meta property=\"og:site_name\" content=\"Electropeak\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-08T07:49:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-28T06:01:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/sen-02-004-teaser.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mohammad Damirchi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mohammad Damirchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/\"},\"author\":{\"name\":\"Mohammad Damirchi\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/person\\\/391776cde87ca107a152ca4dd9440a54\"},\"headline\":\"Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino\",\"datePublished\":\"2020-12-08T07:49:18+00:00\",\"dateModified\":\"2024-03-28T06:01:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/\"},\"wordCount\":276,\"commentCount\":26,\"publisher\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/sen-02-004-teaser.jpg\",\"keywords\":[\"Accelerometer\",\"Angle\",\"Atmospheric Pressure &amp; Altitude\",\"Magnetic &amp; Compass\",\"Temperature\"],\"articleSection\":[\"Sensors\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/\",\"name\":\"Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/sen-02-004-teaser.jpg\",\"datePublished\":\"2020-12-08T07:49:18+00:00\",\"dateModified\":\"2024-03-28T06:01:11+00:00\",\"description\":\"Learn How to interface GY-91 MPU9250 + BMP280 Module with Arduino. using GY-91 Module example code, circuit, pinout library Tuttorial\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/#primaryimage\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/sen-02-004-teaser.jpg\",\"contentUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/sen-02-004-teaser.jpg\",\"width\":1200,\"height\":900},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#website\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/\",\"name\":\"Electropeak\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#organization\",\"name\":\"ElectroPeak\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/logo-electropeak-v3-square.png\",\"contentUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/logo-electropeak-v3-square.png\",\"width\":620,\"height\":620,\"caption\":\"ElectroPeak\"},\"image\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/person\\\/391776cde87ca107a152ca4dd9440a54\",\"name\":\"Mohammad Damirchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/928d6214054264c2b2445ff4978f9d918bf0242f1f75bde6cc141a8636e4c3b5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/928d6214054264c2b2445ff4978f9d918bf0242f1f75bde6cc141a8636e4c3b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/928d6214054264c2b2445ff4978f9d918bf0242f1f75bde6cc141a8636e4c3b5?s=96&d=mm&r=g\",\"caption\":\"Mohammad Damirchi\"},\"sameAs\":[\"mohammad\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino -","description":"Learn How to interface GY-91 MPU9250 + BMP280 Module with Arduino. using GY-91 Module example code, circuit, pinout library Tuttorial","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/","og_locale":"en_US","og_type":"article","og_title":"Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino -","og_description":"Learn How to interface GY-91 MPU9250 + BMP280 Module with Arduino. using GY-91 Module example code, circuit, pinout library Tuttorial","og_url":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/","og_site_name":"Electropeak","article_published_time":"2020-12-08T07:49:18+00:00","article_modified_time":"2024-03-28T06:01:11+00:00","og_image":[{"width":1200,"height":900,"url":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/sen-02-004-teaser.jpg","type":"image\/jpeg"}],"author":"Mohammad Damirchi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mohammad Damirchi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/#article","isPartOf":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/"},"author":{"name":"Mohammad Damirchi","@id":"https:\/\/electropeak.com\/learn\/#\/schema\/person\/391776cde87ca107a152ca4dd9440a54"},"headline":"Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino","datePublished":"2020-12-08T07:49:18+00:00","dateModified":"2024-03-28T06:01:11+00:00","mainEntityOfPage":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/"},"wordCount":276,"commentCount":26,"publisher":{"@id":"https:\/\/electropeak.com\/learn\/#organization"},"image":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/#primaryimage"},"thumbnailUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/sen-02-004-teaser.jpg","keywords":["Accelerometer","Angle","Atmospheric Pressure &amp; Altitude","Magnetic &amp; Compass","Temperature"],"articleSection":["Sensors"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/","url":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/","name":"Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino -","isPartOf":{"@id":"https:\/\/electropeak.com\/learn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/#primaryimage"},"image":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/#primaryimage"},"thumbnailUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/sen-02-004-teaser.jpg","datePublished":"2020-12-08T07:49:18+00:00","dateModified":"2024-03-28T06:01:11+00:00","description":"Learn How to interface GY-91 MPU9250 + BMP280 Module with Arduino. using GY-91 Module example code, circuit, pinout library Tuttorial","breadcrumb":{"@id":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/#primaryimage","url":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/sen-02-004-teaser.jpg","contentUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2020\/11\/sen-02-004-teaser.jpg","width":1200,"height":900},{"@type":"BreadcrumbList","@id":"https:\/\/electropeak.com\/learn\/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/electropeak.com\/learn\/"},{"@type":"ListItem","position":2,"name":"Interfacing GY-91 (9-axis MPU9250 + BMP280) Module with Arduino"}]},{"@type":"WebSite","@id":"https:\/\/electropeak.com\/learn\/#website","url":"https:\/\/electropeak.com\/learn\/","name":"Electropeak","description":"","publisher":{"@id":"https:\/\/electropeak.com\/learn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/electropeak.com\/learn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/electropeak.com\/learn\/#organization","name":"ElectroPeak","url":"https:\/\/electropeak.com\/learn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/electropeak.com\/learn\/#\/schema\/logo\/image\/","url":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2026\/07\/logo-electropeak-v3-square.png","contentUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2026\/07\/logo-electropeak-v3-square.png","width":620,"height":620,"caption":"ElectroPeak"},"image":{"@id":"https:\/\/electropeak.com\/learn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/electropeak.com\/learn\/#\/schema\/person\/391776cde87ca107a152ca4dd9440a54","name":"Mohammad Damirchi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/928d6214054264c2b2445ff4978f9d918bf0242f1f75bde6cc141a8636e4c3b5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/928d6214054264c2b2445ff4978f9d918bf0242f1f75bde6cc141a8636e4c3b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/928d6214054264c2b2445ff4978f9d918bf0242f1f75bde6cc141a8636e4c3b5?s=96&d=mm&r=g","caption":"Mohammad Damirchi"},"sameAs":["mohammad"]}]}},"_links":{"self":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts\/18058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/comments?post=18058"}],"version-history":[{"count":17,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts\/18058\/revisions"}],"predecessor-version":[{"id":29323,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts\/18058\/revisions\/29323"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/media\/19020"}],"wp:attachment":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/media?parent=18058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/categories?post=18058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/tags?post=18058"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/platform?post=18058"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/bytype?post=18058"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/difficulty?post=18058"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/related_products?post=18058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}