本篇是將MPU6050六軸感測器利用Bluetooth(HC-06)與Android App傳遞訊息,

這一個範例傳的是MPU6050的Yaw, Pitch, Roll數值, 使用Arduino mega 2560做資料擷取Android App是用App Inventor開發。

此範例花了許多時間在解決藍牙傳輸浮點數(floating point)數據到Android手機端後,

App Inventor如何處理浮點數數據並顯示出來。

 

贊助本篇的人,將會得到:

1. Arduino程式碼

2. App Inventor 2藍牙相關的程式碼

3. 程式碼使用教學影片

 

> MPU6050的相關影片

1. [Arduino] Acquisition of MPU6050 raw data by using Mega2560/使用Mega2560擷取MPU6050原始資料

2. [Arduino] Acquisition of MPU6050 raw data by using Mega2560/使用Mega2560擷取MPU6050原始資料

3. [Arduino]Transmit ypr data of MPU6050 to App vis HC06/將MPU6050的ypr的資料經由HC06傳輸到手機App上

arrow
arrow

    fishark 發表在 痞客邦 留言(5) 人氣()