{{ 'fb_in_app_browser_popup.desc' | translate }} {{ 'fb_in_app_browser_popup.copy_link' | translate }}
{{ 'in_app_browser_popup.desc' | translate }}
{{word('consent_desc')}} {{word('read_more')}}
{{setting.description}}
{{ childProduct.title_translations | translateModel }}
{{ getChildVariationShorthand(childProduct.child_variation) }}
{{ getSelectedItemDetail(selectedChildProduct, item).childProductName }} x {{ selectedChildProduct.quantity || 1 }}
{{ getSelectedItemDetail(selectedChildProduct, item).childVariationName }}
MPU-9250 nine-axis module combining gyroscope, accelerometer and magnetometer
Supply 3.3V to 5V | I2C / SPI | Gyro +/-250 to +/-2000 deg/s | Accel +/-2 to +/-16g | Magnetic +/-4800uT
Includes 4-pin cable, jumper adapter cable, 1x10 pin header, Arduino example code
滿千免運優惠(限郵寄和超商純取貨) on order
本賣場無實體店面,無提供自取服務,敬請見諒。 on order
Not enough stock.
Your item was not added to your cart.
Not enough stock.
Please adjust your quantity.
{{'products.quick_cart.out_of_number_hint'| translate}}
{{'product.preorder_limit.hint'| translate}}
Limit {{ product.max_order_quantity }} per order.
Only {{ quantityOfStock }} item(s) left.
九軸感測器模組可感測具備三軸陀螺儀、加速計與磁力計,陀螺儀可以測定角度,加速計可以測定運動時的加速度,磁力計又稱電子羅盤能感測方位。大多用於製作無人機或是平衡車,也能製作運動檢測器或加裝在小車上辨別方向。
【範例說明】
本範例使用 Arduino Uno Rev3(原裝) ,連接Circus MPU9250九軸感測器模組,每 500 毫秒讀取一次三軸加速度、陀螺儀與磁力。
使用設備
本範例使用之程式庫為 「MPU9250_asukiaaa」,可至Arduino IDE內的管理程式庫搜尋並安裝。
本程式庫已給定類比訊號腳位,因此本範例使用之類比訊號腳位為「A4」與「A5」腳位。
【電路圖】

Arduino 程式撰寫範例
本撰寫範例將會有兩個步驟
1. 安裝程式庫
2. 程式碼撰寫
1. 安裝程式庫
1-1. 確認網路是否已連線到網際網路。
1-2. 開啟 Arduino 的 IDE 介面後,請到上方的功能選項中,點選 「草稿碼」-> 「匯入程式庫」-> 「管理程式庫」。

1-3. 在搜尋欄位中,輸入 「MPU9250_asukiaaa」,找到該項目後便可點擊「安裝」按鈕,開始安裝程式庫。

2. 程式碼撰寫
| 供電電壓 | 3.3 ~ 5V DC |
| 感測元件 | MPU-9250 |
| 通信方式 | 標準IIC/SPI通信協定 |
| 陀螺儀範圍 | ±250 500 1000 2000 °/s |
| 加速度範圍 | ±2±4±8±16g |
| 磁場範圍 | ±4800uT |