Connect MtConnect03 with nRF51 DK

The nRF51 DK board supports programming and debugging of external boards. To debug an external board, follow the instruction that extract from Nordic nRF51 Development Kit User Guide v1.0.


5.10 Debug output

The nRF51 DK board supports programming and debugging of external boards. To debug an external board, connect to the Debug out (P19) connector with a 10 pin cable.

螢幕快照 2015-12-09 下午6.18.10When the external board is powered, the interface MCU will detect the supply voltage of the board and program/debug the target chip on external board instead of the on-board nRF51422.

Note: The voltage supported by external debugging/programming is 3.0 V.

The P20 also features a debug out connection in order to program shield mounted targets, as for the Debug out P19 header the Interface MCU will detect the supply voltage on the mounted shield and program/ debug the shield target.

If the Interface MCU detects target power on both P19 and P20 it will default to program/debug the target connected to P19


As bottom picture to connect with MtConnect03 and nRF51 DK board. 螢幕快照 2015-12-09 下午6.25.04

 

用 MtConnect03 實作動作感應器

MtConnect03 包含 Nordic nRF51822、RGB led、加速度感應器及電子陀螺儀。接下來說明如何使用 nRF51822 讀取感應器的資料。

20151123_083701_HDR

Step 1. 需要準備的硬體,哪裡找?

在 Motion Sensor Starter Combo、Environment Sensor Starter Combo 的套件(規格)裡有 MtConnect03。可以連絡我們

第一步先將 MtConnect03 連到電腦,照著這篇指南做設定。

Step 2. 把軔體寫到 MtConnect03

⇣ 下載 ⇣

照著燒寫軔體的步驟,用剛剛下載的 mtconnect03_motion.hex 代替說明裡的 Application hex 檔,把軔體燒寫到 MtConnect03 上。

Step 3. 在 Android 手機上安裝 MotionDemo.apk 並執行

⇣ 下載 ⇣

第一個畫面會列出偵測到的 MtConnect03,名字是 MOTION_TEST。打開他就可以看到加速度感應器及陀螺儀的數值。完成
Screenshot_2015-12-03-15-52-04Screenshot_2015-12-03-15-42-06